Commit Graph

4518 Commits

Author SHA1 Message Date
Jonathan Kew
26212a8e99 bug 728866 - pt 3 - add support for Hebrew presentation forms, excluded from canonical composition. r=smontagu 2012-02-20 20:39:59 +00:00
Jonathan Kew
03f932b63d bug 728866 - pt 2 - implement canonical composition callbacks for harfbuzz. r=smontagu 2012-02-20 20:39:59 +00:00
Doug Turner
222fba130c Merge with mozilla-central 2012-02-16 18:06:54 -08:00
Timothy B. Terriberry
7cc584ea37 Bug 726580, Stop shadowing PlanarYCbCr::mOffscreenFormat, r=bas 2012-02-15 14:32:11 -08:00
Benoit Girard
beb027e7b1 Bug 732552 - Remove void return in ColorLayerOGL. r=ajuma 2012-03-02 15:36:30 -05:00
Benoit Jacob
cb4d4d8b86 Bug 676071 - drop ANGLE patch limiting identifiers to 250 chars - r=jgilbert 2012-03-02 15:42:49 -05:00
Benoit Jacob
e69450ea31 Bug 676071 - ANGLE patch: use SpookyHash to generate mapped ids, instead of a monotonic identifier - r=jgilbert 2012-03-02 15:42:49 -05:00
Oleg Romashin
8262311aac Bug 732143 - WebGL on maemo6 N9 does not work anymore after FBO switch 720467. r=joe 2012-03-02 11:28:06 -06:00
Benoit Jacob
aad01e684d Bug 713305 - fix copyright year - r=joedrew 2012-03-02 12:00:12 -05:00
Matt Woodrow
74eb609391 Bug 725209 - Mark TextureImage as valid when self copying, and correctly mark the region needing to be redrawn. r=joe 2012-02-15 16:03:05 -05:00
Benoit Girard
5dc0e12001 Bug 727497 - Don't call CreateSurfaceForWindow in MakeCurrent in EGL. r=ajuma 2012-02-15 16:02:39 -05:00
Benoit Girard
5ff58afadf Bug 727497 - Don't call CreateSurfaceForWindow in MakeCurrent in EGL. r=ajuma 2012-02-15 15:09:15 -05:00
Steven Michaud
85aa93ee53 Bug 721663 - [10.5] Crash in unpackImageRow @ CGAccessSessionGetBytes while printing or previewing. r=joe 2012-02-17 11:04:03 -06:00
Nicholas Cameron
08fafd3689 Bug 727681; correct gfx3DMatrix::CanDraw2D. r=Bas 2012-02-17 18:06:46 +13:00
Benoit Girard
84a8e6d4c5 Fix one shutdown crash
--HG--
extra : rebase_source : dd71617cbabf7848565ab609362964037fbac01a
2012-02-15 11:29:14 -05:00
Ali Juma
0f322866b3 Improve zooming behaviour. 2012-02-15 10:15:52 -05:00
Benoit Girard
7a39c42f15 remove dead code 2012-02-14 18:36:33 -05:00
Benoit Girard
3d94f16f20 Change tilesize to 256x256 for progressive upload and adreno POT uploads 2012-02-14 13:19:46 -05:00
Benoit Girard
46eda2f7de Remove adreno fix, it only makes the crash less likely 2012-02-14 13:16:18 -05:00
Jonathan Kew
a5d915dbc1 bug 728518 - improve the handling of weight in FindFontForChar. r=jdaggett 2012-02-20 08:55:07 +00:00
Jonathan Kew
64dd783613 bug 717175 - clear word cache earlier when expiring fonts. r=jdaggett 2012-02-20 08:54:58 +00:00
Mike Hommey
25fb9ac832 Bug 728656 - Avoid crashing when there are no GL extensions reported by the GL implementation. r=bjacob 2012-02-20 08:04:38 +01:00
Patrick Walton
dd0a3bbc18 Fix scissor rect and use the Java compositor's cached viewport metrics when drawing decorations 2012-02-13 20:20:38 -08:00
Benoit Girard
41f6ac08c7 Make OMTC changes not effect desktop 2012-02-13 17:17:12 -05:00
Ali Juma
a74c63a281 Enable zooming. 2012-02-12 15:06:34 -05:00
Pallavi Kumarijha
3235551d77 Bug 712554 - Remove MSVC6 support from Cairo Readme. r=jmuizelaar 2012-03-10 13:14:29 -05:00
Patrick Walton
aae9e0d362 Uncomment TransformLayerUserData and move it into Layers to fix build bustage 2012-02-10 18:55:48 -08:00
Benoit Girard
2abfa0058f Compositor performance warnings
--HG--
extra : rebase_source : e8b2a0f4c4cb69fb88a478750cecc9f21327e018
2012-02-10 18:06:17 -05:00
Ali Juma
4f3b93acbe Fix non-Android bustage. 2012-02-10 17:32:12 -05:00
Ali Juma
64839a1fdf Fix race conditions when updating view transform, by switching to an absolute transform. 2012-02-10 16:08:24 -05:00
Benoit Girard
2273530045 Bug 721489 - Make gfxSharedImageSurface divisible by 64 on mobile
--HG--
extra : rebase_source : b2a947a772890e56738badfd9c413896733fe45c
2012-02-10 15:13:02 -05:00
Benoit Girard
04ccae8d41 Bug 721489 - Backout changeset 0cb6641ab21a for a more desirable fix.
--HG--
extra : rebase_source : b8100a07f626c3cc51e019911a3b023b482d23b9
2012-02-10 15:12:35 -05:00
Ali Juma
7c7e41202d Fix busted build. 2012-02-10 10:40:57 -05:00
Ali Juma
96f267b56a Merge heads. 2012-02-10 10:31:31 -05:00
Patrick Walton
c5f56a495f Implement the rendering hooks for Java compositor integration. Currently segfaulting, so ifdef'd out. 2012-02-09 23:55:13 -08:00
Patrick Walton
6a14c62d7f Add a DrawWindowUnderlay() to match DrawWindowOverlay() 2012-02-09 19:47:50 -08:00
Joe Drew
d8e5e93840 Bug 725747 - Immediately translate setting the default FBO into our offscreen FBO, rather than setting it and unsetting it before and after GL draw commands. r=jgilbert 2012-02-09 20:57:26 -05:00
Jonathan Kew
34e53e353e bug 727736 - [harfbuzz] force glyphs for zero-width diacritics to actually have zero width, to work around bad fonts. r=behdad 2012-02-16 22:25:22 +00:00
Jonathan Kew
fc238f5f93 bug 662055 followup - fix typo in comment. DONTBUILD 2012-02-16 21:37:22 +00:00
Jonathan Kew
117c97a488 bug 662055 - [harfbuzz] permute canonical classes of Hebrew marks to present logical order to OpenType lookups. r=behdad 2012-02-16 21:27:00 +00:00
Jonathan Kew
c777e292c8 bug 727815 - flush shaped-word caches when font-shaping preferences are modified. r=roc 2012-02-16 21:26:50 +00:00
Rafael Ávila de Espíndola
5d41b8a5a2 Bug 727220 - Fix _CGLContextObject's forward declaration. r=jrmuizel. 2012-02-16 08:20:51 -05:00
Jeff Gilbert
2a40f31164 Bug 728724 - Check for BGRA read support correctly - r=bjacob 2012-03-12 15:21:16 -07:00
Jeff Gilbert
39f724d177 Bug 726396 - Repair ANGLE d3d share handle fetching an PBuffer creation behavior - r=bjacob 2012-03-12 15:10:38 -07:00
Benoit Girard
0b782cb5e9 Bug 721489 - Allocate a PoT Shmem for the Adreno. This replaces segfaults by visual artifacts
--HG--
extra : rebase_source : 400e392843cf2d15b941e7e94b736106e6b447e2
2012-02-09 17:52:03 -05:00
Ali Juma
54af353fd7 Code cleanup. 2012-02-09 17:39:04 -05:00
Kartikaya Gupta
772e6369b5 Guard against crash in debug mode caused by using a null TimeStamp in a subtraction 2012-02-08 22:22:30 -05:00
Benoit Girard
beb2ae7df8 Merge viewport with tip 2012-02-08 20:42:17 -05:00
Ali Juma
1f21ac563d Build fix. 2012-02-08 19:57:21 -05:00
Benoit Girard
2f35d690b6 Merge m-c into maple 2012-02-08 16:43:22 -05:00
Benoit Girard
bee5dd218e Undo accidental mq push (no commit hooks for mq) 2012-02-08 12:14:20 -05:00
Benoit Girard
0fc7c92286 Build fixes and clean up 2012-02-08 12:08:03 -05:00
Benoit Girard
4c8d2f1aef imported patch TexSize256 2012-02-08 10:50:48 -05:00
Patrick Walton
25b146219c Remove the blinkenlights in the background 2012-02-07 23:24:58 -08:00
Patrick Walton
37bd0b7e1d Have the compositor thread manipulate the layer with a display port if there is one 2012-02-07 22:17:54 -08:00
Patrick Walton
e908a75969 Merge heads 2012-02-07 22:05:42 -08:00
Benoit Girard
79f5549c0a Fix includes 2012-02-07 18:02:47 -05:00
Benoit Girard
6fc42c7ee3 Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=joe 2012-02-24 18:17:27 -05:00
Benoit Jacob
48c5b9a871 Bug 711656 - report force-enabled features in crash reports - r=jrmuizel
Force-enabled features will be reported with a '!' instead of the usual '?' in AppNotes in crash reports.
2012-02-27 16:33:19 -05:00
Ali Juma
e534f84472 Fix delayed rendering after orientation change. 2012-02-07 11:26:52 -05:00
Benoit Girard
e2f9d6ecb7 Bug 728352 - Implement a render trace utility for GFX perf & debugging. r=mattwoodroow 2012-03-05 15:17:13 -05:00
Benoit Girard
b1acc7bd80 Bug 717958 - Always read FPS pref on the main thread with OMTC. r=ajuma 2012-03-05 14:02:22 -05:00
Ali Juma
ac787b0863 Move surface ownership to GLContextProviderEGL.
--HG--
extra : rebase_source : a3f83d279de5087a521a938d66c4e7b5dee79d74
2012-02-06 16:53:09 -05:00
Benoit Girard
3dea7d013a Missing piece to previosu patch (bad queue management)
--HG--
extra : rebase_source : 9fcc71c557c659e1c8846e7032a4ccccf9c0e43b
2012-02-06 15:41:24 -05:00
Benoit Girard
da156115f9 Transplanet: Bug 724094 - Use fTexImage2D instead of TexSubImage2D when uploading full width. r=ajuma
--HG--
extra : rebase_source : 94595465a2b3eb3140f11e932a32575629a266dc
2012-02-06 15:15:36 -05:00
Ali Juma
f9ebf5ebe2 Pause/resume composition on surface destruction/creation. 2012-02-06 13:57:06 -05:00
Benoit Girard
02795249cd Limit composition to every 15 ms, may want to try increasing this value 2012-02-06 13:51:33 -05:00
Benoit Girard
15426bdfef Limit composite events to one at a time 2012-02-06 12:38:23 -05:00
Ali Juma
d596ccbbea Fix null pointer dereference causing startup crash. 2012-02-06 09:42:53 -05:00
Ali Juma
92e59fd959 Add support for pausing/resuming composition from Java. 2012-02-05 13:33:38 -05:00
Patrick Walton
402747340d Stand up async panning and zooming 2012-02-03 23:31:05 -08:00
Ali Juma
fccf312a28 Add ifdefs to fix desktop build.
--HG--
extra : rebase_source : fe51e388ff7dbd95e968cf60af800917801ab911
2012-02-03 21:48:05 -05:00
Patrick Walton
50c7df015c Poke the compositor to composite on a pan or zoom; stub AndroidBridge::GetViewTransform() 2012-02-03 18:35:58 -08:00
Patrick Walton
9159739ff5 Stub ViewTransform code; unbork the viewport size a bit 2012-02-03 16:39:15 -08:00
Irving Reid
438e1ecd58 Bug 731384 - Use feature test macros when defining new C++ features. r=matt.woodrow 2012-03-07 16:03:14 -05:00
Marco Bonardo
d6687bea88 Merge central to inbound 2012-03-01 16:05:54 +01:00
Bas Schouten
349297a0c5 Bug 651192 - Part 7: Implement the NPP_DidComposite API. r=roc 2012-02-16 04:30:25 +01:00
Bas Schouten
87964f395c Bug 651192 - Part 5: Support remote access to ImageContainers. r=roc 2012-02-16 04:26:19 +01:00
Matt Woodrow
bf3005c3f4 Bug 700240 - Print display lists to a file. r=roc,bjacob 2012-03-01 21:26:09 +13:00
George Wright
104741bdd3 Bug 721467 - Add a codepath to only use glTexImage2D instead of glTexSubImage2D when texture uploading in GLContext 2012-01-30 15:09:02 -05:00
Patrick Walton
2b6bcfedfa Partial removal of tiling, stub callouts 2012-02-02 19:28:22 -08:00
Benoit Girard
8febee184a Add debug code, unapply me later 2012-02-02 16:34:23 -05:00
Benoit Girard
7876b39a69 Fix GetLayerManager logic 2012-02-02 14:16:59 -05:00
Benoit Girard
36780c8b69 Progress on omtc integration 2012-02-01 16:18:35 -05:00
Ali Juma
38f425cf74 Implement logic needed for simple async scrolling. 2012-02-01 14:31:34 -05:00
Benoit Girard
7768764c56 merge mc into kiwifox 2012-01-31 13:55:51 -05:00
Ed Morley
d5d841cf5b Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-01-31 10:52:29 +00:00
Jeff Muizelaar
25940efe7a Bug 720482. Make CG snapshots work more like the other backends. r=joe,mattwoodrow,bas
This has big improvement in the performance of GetImageData() because
we make the snapshot lazily instead of using the vm_copy() method
of CGBitmapContextCreateImage()
2012-01-31 01:46:54 -05:00
Benoit Girard
8b421129d7 Merge fixes 2012-01-30 15:57:30 -05:00
Benoit Girard
cc153dc324 Mergi mc to kiwifox, lots of conflicts so may not build 2012-01-30 13:38:20 -05:00
Marco Bonardo
49a28ea5ce Merge last green PGO from inbound to central 2012-01-30 11:32:01 +01:00
Joe Drew
5b5451e0e4 Back out 9699edcbcedd (bug 721467) for causing bug 722167. 2012-01-29 19:41:48 -05:00
Jonathan Kew
9f2809d780 bug 721511 - use stack-based buffers for moderate-sized glyph runs in cairo/dwrite backend. r=bas 2012-01-28 12:25:53 +00:00
Jonathan Kew
5bc5447fa4 backout changeset 2ea682dba295 (bug 721511) due to windows crashtest orange. 2012-01-28 09:50:31 +00:00
Jonathan Kew
86583c11cb backout changeset bcd556d83109 (bug 721315) for reftest orange. 2012-01-28 09:37:15 +00:00
Jonathan Kew
47ec181f80 bug 721511 - use stack-based buffers for moderate-sized glyph runs in cairo/dwrite backend. r=bas 2012-01-28 08:28:56 +00:00
Jonathan Kew
8de5b3163e bug 721315 - avoid potential dangling mFamily pointers in font entries. r=jdaggett 2012-01-28 08:27:01 +00:00
Bas Schouten
391307a484 Bug 718730: Allow creating a bitmap from just an A8 texture. r=jrmuizel 2012-01-31 06:15:23 +01:00
Bas Schouten
79584f02fc Bug 719136: Don't attempt to upload when there's nothing to upload. r=jrmuizel 2012-01-31 06:15:23 +01:00
Bas Schouten
0824bfc8a3 Bug 624109: Deal with failing DXGI factory creation due to DLL injections. r=joedrew 2012-01-31 06:15:23 +01:00
Bas Schouten
0cae097489 Bug 715658: Properly invalidate cached SourceSurfaces. r=jrmuizel 2012-01-31 06:15:23 +01:00
Benoit Girard
2a3688a8df Partial work for android OGLSurfaceView
--HG--
extra : rebase_source : 2c6ce362dd859e9f81a5b4490e2451826259a651
2012-01-26 14:23:13 -05:00
George Wright
cbdcca5c64 Bug 721467 - Add an optional codepath (currently enabled only for Adreno 200 GPUs) to only use glTexImage2D for texture uploads as glTexSubImage2D can be slow and/or buggy r=joe,BenWa
--HG--
extra : rebase_source : 0f2903fe23edf3b191ae5dcfa7df6d9066d1d952
2012-01-24 19:44:48 -05:00
Joe Drew
f54df1b8ab Bug 719631 - Support creating offscreen DrawTargets for the Cairo backend. r=jrmuizel
--HG--
extra : rebase_source : 6103e88ec0de91c16aa36829db1e8c988920bcfe
2012-01-27 13:09:20 -05:00
Joe Drew
892502ef40 Bug 719629 - Add ThebesIntSize() convertor function. r=mattwoodrow
--HG--
extra : rebase_source : 85e496ac1b0dbd176157ab7feabd4c41bd29cce4
2012-01-27 13:09:09 -05:00
Joe Drew
415d0eacaa Bug 719628 - Fix the formatting and naming of ThebesSurfaceKey. r=mattwoodrow
--HG--
extra : rebase_source : 371e80f924bc6f8dd3dbeea02999ebe8fdd7d27e
2012-01-27 13:08:58 -05:00
Joe Drew
93916b3c5b Bug 719627 - Merge the functionality of ScaledFontCairo into ScaledFontBase, as is its purpose. r=jrmuizel
--HG--
extra : rebase_source : df21f1a6e702de1e0a7f52a8a75203078c8be423
2012-01-27 13:08:46 -05:00
Bas Schouten
39993f3d42 Bug 726951: Correctly use height to normalize mask v-texture coordinate. r=jrmuizel 2012-02-16 04:08:08 +01:00
Marco Castelluccio
9ee802a28e Bug 702158 - [Skia] Get Skia backend working on Linux, part 2 2012-01-31 10:24:27 +09:00
Jeff Muizelaar
2fe0d32140 Bug 722444. Initialize mData for 0 sized surfaces. r=bgirard
This avoids an invalid free() during destruction found with the
online canvas test suite.

--HG--
extra : rebase_source : e1aeff36e557b045fbaff38d7b46fdf91956ae49
2012-01-30 11:17:42 -05:00
Benoit Girard
53b76bb348 Bug 722164 - Set Azure Quartz Canvas image interpolation to low for better performance. r=jmuizelaar 2012-01-29 17:08:58 -05:00
James Willcox
a32a62755e Bug 719872 (part 2) - Use old FontHost implementation on Android r=mattwoodrow 2012-01-30 16:47:22 -05:00
James Willcox
41a08dbe71 Bug 719872 (part 1) - Backout 8de271eee34b r=mattwoodrow DONTBUILD 2012-01-30 16:47:19 -05:00
Ali Juma
51ac38f75e Work around Bug 719036. 2012-01-18 11:38:45 -05:00
Ali Juma
11cc82c789 merge m-c to kiwifox 2012-01-18 11:04:04 -05:00
Landry Breuil
e73b511e09 Bug 722011 - Comma at the end of enums are not valid in C++, r=Ms2ger
Skia headers are included from c++ code and -pedantic is on by default,
which leads to 'error: comma at end of enumerator list' on OpenBSD/gcc 4.2.1.
2012-01-28 05:54:00 -08:00
George Wright
5fd307b7b1 Bug 721855 - Honour the gfx.canvas.azure.prefer-skia pref on OS X, r=joe
--HG--
extra : rebase_source : 93aba135b44e5e0f944a8bf604b77a5b414185cf
2012-01-27 14:38:00 -08:00
Ali Juma
9b8a32266c Address next set of review comments. 2012-01-16 10:31:16 -05:00
Ali Juma
3dd73e278d merge mc to kiwifox 2012-01-16 09:58:14 -05:00
Justin Wood
94e66a942e Merge m-c tip to m-i 2012-01-15 05:29:24 -05:00
Jonathan Kew
ee163436d0 bug 714067 - correction in ligature indexing when combining marks are present. r=behdad 2012-01-15 08:52:00 +00:00
Jonathan Kew
faa24b11a2 bug 716229 pt 2 - initialize font-matching using the group's primary font. r=roc 2012-01-15 08:45:09 +00:00
Jeff Muizelaar
96e6029c78 Bug 513702. Remove gfx/cairo/cairo/test/. r=joe
We have never used these files and they are terribly
out of date.
2012-01-14 14:32:14 -05:00
Benoit Girard
2e4455c294 Merge m-c into kiwifox
--HG--
rename : widget/src/cocoa/nsChildView.h => widget/cocoa/nsChildView.h
rename : widget/src/cocoa/nsChildView.mm => widget/cocoa/nsChildView.mm
rename : widget/public/nsIWidget.h => widget/nsIWidget.h
rename : widget/src/xpwidgets/nsBaseWidget.cpp => widget/xpwidgets/nsBaseWidget.cpp
rename : widget/src/xpwidgets/nsBaseWidget.h => widget/xpwidgets/nsBaseWidget.h
2012-01-11 17:30:40 -05:00
Ali Juma
8b5223756e More handling review comments for Bug 711168. 2012-01-10 18:04:21 -05:00
Ali Juma
f4c33e6ca1 Address review comments from Bug 711168.
--HG--
rename : gfx/layers/ipc/ShadowLayersHost.h => gfx/layers/ipc/ShadowLayersManager.h
2012-01-06 17:52:32 -05:00
Jonathan Kew
c0b92e301e bug 708075 - observe memory-pressure notification and discard cached gfxShapedWord records. r=roc 2012-01-13 11:37:46 +00:00
Mike Hommey
41e5e42c93 Bug 716825 - Avoid loading system libraries with their full path. r=bjacob,r=gal,r=blassey 2012-01-13 07:23:02 +01:00
Ed Morley
329417cd35 Merge mozilla-central to mozilla-inbound 2012-01-13 03:19:46 +00:00
Oleg Romashin
d6ad5fab8a Bug 694964 - crash [@ gfxSharedImageSurface::Open]. r=ajuma 2012-01-12 15:49:43 -08:00
Chris Jones
24f87ab423 Bug 716332: Delete temporary fbo. r=joedrew 2012-01-12 16:27:34 -08:00
Matt Woodrow
841caeb8f4 Bug 712509 - Disable Skia's internal malloc debugging as it was causing crashes on android. r=Bas 2012-01-12 13:46:09 +13:00
Nathan Froyd
fa5154d0f1 Bug 717311 - reduce space required by sCatEAWValues; r=jfkthame 2012-01-11 15:51:09 -05:00
Ed Morley
a5e2d37200 Backout f94f83c7f2df (bug 708075), 6bf51f18e69e (bug 717311) for test crashes 2012-01-12 13:30:39 +00:00
Jonathan Kew
451eefe74c bug 708075 - observe memory-pressure notification and discard cached gfxShapedWord records. r=roc 2012-01-12 12:44:05 +00:00
Nathan Froyd
4eb190e713 Bug 717311 - reduce space required by sCatEAWValues; r=jfkthame 2012-01-11 15:51:09 -05:00
Michael Wu
1f2f55bc24 Bug 734263 - Set offscreen surface format according to screen format, r=cjones 2012-03-13 16:59:26 -04:00
Boris Zbarsky
aa1e6384d2 Bug 718150. Make sure to update our stored size on Swap() even if we didn't already have a front surface. r=cjones 2012-01-14 11:48:48 -05:00
Ali Juma
af41b90a2a Clean up Compositor destruction. 2011-12-22 10:59:53 -05:00
Ali Juma
6ca080a97a Clean up pointer usage 2011-12-21 11:10:33 -05:00
Ali Juma
e2f8f1561d Clean up 2011-12-20 15:12:54 -05:00
Ali Juma
6117479177 Fix crash when deleting Compositor parent, and change RPC calls to sync calls.. 2011-12-20 10:37:27 -05:00
Ali Juma
07635403cc Composite only when needed. 2011-12-19 13:17:29 -05:00
Benoit Girard
3f4e7da732 merge mc to kiwifox 2011-12-19 11:34:31 -05:00
Richard Newman
85840c2035 Merge last win pgo-green changeset from m-i to m-c. 2012-02-23 18:35:17 -08:00
Masatoshi Kimura
28f2776f50 Bug 699247 - Remove Win2K related code. r=jimm, sr=neil 2012-02-23 08:53:55 -06:00
Florian Boesch
fc9e33241d Bug 728354 - Implement WebGL EXT_texture_filter_anisotropic extension *proposal* - r=bjacob
The spec proposal for this extension is at
  https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/extensions/proposals/EXT_texture_filter_anisotropic/index.html

This adds a conformance test as well, that will have to be merged upstream.
2012-02-23 08:43:57 -05:00
Daniel Holbert
20b8881f8a backout 29ee49bff6a1 (Bug 726396) due to webgl test failures 2012-02-22 16:37:36 -08:00
Jeff Muizelaar
11b2338e5c Bug 729145. Don't ignore curves when we don't have a current point. r=mwoodrow
This was a copy & paste typo and is caught by
http://philip.html5.org/tests/canvas/suite/tests/2d.path.quadraticCurveTo.ensuresubpath.2.html
which is not in our test suite.

--HG--
extra : rebase_source : dc77d4bfa4da0d79e97da1e10e72bbd77223e8fa
2012-02-22 17:06:02 -05:00
Jeff Gilbert
9144305bb8 Bug 726396 - Repair ANGLE d3d share handle fetching an PBuffer creation behavior - r=bjacob 2012-02-22 14:08:24 -08:00
Jonathan Kew
9188ac262b bug 662055 followup - permute order of Hebrew diacritics so that Biblical spelling of 'Jerusalem' renders properly. r=smontagu 2012-02-22 20:55:12 +00:00
Benoit Jacob
91d7315339 Bug 699033 - tame a crash in ANGLE compiler - r=jst 2012-02-23 17:49:55 -05:00
Masatoshi Kimura
bca08a24f4 Bug 700057 - Create artificial names if English names not found in the name table. r=jfkthame 2011-12-19 10:48:46 +00:00
Jonathan Kew
ebaa9ad3ce bug 711357 - release the CGFontRef after creating our font entry (which holds its own reference). r=jdaggett 2011-12-19 10:36:05 +00:00
Jonathan Kew
0236199d36 bug 711352 - don't CFRelease objects when we don't have an owning reference. r=jdaggett 2011-12-19 10:33:37 +00:00
Ali Juma
b0a7f53f0f Merged. 2011-12-19 10:44:18 -05:00
Benoit Girard
46c36ce8e7 More clean up. Shutdown down a window no longer crashes 2011-12-16 19:21:51 -05:00
Ali Juma
ffe1c7b58d Add a 10ms delay when scheduling next composition. 2011-12-16 17:54:06 -05:00
Benoit Girard
334208c02a Clean up some hacks and useless code 2011-12-15 16:31:16 -05:00
Ali Juma
aed9038a0f Ensure added code only runs when using a Compositor, not in e10s. 2011-12-15 16:16:38 -05:00
Ali Juma
a5bd408df9 Make shadow layer transformations work. 2011-12-15 15:20:06 -05:00
Ali Juma
42f2a7bb6f imported patch hacking 2011-12-15 15:07:25 -05:00
Ali Juma
62c753efee imported patch PCompositorProgress 2011-12-15 15:07:19 -05:00
Jonathan Kew
71796a0d20 bug 711079 - move OTS from libxul to gkmedias.dll on Windows. r=khuey 2011-12-19 01:55:11 +00:00
Benoit Girard
3723d79344 Part A: Setup PCompositor (in progress) 2011-12-12 10:15:57 -05:00
Benoit Jacob
1b69af79f6 Bug 711592 - Update ANGLE to r924 - no review
Upstream is at http://code.google.com/p/angleproject/
2011-12-18 18:20:45 -05:00
Nicholas Nethercote
8f335f567c Bug 707865 - Convert nsTArray::SizeOf() to nsTArray::SizeOfExcludingThis(). r=jlebar.
--HG--
extra : rebase_source : d802d58bc7dedda2490878793923adc0ab55f779
2011-12-15 14:59:53 -08:00
Matt Woodrow
1e6a0c0b07 Bug 707563 - Restore the w component in the LayerManager shaders after applying the offset. r=Bas 2011-12-19 10:11:30 +13:00
Matt Brubeck
7d451f6bac Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures 2011-12-18 08:15:09 -08:00
Edwin Flores
a9f4f6c3c4 Bug 710521. Small refactor of gfxFont to separate drawing to paths and drawing strokes. r=roc 2011-12-18 21:53:03 +13:00
Ms2ger
88df3c4062 Bug 709518 - Remove unused 4-argument nsRenderingContext::InvertRect; r=jrmuizel a=edmorley 2011-12-11 14:43:29 +01:00
Jonathan Kew
c98710eeeb bug 691505 - ensure Graphite uses infallible malloc to give well-defined OOM behavior. r=roc 2011-12-09 22:32:30 +00:00
Jonathan Kew
164f1ffdde bug 631479 (part 4) - implement gfxGraphiteShaper to handle text-shaping for graphite-enabled fonts. r=jdaggett 2011-12-09 22:32:29 +00:00
Jonathan Kew
e24f640930 bug 631479 (part 3) - allow graphite tables to be passed through OTS for downloadable fonts. r=jdaggett 2011-12-09 22:32:29 +00:00
Jonathan Kew
ed5870ac14 bug 631479 (part 2) - compile graphite2 as part of the gfx build. r=jdaggett,khuey 2011-12-09 22:32:29 +00:00
Jonathan Kew
81938a4898 bug 631479 (part 1) - import graphite2 code from http://projects.palaso.org/projects/graphitedev/repository/revisions/853 (release 1.0.3 plus bugfixes). r=jdaggett 2011-12-09 22:32:28 +00:00
Robert O'Callahan
b22b8717f9 Bug 705559. Part 4: Speed up AddDependencyOnSource by exiting early when we already have the dependency. r=bas 2011-12-09 22:53:14 +13:00
Robert O'Callahan
2e41d40aa7 Bug 705559. Part 3: Use mDirtyTransform to avoid unnecessary SetTransform calls. r=bas 2011-12-09 22:53:14 +13:00
Robert O'Callahan
bf1ffae6f7 Bug 705559. Part 2: Keep only one snapshot per DrawTargetD2D since all stored snapshots represent the 'last state'. Reuse that snapshot if the state hasn't changed since the last snapshot. Keep the last snapshot alive and make the snapshot's mDrawTarget weak instead. Change mDependingOnTargets/mDependentTargets to be hashsets instead of vectors. Remove SourceSurfaceD2DTarget::mIsCopy since the null-ness of mDrawTarget means the same thing. r=bas 2011-12-09 22:51:57 +13:00
Jeff Gilbert
4d60675b38 Bug 708124 - Remove unnecessary glFlushs from Layers - r=bjacob 2011-12-16 14:24:46 -08:00
Jeff Gilbert
1be07963e0 Bug 705024 - Guarantee GLContexts are resolved properly - r=bjacob 2011-12-16 14:24:46 -08:00
Jeff Gilbert
1109fc2523 Bug 704788 - Add inlined function to allow easy compile-time pruning of mDebugMode branches in GLContext - r=bjacob 2011-12-16 14:24:46 -08:00
Doug Sherk
4260d87a27 Bug 711579: fix WGL context creation without robustness r=Bas 2011-12-16 13:12:02 -08:00
Doug Sherk
44db6564f4 Bug 711226: separate desktop and ES 2.0 symbol loading r=bjacob
Symbols were amalgamated into a single table which worked up until recently.
This patch separates them so that there is a common list, then two separate ones
for desktop and OpenGL ES 2.0.
2011-12-16 13:12:00 -08:00
Doug Sherk
f8cc305c99 Bug 708207: implement WebGL's getShaderPrecisionFormat r=bjacob 2011-12-16 13:11:59 -08:00
Ali Juma
1ec6927862 Bug 705641 - Add even more output to framebuffer incompleteness abort message. r=jrmuizel 2011-12-16 14:02:03 -05:00
Matt Woodrow
bea9136024 Bug 707563 - Convert vertex vector back into normal coordinate space before applying offset. r=Bas 2011-12-09 16:21:45 +13:00
Bill McCloskey
af6c302c9e Bug 705332 - Re-enable printing filename in quiet builds (r=njn) 2011-12-08 10:14:06 -08:00
Jeff Muizelaar
57f0178ec2 Bug 717921. Only have one thebes surface. r=bas 2012-01-13 09:48:29 -05:00
Jeff Muizelaar
8960edcfc7 Bug 717921. Add UserData to DrawTarget. r=bas
* * *
Bug 717921. Fix bustage about moz_xrealloc.
2012-01-13 09:47:58 -05:00
Jeff Muizelaar
80095e3007 Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow 2012-01-09 13:54:44 -05:00
Jeff Muizelaar
7245b4f159 Bug 716639. Add a constructor for gfxQuartzSurface that takes a gfxIntSize. r=mwoodrow 2011-12-13 09:58:11 -05:00
Matt Brubeck
0dc4c17288 Back out efd165428f08 to 4a79fefefa28 (bug 580786, bug 716639, bug 692879, bug 717921) because of reftest error 2012-01-17 10:08:38 -08:00
Bas Schouten
56d3b6d55c Bug 644199: Properly re-upload after clearing mTexture because of device reset. r=roc 2012-01-17 18:32:24 +01:00
Jeff Muizelaar
6eb206d846 Bug 717921. Only have one thebes surface. r=bas
--HG--
extra : rebase_source : 731cfa7d20fec10b784118297e7223e2e9279773
2012-01-13 09:48:29 -05:00
Jeff Muizelaar
2a24d649f4 Bug 717921. Add UserData to DrawTarget. r=bas
* * *
Bug 717921. Fix bustage about moz_xrealloc.

--HG--
extra : rebase_source : 62d38e561d1e64c725587b1de4d1ae609b828557
2012-01-13 09:47:58 -05:00
Jeff Muizelaar
b2072dc211 Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
--HG--
extra : rebase_source : 94f8c205e16e961b5407396c0d0d3b41067222dc
2012-01-09 13:54:44 -05:00
Jeff Muizelaar
f0ddcff50f Bug 716639. Add a constructor for gfxQuartzSurface that takes a gfxIntSize. r=mwoodrow
--HG--
extra : rebase_source : ec2d4e1c76e504b794707d83e5f31580aee81fee
2011-12-13 09:58:11 -05:00
Marco Bonardo
1b31e5f0a2 Merge last green PGO changeset from inbound to central 2012-01-17 16:22:33 +01:00
Stefan
a94256c976 bug 668263 - fix erratic spacing in print-to-PDF by cherry-picking Cairo fixes from https://bugs.freedesktop.org/show_bug.cgi?id=31062. r=jrmuizel,ajohnson 2012-01-17 10:01:36 +00:00
Ms2ger
ce301744c0 Backout bug 580786 / bug 716639 / bug 692879 / bug 717921 / bug 692879 (2dc5909e63b0:ced751d32df6); a=philor 2012-01-17 10:48:19 +01:00
Justin Wood
b50ee39e04 Merge last green PGO from inbound to mozilla-central 2012-01-16 22:27:53 -05:00
Jeff Muizelaar
834bc5acc7 Bug 717921. Fix bustage about moz_xrealloc. 2012-01-16 22:23:37 -05:00
Joe Drew
cafbfddf58 Bug 473236 - Remove executable bits from ScaledFontSkia.*. r=jrmuizel DONTBUILD 2012-01-16 16:29:42 -05:00
Serge Gautherie
3397965934 Bug 628589. (Fv2) test_acceleration.html: Add a workaround for SeaMonkey (tinderboxes) which don't support acceleration. r=joe. 2012-01-16 21:52:18 +01:00
Matt Woodrow
9a2792e6c9 Bug 715720 - Support DrawTargets in CanvasLayerOGL. r=jrmuizel 2012-01-17 10:55:43 +13:00
Oleg Romashin
23660a956c Bug 715822 - OGL CleanupResources should cleanup Texture resources too. r=mattwoodrow 2012-01-16 00:41:55 -05:00
Jeff Muizelaar
e8f99f9572 Bug 717921. Only have one thebes surface. r=bas 2012-01-13 09:48:29 -05:00
Jeff Muizelaar
3080dfc168 Bug 717921. Add UserData to DrawTarget. r=bas 2012-01-13 09:47:58 -05:00
Jeff Muizelaar
e74511907f Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow 2012-01-09 13:54:44 -05:00
Jeff Muizelaar
4e229f2af6 Bug 716639. Add a constructor for gfxQuartzSurface that takes a gfxIntSize. r=mwoodrow 2011-12-13 09:58:11 -05:00
Nathan Froyd
35f8e8a387 Bug 700659 - Slay nsHashSets in gfx/thebes. r=bas 2011-11-08 15:22:04 -05:00
Mark Capella
ff56359165 Bug 718359 - remove useless SANITY_CHECKING_FEATURE and XCB_SURFACE_FEATURE. r=khuey 2012-02-25 22:01:09 +01:00
Jeff Muizelaar
7edc099e21 Bug 729850. CG: Get the point order correct when transforming a path. r=mwoodrow 2012-02-25 00:35:41 -05:00
Jeff Muizelaar
617ed39964 Bug 728028. CG: Avoid double transforming filled gradients. r=mwoodrow
When we fixed transformed clips it caused us to double transform gradients. We
fix this by avoiding ::PushClip when drawing gradients. This has the advantage
of saving a save and restore pair and it makes Fill() more closely match
Stroke()
2012-02-25 00:35:39 -05:00
Jeff Gilbert
b09b159de0 Bug 724476 - Add ANGLE patch file for impl. readpixel format BGRA - r=bjacob 2012-02-24 14:37:06 -08:00
Jeff Gilbert
d4a1b00304 Bug 724476 - ANGLE Bug 294 - Use BGRA/UBYTE as exposed fast format/type for readPixels - r=bjacob 2012-02-24 14:37:06 -08:00
Jeff Gilbert
727633dbc7 Bug 724476 - Add patch for strict ANGLE readpixels behavior - r=bjacob 2012-02-24 14:37:06 -08:00
Jeff Gilbert
66a7e7b7eb Bug 724476 - ANGLE Bug 293 - Enforce readPixels format/type semantics - r=bjacob 2012-02-24 14:37:05 -08:00
Rafael Ávila de Espíndola
ce15409cce Bug 723864 - Remove dead default cases in gfx. r=jmuizelaar. 2012-02-24 10:50:37 -05:00
Yury
7b0321d5fe Bug 730190 - Update OTS to r81. r=jfkthame 2012-02-24 14:31:11 +01:00
Bas Schouten
db305dbad5 Bug 668344: Deal with missing Direct2D device in Azure. r=jrmuizel 2012-02-07 06:14:21 +01:00
Jonathan Kew
c06dcd36f4 bug 721466 - fix VS2010 build failure in gfx/graphite/src. pending-r=roc 2012-01-26 22:27:25 +00:00
Jeff Gilbert
21cc83a78b Bug 721205 - Add correct logic for enabling BGRA readPixels for GLES - r=bjacob 2012-01-26 09:26:36 -08:00
Benoit Jacob
57f5391e3e Bug 720438 - Update ANGLE to r963 - no review
No review because this is just syncing us with upstream:
  http://code.google.com/p/angleproject/

This is also doing some cleanup, removing stale/empty files and updating patches.

The main benefit from this update is that long-identifier-shortening has been fixed.
2012-01-26 12:04:15 -05:00
Nicholas Nethercote
a7ad4ef70e Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Edwin Flores
0855766ec9 Bug 710521 - Refactor gfxFont to separate out drawing stroke and drawing to path. r=roc 2012-01-26 13:11:18 +01:00
Jonathan Kew
87fbddfa16 bug 719366 pt 1 - [harfbuzz] fall back to applying 'latn' features if neither the proper script nor 'DFLT' is present. r=behdad 2012-01-26 11:21:01 +00:00
Jonathan Kew
9abc24757f bug 721068 - update to latest graphite2 code from upstream (hg rev 911:a697cecbaddd). rs=roc 2012-01-26 11:20:57 +00:00
Julian Seward
5918745e20 Bug 720758 - Uninitialised value use in gfx/layers/basic/BasicLayers.cpp. r=bas
--HG--
extra : rebase_source : 78899a63fff9762875ee720817514ab0625ceab1
2012-01-26 11:00:15 +01:00
Chris Jones
c4d3bbde9f Bug 715232: Don't attempt to CopyTexImage from an RGB framebuffer to an RGBA texture. r=joedrew 2012-01-25 18:05:34 -08:00
Marco Castelluccio
94763126a2 Bug 702158 - [Skia] Get Skia backend working on Linux. r=mattwoodrow 2012-01-26 09:54:31 +09:00
Jeff Muizelaar
bd5a176210 Bug 720721. Properly transform the clip path in DrawTargetCG. r=mwoodrow
This is a little tricky because we can't put a save/restore pair
around the operation because then we'll loose the clip.
2012-01-24 15:14:50 -05:00
Jonathan Watt
931f6fc216 Bug 729562 - Make the SVG paint methods take an nsRenderingContext, and kill nsSVGRenderState. r=Bas. 2012-03-02 08:28:59 +00:00
Oleg Romashin
b12b758316 Bug 733951 - Qt port does not compile anymore due to bad includes order. r=jrmuizel
--HG--
extra : rebase_source : 7f26da25e0fd3ec15c8c167eae017fe493c31ae7
2012-03-12 11:43:14 -04:00
Jonathan Kew
91e9f9f359 bug 726539 - last value wins in the case of conflicting features in -moz-font-feature-settings. r=jdaggett 2012-03-12 16:54:28 +00:00
Oleg Romashin
55b4e1f4fd Bug 734757 - Platform::GetOffscreenFormat called from non-main thread, and breaking Qt port. r=dougt 2012-03-12 10:23:34 +01:00
Phil Ringnalda
c4f2e41c4e Back out c891149d1ca4 (bug 719776) for Windows build bustage 2012-03-11 19:25:16 -07:00
Matt Woodrow
139e61830f Bug 719776 - Remove external dependencies from Azure. r=Bas 2012-03-12 15:00:57 +13:00
Joe Drew
75e6f69da6 Bug 715513 - Implement text in the new 2D API's Cairo backend. r=jrmuizel
--HG--
extra : rebase_source : 75350d02ec31e60c356b1d9f05bf14b2b2dee9f4
2012-01-10 13:26:59 -05:00
Joe Drew
2a87535698 Bug 715652 - Jeff's review requested changes which were easier to implement on top of path support. r=jrmuizel
--HG--
extra : rebase_source : 1918afdd0ea2629169dff36353fdf01d66377e26
2012-01-09 17:19:11 -05:00
Joe Drew
200475920f Bug 707848 - Implement paths in the 2D API's Cairo backend. r=jrmuizel
--HG--
extra : rebase_source : a127cd96d48077c02f32d64b89984995c02fc38b
2012-01-09 17:15:10 -05:00
Joe Drew
879f7f3954 Bug 715652 - Implement significantly more of the 2D API for the Cairo backend. r=jrmuizel
--HG--
extra : rebase_source : b23314691fef65db2518d3e738a66039e3c18909
2012-01-09 16:50:01 -05:00
Karl Tomlinson
1d8d7233fb b=682625 pass VisualID when PictFormat is not available r=cjones
--HG--
extra : transplant_source : A%2ALD%92%93%A3%D8%AB%03i%17Y%F4%CA%D3%AAE%3D%99
2012-01-10 23:54:38 +13:00
Karl Tomlinson
5d027f5e32 b=682625 move XVisualIDToInfo to X11Util r=cjones
--HG--
extra : transplant_source : %BA%AF%7F%B2%B3%12%F2%CBl%FAy%5C%F25lI%23%EC%92%28
2012-01-10 23:54:38 +13:00
Ed Morley
49f22f3ce4 Backout b9e154713763 (bug 702158) for pgo linux failures 2012-01-11 01:22:15 +00:00
Marco Castelluccio
e10776db76 Bug 702158 - Build Skia Azure backend on linux. r=mattwoodrow 2012-01-11 11:17:56 +13:00
Jonathan Kew
ee5bca4de4 bug 716229 - don't switch fonts for non-printing control chars. r=roc 2012-01-10 20:40:30 +00:00
Jonathan Kew
8fae2a5409 bug 711355 - fix potential leaks in nsCoreAnimationSupport found by static analysis. r=bgirard 2012-01-10 14:47:52 +00:00
Krzysztof Kotlenga
6dcd161a90 Bug 678940 - remove caching of uniform values. r=joe 2012-01-09 10:57:21 +01:00