Commit Graph

2122 Commits

Author SHA1 Message Date
Jonathan Kew
e0c144a2cf Backed out changeset fc3b32b2f050 2010-08-11 18:47:48 +01:00
Jonathan Kew
5a6b86d70b bug 553963 - part 3 - don't reset glyph runs when falling back from uniscribe to GDI text shaping. r=jdaggett 2010-08-11 17:52:26 +01:00
Jonathan Kew
7bae49de6f bug 553963 - part 2 - make gfxFont handle text-shaping failure more robustly. r=roc 2010-08-11 17:52:23 +01:00
Jonathan Kew
cc017938e2 bug 553963 - part 1 - fix handling of overlong text runs in the uniscribe shaper. r=jdaggett 2010-08-11 17:52:21 +01:00
Justin Wood
eb068a8f7d bug 586187 - Build failure in LayerManagerD3D9 due to --disable-ipc not also defining Unicode, r=khuey a=bustage 2010-08-11 18:05:14 +02:00
Bas Schouten
a7370d6077 Bug 584539: Part 3 - Use D2D interop when using the D3D9 layer manager. r=vlad a=dougt 2010-08-11 02:36:05 +02:00
Bas Schouten
4a42a6b216 Bug 584539: Part 2 - Expose D2D surface creation from handle. r=jrmuizel 2010-08-11 02:36:03 +02:00
Bas Schouten
7d11db71da Bug 584539: Part 1 - Allow creating a D2D surface from a DirectX SharedHandle. r=jrmuizel 2010-08-11 02:36:01 +02:00
Bas Schouten
7432b914e6 Bug 580765: Support different compositing operations with D2D. Add cairo_d2d_device_t to make handling this easier. r=jrmuizel 2010-08-11 01:59:51 +02:00
Bas Schouten
07a4b6a535 Bug 580765: Allow const dereferencing for our cairo ref ptr. r=jrmuizel 2010-08-11 01:57:11 +02:00
Bas Schouten
aff9f5a0c8 Bug 580109: Optimize operations that can be executed as a GPU memcpy. r=jrmuizel a=dougt 2010-08-11 01:39:49 +02:00
Bas Schouten
1174dba84a Bug 584754: Use the D3D9Ex device where available. r=vlad 2010-08-11 01:39:45 +02:00
Bas Schouten
16fbc64865 Bug 585248: Use a single device for all LayerManagerD3D9's. r=vlad 2010-08-11 01:32:45 +02:00
Bas Schouten
7f066e30d5 Bug 578384: Clear to to transparent black instead of solid white. r=jrmuizel 2010-08-11 01:32:43 +02:00
Jim Mathies
a4b41e665b Bug 574454 - Add caption buttonbox css styles. r=dbaron. 2010-08-09 20:49:34 -05:00
Jim Mathies
fc610f459e Bug 574454 - Add window frame css styles. r=dbaron. 2010-08-09 20:49:34 -05:00
Matthew Gregan
54ebb950b0 Bug 577645 - Y'CbCr assembly uses movntq which is SSE, not MMX. Change runtime CPU detection to match. r=tterribe 2010-08-02 15:32:14 +12:00
Karl Tomlinson
7425141d4d b=579676 detect overflow when black and white images differ r=roc 2010-08-09 14:22:56 +12:00
Karl Tomlinson
31f02e5551 b=579676 use the same alpha recovery code for gfxWindowsNativeDrawing and gfxXlibNativeRenderer r=roc 2010-08-09 14:19:17 +12:00
Rich Walsh
720167ddcb Bug 580142 - [OS/2] Build break in gfxOS2Fonts r=mozilla@Weilbacher.org a=NPOTB 2010-08-07 17:35:33 +02:00
Mark Banner
3e1d731fd0 Mark GLContext::MarkDestroyed as THEBES_API to resolve link bustage in shared builds. r=Bustage fix. 2010-08-07 08:49:01 +01:00
Vladimir Vukicevic
51835ef8a6 b=583838; add ANGLE/D3D WebGL support - part 4 - allow CanvasLayerOGL to work with different-type GL contexts; r=bas 2010-08-06 22:09:18 -07:00
Vladimir Vukicevic
9636d54ad1 b=583838; add ANGLE/D3D WebGL support - part 3 - add support for finding ANGLE libs in an addon; r=sdwilsh 2010-08-06 22:09:18 -07:00
Vladimir Vukicevic
d362d738b4 b=583844; use correct pack alignment when reading via ReadPixels; also use EXT_bgra correctly; r=bjacob 2010-08-06 22:09:18 -07:00
Vladimir Vukicevic
c44e0d0074 b=583838; add ANGLE/D3D WebGL support - part 2 - build EGL on windows and try to use it; r=bjacob 2010-08-06 22:09:18 -07:00
Vladimir Vukicevic
34ff738268 b=574481; fix layers lifetime issues; part 4 - fix other layers; r=bas 2010-08-06 22:09:18 -07:00
Vladimir Vukicevic
03b79c9f14 b=574481; fix layers lifetime isues; part 3 - add lifetime mgmt to GL layers; r=bas 2010-08-06 22:09:18 -07:00
Vladimir Vukicevic
1b3227d6a9 b=574481; fix layers lifetime issues; part 2 - add some utils to GLContext; r=bas 2010-08-06 22:09:18 -07:00
Vladimir Vukicevic
2cdde897f8 b=574481; fix layers lifetime issues; part 1 - add API; r=roc 2010-08-06 22:09:17 -07:00
Jonathan Kew
f3accd92b1 bug 580863 - don't use CGFontGetUnitsPerEm with OpenType fonts, may result in incorrect glyph metrics for harfbuzz. r=jdaggett a=blocking2.0 2010-08-05 10:18:44 +01:00
Jonathan Kew
2340d242a4 bug 581087 - get true maxAdvance and aveCharWidth in DWrite font metrics. r=bas a=blocking2.0 2010-08-05 10:18:42 +01:00
Robert O'Callahan
052fa3ca37 Bug 522859. Handle unbounded cairo operators properly in the Quartz backend. r=jrmuizel,a=joe 2010-08-13 22:02:47 +12:00
Robert O'Callahan
a4ddd253a6 Bug 537890. Part 11: Introduce _TO_INT_TWIPS macros and have some _TO_TWIPS callers use _TO_INT_TWIPS instead. r=dbaron 2010-08-13 21:59:16 +12:00
Robert O'Callahan
f3efde653e Bug 537890. Part 10: Fix nsPresContext and nsIDeviceContext unit-conversion methods to be explicit about using CSS logical units instead of physical units. r=dbaron 2010-08-13 21:58:04 +12:00
Robert O'Callahan
973ebcc0ad Bug 537890. Part 4: Make points be a fixed number of CSS pixels. r=dbaron 2010-08-13 21:58:01 +12:00
Robert O'Callahan
21d0bce532 Bug 537890. Part 3: Remove gfxPlatform::GetDPI(). r=vlad 2010-08-13 21:58:01 +12:00
Robert O'Callahan
af7fdb42ac Bug 537890. Part 8: Define MM_PER_INCH_FLOAT. r=dbaron 2010-08-13 21:57:57 +12:00
Robert O'Callahan
8e26cbaebe Bug 537890. Part 1: Add nsIWidget::GetDPI and nsIWidget::GetDefaultScale and use them to set up device contexts. r=vlad,sr=dbaron 2010-08-13 21:57:48 +12:00
Jeff Muizelaar
ff12cb537d Bug 584400. cairo: Fix dash arrays with D2D
D2D unexpectedly uses dash lengths with
units of the line width.
2010-08-04 15:00:52 -04:00
Karl Tomlinson
ac5a6eaab0 b=583115 use XCopyArea for operator SOURCE with compatible COLOR_ALPHA surfaces to support simple overlapping self-copies r=jrmuizel
--HG--
extra : rebase_source : 201d9032b9dca80f71e154c68f0724e6826162eb
2010-08-03 13:26:27 +12:00
Jeff Muizelaar
3ba06c07be Bug 518172. cairo: Disable the previous_scaled_font cache. r=karlt
Rotated text was sometimes broken because there was a mismatch of
assumptions between cairo and Gecko about how important it was
for the ctm of a scaled_font to match the ctm of a context. This
temporarily fixes the problem by disabling the previous_scaled_font
cache with bug #583035 tracking a more permanent fix.
2010-08-02 10:00:21 -04:00
Robert O'Callahan
01e41cf67d Bug 579349. Track the 'drawn region' of content in layers, whhich ignores visibility, and use it to determine which layer a display item should be placed in. r=tnikkel 2010-08-02 15:06:58 +12:00
Kyle Huey
932ea79b49 Bug 522770: Link directly to object files instead of intermediate static libs. Patch originally written by Ted Mielczarek. Checking into a CLOSED TREE as a bustage fix. reviews pending.
--HG--
extra : rebase_source : 54a506a5815dcdedaf3f61ad7d6bdd0529d7f5f7
2010-08-01 01:48:21 -07:00
Vladimir Vukicevic
a17454d431 b=583375; update ANGLE to r367, forgot to regenerate parser; r=vlad 2010-07-31 12:04:26 -07:00
Robert Sayre
e015debe36 (b=583450, 583375) Fix ShaderLang.h bustage. Commas at the end of enum lists. 2010-07-31 00:01:14 -07:00
L. David Baron
9cc2e9ec05 Switch reftest manifests to new, shorter syntax for widget toolkit tests. (Bug 570329) a2.0=tests
This patch was created by running the following sed commands:
s/MOZ_WIDGET_TOOLKIT=="\(gtk2\|cocoa\|qt\|windows\)"/\1Widget/g
s/MOZ_WIDGET_TOOLKIT!="\(gtk2\|cocoa\|qt\|windows\)"/!\1Widget/g
on all *.list files in the tree.
2010-07-30 16:48:57 -07:00
Karl Tomlinson
b63f16d676 b=579736 use cairo_surface_create_similar in CreateSimilarSurface to create surfaces that support simple overlapping self-copies r=jrmuizel
--HG--
extra : rebase_source : c789d681825d8a4b22d7b3161ec476a5f85d73b2
2010-07-30 15:16:17 +12:00
Vladimir Vukicevic
a827c80a2f b=583375; update ANGLE to r367; r=vlad 2010-07-30 15:22:11 -07:00
Ginn Chen
ff09b88ca8 Bug 579856 Failed to build angle code with Sun Studio 12 r=vlad a=joedrew 2010-07-30 18:54:04 +08:00
Ginn Chen
9bf1029bf4 Bug 582189 Fix harfbuzz build issue with Sun Studio r=jfkthame a=joedrew 2010-07-30 18:52:55 +08:00
Bas Schouten
97a635578c Bug 583033: We should allow the function to continue for OPERATOR_CLEAR. r=jrmuizel a=blocking-betaN 2010-07-29 21:26:32 +02:00
Chris Jones
74fa6ec682 Followup to bug 573829: Clean up a chunk of .rej vomit that just so happened to be syntactically correct and not change semantics. r=vlad 2010-07-29 14:15:13 -05:00
Bas Schouten
580c850c94 Bug 581089: Make linear gradients work properly for zero length and different extend modes. r=jrmuizel a=blocking-betaN 2010-07-29 18:18:36 +02:00
Vladimir Vukicevic
97c8f5f185 b=582469; use high precision depth buffer if available (esp with FBOs); r=bjacob 2010-07-28 14:24:09 -07:00
Vladimir Vukicevic
74195c1120 b=580345; fix up some GLESv2 vs. desktop GL differences; r=joe 2010-07-28 14:24:09 -07:00
Bas Schouten
0e9fa1266a Bug 581089: Part 1: Fix radial gradient pattern handling when not using EXTEND_PAD. r=jrmuizel a=blocking-betaN 2010-07-28 18:53:20 +02:00
Bas Schouten
7645073e09 Bug 581083: Use Direct2D geometry to inverse transform which will preserve the required precision. r=jrmuizel a=blocking-betaN 2010-07-28 18:53:17 +02:00
Jonathan Kew
35b7157973 bug 575695 - [harfbuzz] fall back to truetype kern table if no kern feature in GPOS. r=jdaggett 2010-07-28 14:36:10 +01:00
Jonathan Kew
e2fbf5336f bug 575695 - support TrueType kerning in the harfbuzz font shaper backend. r=jdaggett 2010-07-28 14:36:07 +01:00
John Daggett
d34d0c5116 Bug 551871. Correct font-weight handling and add large set of font-weight reftests. r=jkew, a=joe 2010-07-28 14:30:21 +09:00
John Daggett
5ba57b18d4 Bug 577065. Force bitmap fonts to use Uniscribe shaper. r=jkew 2010-07-28 13:52:21 +09:00
John Daggett
ee0583c854 Bug 577065. Cleanup MapCharToGlyph parameter types. r=jkew 2010-07-28 13:00:38 +09:00
Ian Spence ext:(%2C%20Michael%20Monreal%20%3Cmichael.monreal%2Bmoz%40gmail.com%3E)
fefa76bb2b Bug 412773 - Implement -moz-appearance: button-arrow-up/down/next/previous and use them in the find bar and for expander buttons. r=roc, r=dao, ui-r=faaborg 2010-07-27 16:57:47 +02:00
Timothy Nikkel
ca833c302e Back out changeset ba9be0418b15 (bug 579963) because it didn't work. 2010-07-25 18:10:08 -05:00
Timothy Nikkel
e4e255253c Bug 579963. Don't inline nsPoint::ConvertAppUnits because it causes PGO builds on windows to be slower in some cases. r=bzbarsky 2010-07-25 13:08:16 -05:00
Benoit Girard
d757e4d425 Bug 580862 - Init gGlobalContext in GLContextProviderCGL. r=vlad 2010-07-24 20:10:58 -04:00
Benoit Girard
fa72189e5f Bug 575142 - qcms_transform_create should use transform_free. r=jmuizellar 2010-07-24 20:10:15 -04:00
Robert O'Callahan
348d1c7009 Bug 579262. Inherit FLAG_DESTINED_FOR_SCREEN into BasicLayer rendering. r=vlad 2010-07-24 21:37:17 +12:00
Robert O'Callahan
5eaac34d84 Bug 579250. Revamp unified-titlebar interface so that we can tell nsNativeThemeCocoa about toolbars even if they're not actually painted. r=mstange 2010-07-24 21:35:29 +12:00
Chris Jones
17ad7390de Followup to bug 570294: Avoid vector::data(), it's not C++98.
--HG--
extra : rebase_source : 66a38bee840b21251dd4cbfca370cf9294745ee3
2010-07-21 18:13:24 -05:00
Chris Jones
2074213503 Bug 570294, part j: Publish BasicThebesLayer pixels to remote processes (slowly). r=roc
--HG--
extra : rebase_source : bac63c2b868fd002f9b27c6836aaed3f95c5316d
2010-07-21 16:17:33 -05:00
Chris Jones
67cc02d87a Bug 570294, part i: Publish BasicImageLayer pixels to remote processes (slowly). r=Bas
--HG--
extra : rebase_source : 6a5749fd41cc8181531b7ad89867be8736dbe63b
2010-07-21 16:17:33 -05:00
Chris Jones
f698a6df6e Bug 570294, part h: Publish BasicCanvasLayer pixels to remote processes (slowly). sr=vlad
--HG--
extra : rebase_source : c113259f24d6f1c43583c729b7e996be01ed35bc
2010-07-21 16:17:33 -05:00
Chris Jones
015c13454b Bug 570294, part g: Implement basic ShadowLayers and share basic layers with remote processes. r=Bas sr=vlad
--HG--
extra : rebase_source : aca1e9e2ebb49f000bbe5116c04145f8aff8ac03
2010-07-21 16:17:33 -05:00
Chris Jones
f6a490c7cb Bug 570294, part f: Implement the "manager" side of IPC layers. r=vlad
--HG--
extra : rebase_source : 8c99ac9f20dd92ab8d1f8379d166339366be4c60
2010-07-21 16:17:33 -05:00
Chris Jones
1623d769fb Bug 570294, part e: Implement the "forwarder" side of IPC layers. r=jrmuizel
--HG--
extra : rebase_source : 43c9bd051ec500d08ebd7bce6767c1be36abcd26
2010-07-21 16:17:33 -05:00
Chris Jones
5277f4315f Bug 570294, part d: IPC protocol for Layers. r=jrmuizel sr=vlad
--HG--
extra : rebase_source : dba7175f08f4fe6df93f2a66622dc3780a1890ed
2010-07-21 16:17:33 -05:00
Chris Jones
1c983c1028 Bug 570294, part c: C++ part of Layers IPC interface. r=Bas sr=vlad
--HG--
extra : rebase_source : 12246bd29d0469630c406dea4b137e792002de57
2010-07-21 16:17:33 -05:00
Chris Jones
39d9d05491 Bug 570294, part b: Add a Mutated() API allowing Layers to notify their managers that their Layer attributes have changed. r=Bas sr=roc
--HG--
extra : rebase_source : e3b7714bb3083bcf30b08920ebce1a656d48798a
2010-07-21 16:17:33 -05:00
Karl Tomlinson
daf62b7225 b=576143 copy and draw over background to avoid alpha extraction when possible r=roc
--HG--
extra : rebase_source : 810293a95d07bc0f0a981466a596ccd0db8d389b
2010-07-23 10:39:22 +12:00
Karl Tomlinson
1094a22411 add a function to look for a Visual matching an image format b=576143 r=jrmuizel
--HG--
extra : rebase_source : bc38c8223dc91c2ec6a05a35e6ba43863c77dd7b
2010-07-23 10:28:56 +12:00
Karl Tomlinson
fb689d79eb b=580440 use native-rendering temp surfaces only as large as necessary r=roc a2.0=beltzner
--HG--
extra : rebase_source : 53788fe162ea7ef0c8b4190a08801cbd276e702b
2010-07-23 10:25:19 +12:00
Karl Tomlinson
fd17ad7b52 b=562574 fixes for cairo_copy_clip_rectangle_list and empty cairo_clip_extents r=jrmuizel
--HG--
extra : rebase_source : 7559cb07311c0328d62a625c631a6ab822934b0d
2010-07-23 10:22:51 +12:00
Chris Jones
5b23ead307 Bug 573829, part 4: Use GL_REPEAT and appropriate texcoords to render ThebesLayerOGL's pixels rotated correctly. r=vlad 2010-07-22 15:29:37 -05:00
Chris Jones
f9b7cff7a4 Bug 573829, part 3: Use ThebesLayerBuffer to retain contents for ASurface-backed TextureImages. r=vlad 2010-07-22 15:29:37 -05:00
Chris Jones
7d90dfc275 Bug 573829, part 2: Add TextureImage API for getting backing ASurface (if exists) and determining whether it's in an update. sr=vlad 2010-07-22 15:29:37 -05:00
Jonathan Kew
7a84bf29de Mark crashing test to be skipped on Linux for now, see bug 580962. a=test-only bustage 2010-07-22 11:14:53 +01:00
Jonathan Kew
a021339428 bug 580233 - hb sanitizer fix. r=jdaggett 2010-07-22 10:25:24 +01:00
Jonathan Kew
0f9e3604bd bug 580212 - loca table validation. r=jdaggett 2010-07-22 10:25:23 +01:00
Jonathan Kew
2fb90b25c6 bug 580100 - sanity-checking of hhea/hmtx tables. r=jdaggett 2010-07-22 10:25:23 +01:00
Jonathan Kew
2f92ddc5b8 bug 577380 - use Core Text shaping for fonts requiring AAT layout on Mac OS X. r=jdaggett 2010-07-22 10:25:21 +01:00
Oleg Romashin
a34b7ea976 Bug 580317 - Qt desktop build not compilable on non-EGL environment. r=vladimir approval2.0=pavlov 2010-07-22 08:07:38 +03:00
Jeff Muizelaar
3040b6eb5c Bug 578124. D2D: Don't create an A8 surface with GDI compatible flags. r=bas
CreateTexture2D doesn't support creating FORMAT_A8 textures with GDI_COMPATIBLE
so we avoid doing so.
2010-07-21 16:37:24 -04:00
Chris Jones
b35ebb5f66 Bug 573829, part 1: Refactor ThebesLayerBuffer in preparation for its use in the OGL layers backend. r=roc
--HG--
rename : gfx/layers/basic/ThebesLayerBuffer.cpp => gfx/layers/ThebesLayerBuffer.cpp
rename : gfx/layers/basic/ThebesLayerBuffer.h => gfx/layers/ThebesLayerBuffer.h
2010-07-21 13:06:33 -05:00
Chris Jones
544264704f Bug 567421, part 2: Implement Dump[Self](FILE*) and Log[Self]() methods for layers. r=roc 2010-07-21 13:06:33 -05:00
Chris Jones
0408499418 Bug 567421, part 1: Rename NS_* macros to MOZ_* and add LayerManager::Name() interface. r=roc 2010-07-21 13:06:33 -05:00
Brad Lassey
1e1d624e70 bug 571767 - @font-face is not working on Android r=jdagget b=fennec2.0 2010-07-16 02:03:45 -04:00
Vladimir Vukicevic
0bf74d0046 b=580101; fix GLX GL context provider (nvidia/intel fix); r=cjones 2010-07-19 22:25:47 -07:00
Matt Woodrow
6a7826f993 b=580101; fix GLX GL context provider; r=vlad 2010-07-19 21:05:42 -07:00
Neil Rashbrook
d64d74c1cd Bug 579931 - libgklayout.so link failure because of undefined GLContext methods; r=vladimir 2010-07-19 18:19:15 -04:00