Commit Graph

4611 Commits

Author SHA1 Message Date
Bas Schouten
c26eb25c96 Bug 736134 - Part 3: Use GlyphRenderingOptions API when drawing Azure fonts. r=jrmuizel 2012-03-19 19:20:18 +00:00
Bas Schouten
a1ccebc00b Bug 736134 - Part 2: Add RenderingParams object creation to gfxWindowsPlatform. r=jrmuizel 2012-03-19 19:20:18 +00:00
Bas Schouten
ef709193e2 Bug 736134 - Part 1: Add GlyphRenderingOptions API to Azure. r=jrmuizel 2012-03-19 19:20:17 +00:00
Chris Lord
e5a870b5b0 Bug 736850 - Cancel progressive upload task on buffer destruction. r=bgirard
Make sure to cancel the progressive upload task when destroying the
front-buffer. This also changes the Destroy method to call DestroyFrontbuffer
instead of just assigning nsnull to mBuffer.
2012-03-19 14:38:34 +00:00
Oleg Romashin
72d4633e87 Bug 736875 - Compositor perf warning need to be filtered up to 15ms. r=bgirard 2012-03-19 12:55:37 +01:00
Robert O'Callahan
aeaeb5b326 Bug 700867. Don't allow rotation when we're drawing a BasicThebesLayer that needs to be drawn atomically. r=tnikkel 2012-03-19 13:01:47 +13:00
Robert O'Callahan
5712a75420 Bug 664764. Part 3: Don't record memory used by gfxWindowsSurface if we actually failed to allocate the surface. r=mattwoodrow 2012-03-19 12:36:33 +13:00
Robert O'Callahan
ac18525123 Bug 664764. Part 2: Make PushGroupWithCachedSurface always return a valid context even if getting the cached surface fails. r=mattwoodrow 2012-03-19 12:36:28 +13:00
Robert O'Callahan
af76cef13a Bug 664764. Part 1: Change assertion to warning since it can happen due to resource exhaustion. r=mattwoodrow 2012-03-19 12:36:22 +13:00
Nicholas Nethercote
d32d1f56c9 Bug 732842 - Add assertions for memory reports. r=jlebar. 2012-03-15 15:16:11 -07:00
Andreas Gal
726b80aae8 Remove unused and broken tiling code (bug 736716, r=cjones). 2012-03-17 15:22:22 -07:00
Andreas Gal
e5235c2601 Backout bug 736716. 2012-03-17 15:20:01 -07:00
Andreas Gal
4166d84daf Follow-up fix for bug 736716 (fix bad style fix). 2012-03-17 15:07:22 -07:00
Andreas Gal
4e2055256d Remove unused and broken tiling code (bug 736716, r=cjones). 2012-03-17 15:02:02 -07:00
Benoit Girard
bb93bde972 Bug 736743 - Fix LayerManagerOGL Description. r=ajuma 2012-03-17 12:44:45 -04:00
Chris Lord
c456a36f39 Bug 732756 - Fix overdrawing of checkerboard. r=kats
Fix overdrawing of the checkerboard layer by letting layers have a concept of
a display-port, and keeping the root layer's display port in track with
Gecko's.
2012-03-17 15:08:22 +00:00
Chris Lord
80fb273e5d Bug 732917 - Upload textures progressively. r=bgirard
When using double-buffering in ShadowThebesLayerOGL, upload texture data
progressively.
2012-03-17 12:07:02 +00:00
Chris Lord
43189d6c13 Bug 732917 - Upload to texture on demand. r=bgirard,mattwoodrow
Add functions to do progressive texture upload and only upload to texture on
draw-demand. This is a building block towards asynchronous texture upload.
2012-03-17 12:07:02 +00:00
Chris Lord
0c11c7ad0c Bug 732917 - Enable double-buffering on Android. r=ajuma
Add support for double-buffering to ThebesLayerOGL, and enable it on Android.
Double-buffering should allow us to more easily implement progressive texture
upload.
2012-03-17 12:07:02 +00:00
Chris Lord
1bb6846373 Bug 732917 - Remove ShadowLayers::ShouldDoubleBuffer. r=cjones
This function has been unused since bug #690469.
2012-03-17 12:06:29 +00:00
Chris Lord
7fb495f3bd Bug 732917 - Use tile iteration functions in DirectUpdate. r=ajuma
So that the tile iteration callback remains useful, use the public iteration
functions when iterating over tiles in TiledTextureImage::DirectUpdate.
2012-03-17 12:06:29 +00:00
Chris Lord
68fd5151c9 Bug 732917 - Add a callback function for tile iteration. r=ajuma
Add the ability to set a callback function to be called on tile iteration.
2012-03-17 12:06:29 +00:00
Jonathan Kew
f7a9f13e00 bug 721719 - try Roboto as well as Droid Sans for fallback on Android. r=jdaggett 2012-03-17 09:39:09 +00:00
Jonathan Kew
fab232caed bug 721719 - ignore the GSUB table in Roboto on Android because of bad ligature rule. r=jdaggett 2012-03-17 09:38:42 +00:00
Oleg Romashin
fe1ebdecc4 Bug 726461 - cairo-qt-surface not compiling with Qt5. r=jrmuizel 2012-03-16 18:36:28 -04:00
George Wright
1ec77ce75f Bug 732865 - Clean up the GLContext* classes. r=bgirard,joe
--HG--
extra : rebase_source : f4f057f354772ff38d37fbc6e179f3cde9e218d1
2012-03-16 18:24:12 -04:00
Ryan VanderMeulen
2f1650c3ae Backout d5b66e64cf44 (bug 732756) to see if it fixes Android crashtests. 2012-03-16 17:17:22 -04:00
George Wright
aaef82ac19 Backed out changeset aad5bc8b3433 2012-03-16 15:02:01 -04:00
George Wright
342337ca94 Bug 732865 - Clean up the GLContext* classes. r=bgirard,joe 2012-03-16 14:30:09 -04:00
Chris Lord
7907635f98 Bug 732756 - Fix overdrawing of checkerboard. r=kats
Fix overdrawing of the checkerboard layer by letting layers have a concept of
a display-port, and keeping the root layer's display port in track with
Gecko's.
2012-03-16 16:30:23 +00:00
Phil Ringnalda
f505cb2ab5 Back out 243cd4db5edd and 4175fc853e16 (bug 712716) for OS X 10.6 and 10.7 assertions 2012-03-15 23:21:54 -07:00
John Daggett
e1a14d0e6a Bug 512566. Changes based on review comments. r=bz,jfkthame 2012-03-16 12:31:01 +09:00
John Daggett
2719e3bb47 Bug 512566. Load font data url's synchronously, gfx changes. r=jfkthame 2012-03-16 12:31:01 +09:00
Benoit Girard
13c7ec12a0 Bug 712716 - Add conditional shaders and a Copy2DExternalProgramType for gralloc. r=jrmuizelaar 2012-03-14 15:10:36 -04:00
Benoit Girard
44891d8e82 Bug 712716 - Fix AndroidGraphicBuffer resource management. r=snorp,jmuizelaar 2012-03-12 16:28:02 -04:00
Bas Schouten
518eac5956 Bug 717302: Make sure to mark transform dirty after resetting to push clip. r=jrmuizel 2012-03-15 20:26:10 +00:00
Jonathan Kew
384de9b74a bug 735583 - eliminate font constant synonyms and use the standard forms everywhere. r=jdaggett 2012-03-15 09:04:46 +00:00
Jonathan Kew
f58d29af3c bug 735419 - eliminate unused parameter in the gfxTextRun constructor. r=jdaggett 2012-03-15 09:03:51 +00:00
Jonathan Kew
b3ddef8d75 bug 735439 - optimize order of fields in gfxFontStyle to save space. r=jdaggett 2012-03-15 09:03:00 +00:00
Kartikaya Gupta
314843ddd5 Bug 725095 - Merge off-main-thread compositor from Maple. IGNORE BAD COMMIT MESSAGES 2012-03-14 11:18:15 -04:00
Ali Juma
9d742065e0 Bug 735600 - Don't composite when the layer tree is empty. r=bgirard 2012-03-14 10:54:34 -04:00
Benoit Girard
188ca471f6 Merge mc->Maple 2012-03-13 11:05:28 -04:00
Ehsan Akhgari
66cc3b5fa9 Backout changeset b52bae0250f7 because of test failures 2012-03-12 18:51:17 -04:00
Ali Juma
32ba162f31 Bug 725095 - Address GFX review comments. r=joe 2012-03-12 16:32:02 -04:00
Benoit Girard
13e20df894 Bug 712716 - Fix AndroidGraphicBuffer resource management. r=snorp,jmuizelaar 2012-03-12 16:28:02 -04:00
Ali Juma
06f63c2380 Bug 732091 - Part 5: Make the compositor notify Java when the page size changes or when a first paint occurs. r=bgirard 2012-03-12 11:50:27 -04:00
Ali Juma
06826ece22 Bug 732091 - Part 3: Pass on the isFirstPaint flag from the PresShell to the compositor via the layer manager. r=tnikkel,bgirard 2012-03-12 11:50:15 -04:00
Ali Juma
30da09c2e6 Bug 732091 - Part 1: Add an isFirstPaint bool to PLayers update. r=bgirard 2012-03-12 11:50:07 -04:00
Kartikaya Gupta
137c73d9f6 Merge m-c to maple 2012-03-12 10:41:42 -04:00
Daniel Holbert
d8d7782972 Backout 4b46f6eff8f4 (Bug 732988) for linux Cipc orange 2012-03-11 16:43:12 -07:00
Daniel Holbert
db5a753a57 merge m-c to m-i, up to m-c revision b9357da14ab8 2012-03-11 15:38:51 -07:00
Bas Schouten
a1cb5a3d28 Bug 732988 - Part 1: Add ScaleToSize API to ImageLayers. r=roc 2012-03-11 22:33:22 +00:00
Bas Schouten
a6618e22c1 Bug 734478: Prevent shadowing of adapter1 variable in VerifyD2DDevice. r=jrmuizel 2012-03-11 22:33:22 +00:00
Oleg Romashin
df3331c794 Bug 734667 - Compilation fail on some toolchains due extra semicolon in EGL Provider. r=joe 2012-03-11 22:41:03 +01:00
Bas Schouten
ee64d142c2 Bug 732988 - Part 1: Add ScaleToSize API to ImageLayers. r=roc 2012-03-13 01:41:29 +00:00
Jeff Gilbert
53e3a3954c Bug 729702 - Use ReadPixelsIntoImageSurface in CopyToTarget instead of duplicating functionality - r=BenWa 2012-03-12 18:42:02 -07:00
Benoit Jacob
83257fa1bf Bug 711656 - Fix bug in D2D blocklisting check - no review
Two-fold bug:
 - d2dDisabled was set there, only to be overwritten below at line 432
 - d2dBlocked was only set there for certain status values, should have been set for any status != NO_INFO.

See https://bugzilla.mozilla.org/show_bug.cgi?id=711656#c85
2012-03-10 13:32:33 -05:00
Kartikaya Gupta
43952711c3 Merge m-c -> maple to pick up b159cd73c215 2012-03-10 11:21:26 -05:00
Benoit Girard
5950b72a1a Merge mc->maple 2012-03-09 18:16:26 -05:00
Benoit Girard
83961041e7 Merge mc->Maple 2012-03-09 11:13:30 -05:00
Chris Lord
e3be8a819f Bug 734175 - Fix uploading all tiles when subtextures are unsupported. r=bgirard
The check for sub-texture support happens before iterating over tiles in
TiledTextureImage, and forces the bounds to the boundaries of the
TiledTextureImage. This causes any upload on a TiledTextureImage to re-upload
every single tile, regardless of whether it intersects with the upload region.

Fix this by moving this check inside of the tile iteration loop, and expanding
individual tile upload regions to tile boundaries.
2012-03-09 10:22:59 +00:00
John Daggett
dec3199119 Bug 705594. Fix build bustage on Linux, argh. 2012-03-09 12:38:01 +09:00
John Daggett
5d907f1dfe Bug 705594. Fix build bustage on gtx/qt. 2012-03-09 12:10:05 +09:00
Jacob Holzinger
acfe99c129 Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
--HG--
extra : rebase_source : 882b5b4d500b1fa242c0a3cfa3084e4171cbaa9d
2012-03-08 18:22:57 -08:00
Benoit Girard
479f0b2fb1 Merge mc->Maple 2012-03-07 11:10:45 -05:00
John Daggett
e66ba11147 Bug 705594. Add script code for system font fallback. r=roc 2012-03-09 11:06:06 +09:00
John Daggett
ba9ce0c0f4 Bug 705594. Use DirectWrite custom text renderer for fallback on Windows Vista/7. r=bas 2012-03-09 11:05:55 +09:00
John Daggett
e464ab89d9 Bug 705594. Use CoreText for system font fallback on OSX. r=jfkthame 2012-03-09 11:05:47 +09:00
John Daggett
e84c096093 Bug 705594. Add pref to force global cmap-based font fallback. r=roc 2012-03-09 11:05:40 +09:00
John Daggett
4c96369b89 Bug 705594. Fixup of intra-family fallback code. r=jfkthame 2012-03-09 11:05:33 +09:00
John Daggett
1a9f033e9b Bug 705594. Implement hard-coded font fallback. r=roc 2012-03-09 11:05:24 +09:00
John Daggett
e2eedda75a Bug 705594. Add cmapdata logging. r=roc 2012-03-09 11:05:14 +09:00
John Daggett
4514064c4d Bug 705594. Update Unicode range and pref font lists to avoid system fallback. r=roc 2012-03-09 11:05:05 +09:00
Benoit Girard
921124c30e Bug 733184 - Remove more logging from widget. r=pcwalton 2012-03-05 19:58:18 -05:00
Benoit Girard
b17cdc6f76 Merge mc->Maple 2012-03-05 19:32:21 -05:00
Benoit Girard
60aaf487bb Bug 733113 - Maple: Remove debug logging. r=ajuma 2012-03-05 16:10:43 -05:00
Benoit Girard
6c0dc872f0 Bug 717958 - Always read FPS pref on the main thread with OMTC. r=ajuma 2012-03-05 14:02:22 -05:00
Benoit Girard
d3dd25a616 Merge latest green changeset from mozilla-central to maple
--HG--
rename : dom/base/nsDOMMemoryReporter.cpp => dom/base/nsWindowMemoryReporter.cpp
rename : dom/base/nsDOMMemoryReporter.h => dom/base/nsWindowMemoryReporter.h
2012-03-05 13:41:15 -05:00
Benoit Girard
6345ad9c43 Restore merge changeset 39a3044823b0, regression fixed upstream in mc 2012-03-05 13:09:05 -05:00
Ed Morley
d27ab2302c Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00
George Wright
bebb557f97 Bug 674753 - Ensure that sApitraceLibrary is static so that we only load the library once - r=bjacob 2012-03-04 21:43:51 -05:00
Michael Wu
ab5dda36e3 Bug 734081 - Check pixel depth when choosing config on egl, r=cjones 2012-03-08 19:01:12 -05:00
Ryan VanderMeulen
25be994f64 Back out 2175db811fad (bug 734081) due to Android reftest failures. 2012-03-08 18:41:28 -05:00
Michael Wu
94ee732728 Bug 734081 - Check pixel depth when choosing config on egl, r=cjones 2012-03-08 17:06:54 -05:00
Nicholas Nethercote
55f276020a Bug 732843 - Handle Callback() failures in memory multi-reporters. r=jlebar.
--HG--
extra : rebase_source : 54af85a1ef839922d5443cdc36f601611258944a
2012-03-04 15:26:30 -08:00
Matt Woodrow
d13a203bc1 Bug 732598 - Optionally load glGetTexLevelParameteriv - r=bjacob 2012-03-03 13:12:57 +13:00
Benoit Girard
02e577f6ff Backed out changeset 39a3044823b0 because of bad interaction with maple. 2012-03-02 18:32:46 -05:00
Benoit Girard
72da51e037 Merge mc->Maple, resolved conflicts 2012-03-02 14:27:05 -05:00
Benoit Girard
3daa99ec38 Merge mc->maple 2012-03-01 10:44:44 -05:00
Marco Bonardo
873d1a20b1 Merge last green PGO from inbound to central 2012-03-01 14:27:31 +01:00
Joe Drew
08279cfe47 Bug 728625 - Add support for vertically flipping textured quads generated with RectTriangles and DecomposeIntoNoRepeatTriangles. r=bjacob,gw280
--HG--
extra : rebase_source : f42bd3c951651339d2ecb1286a6ac5c9e65ddd7d
2012-02-29 14:15:12 -08:00
George Wright
6fcecdee4a Bug 674753 - Add support for loading apitrace explicitly on Android - r=jrmuizel,bjacob 2012-02-29 16:55:46 -05:00
Benoit Jacob
a993b6f79a Bug 713305 - Force staying on discrete GPU while any WebGL context is live - r=jrmuizel 2012-02-29 15:49:55 -05:00
Kartikaya Gupta
8fd5e0c78c Merge m-c again to pick up 75deec1f1a7b 2012-02-28 14:37:26 -05:00
Benoit Girard
cbad00a72b More render trace. r=debug_only
--HG--
extra : rebase_source : b20e2e6e7469433ee6148c8fa0a7dd0c0ca21009
2012-02-28 11:24:24 -05:00
Kartikaya Gupta
bdcc1c59e4 Merge heads 2012-02-27 15:59:56 -05:00
Kartikaya Gupta
bb76282045 Merge m-c 2012-02-27 15:06:35 -05:00
Benoit Girard
9af6bc051d Added more rendertrace breakdowns 2012-02-27 14:31:29 -05:00
Benoit Girard
0520ad5343 Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=joe 2012-02-24 18:17:27 -05:00
Joe Drew
c8a4b31d1d Bug 729132 - Correctly handle the case that we try to draw a texture with x = width. r=mattwoodrow
--HG--
extra : rebase_source : 02d84bf78ef60d84dfb96832cd39267f5d99aa38
2012-02-24 15:08:31 -08:00
Benoit Girard
6697367948 Improve RenderTrace. r=debug
--HG--
extra : rebase_source : a01b6e678bca01848fe124b839c0e5433866fa58
2012-02-24 17:41:16 -05:00
George Wright
bdb94ebc01 Bug 728041 - Only release the surface and not the context. r=ajuma 2012-02-24 16:20:15 -05:00
Doug Turner
63f2081ca1 Merge with mozilla-central 2012-02-24 11:57:27 -08:00
Benoit Girard
07502ed5be Rendertrace improvements. r=runtime_config_only 2012-02-24 11:35:04 -05:00
Jonathan Kew
7ff00e8673 bug 724826 pt 3 - replace users of nsIUGenCategory service within libxul with direct access to mozilla::unicode::GetGenCategory. r=smontagu 2012-02-24 10:15:46 +00:00
Jonathan Kew
d4399166e5 bug 724826 pt 1 - move various Unicode property tables from gfx to intl. r=smontagu
--HG--
rename : gfx/thebes/gfxUnicodeProperties.h => intl/unicharutil/public/nsUnicodeProperties.h
rename : gfx/thebes/gfxUnicodeScriptCodes.h => intl/unicharutil/public/nsUnicodeScriptCodes.h
rename : gfx/thebes/gfxUnicodeProperties.cpp => intl/unicharutil/src/nsUnicodeProperties.cpp
rename : gfx/thebes/gfxUnicodePropertyData.cpp => intl/unicharutil/src/nsUnicodePropertyData.cpp
rename : gfx/thebes/genUnicodeScriptData.pl => intl/unicharutil/tools/genUnicodePropertyData.pl
2012-02-24 10:15:46 +00:00
Benoit Girard
be7fc15f8a Backout f8b7cca3297f, our leaktool can't handle statics :( 2012-02-23 20:10:23 -05:00
Benoit Girard
2586625748 Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=ajuma 2012-02-23 17:51:57 -05:00
Benoit Girard
70ec83200b backout 6ae546e8bc55 2012-02-23 17:53:40 -05:00
Benoit Girard
e8a9b6ac25 Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=ajuma 2012-02-23 16:04:38 -05:00
Matt Brubeck
3e24a1e507 Back out bug 373266 because of mochitest leaks 2012-03-07 17:15:57 -08:00
Jim Mathies
6647675fdb Bug 373266 - win support for rendering two layer themes on widgets. r=joe,bbondy 2012-03-07 09:29:42 -06:00
Doug Turner
476b362925 merge with mozilla-central: 2012-02-22 09:30:09 -08:00
Justin Lebar
0dbaf73150 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Oleg Romashin
31770ebccb Bug 733506 - WebGL FBO offscreen texture not initialized properly. r=bjacob 2012-03-06 23:29:38 +01:00
Stephen Perry
e16b9d09cf Bug 666664 - Patch to fix warnings in gfx/thebes/gfxUserFontSet.cpp. r=BenWa 2012-03-06 16:44:23 -05:00
Stephen Perry
bd336922da Bug 666664 - Patch to fix warnings in gfx/thebes/gfxContext.cpp. r=BenWa 2012-03-06 16:44:18 -05:00
Jonathan Kew
5d0f3e325c bug 719410 pt 1 - don't use subpixel AA under GDI/DirectWrite if ClearType is disabled system-wide. r=bas 2012-03-06 17:38:55 +00:00
Jonathan Kew
ec5c09cdd3 bug 729626 - fix cluster formation in Indic, cherrypicked from harfbuzz-ng commit 461b9b6347e4f58589f5be82c40a2df61da2c715. r=behdad 2012-03-06 10:58:16 +00:00
Zack Weinberg
58cb765cfa Bug 96971: Move GetSystemFont from nsDeviceContext to mozilla::LookAndFeel. r=roc 2012-02-20 15:19:48 -08:00
George Wright
32b48a0615 Bug 674753 - Ensure that sApitraceLibrary is static so that we only load the library once - r=bjacob 2012-03-04 21:43:51 -05:00
George Wright
96ba44fbaa Bug 674753 - Add support for loading apitrace explicitly on Android - r=jrmuizel,bjacob 2012-02-29 16:55:46 -05:00
Oleg Romashin
f5255001c4 Bug 732764 - gfx/angle/src/compiler/Types.h:211: error: 'abort' was not declared in this scope. r=bjacob 2012-03-04 20:50:44 -05:00
Justin Lebar
e1a9198917 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 15:58:06 -05:00
Justin Lebar
8f94cc1764 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar
169d0f30f5 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 13:49:42 -05:00
Jeff Muizelaar
20dccc3fff Remove ifdefs from RenderTrace and enable it on composite
--HG--
extra : rebase_source : 6d6af824d02b90ac0e43855ce179aa0233b40c5b
2012-02-21 20:20:14 -05:00
Joe Drew
8fd2db46fd Bug 728631 - remove a bunch of accidentally-committed debug code. 2012-02-21 13:15:39 -08:00
Benoit Girard
a36ce48b0e Disable rendertrace by default (adb lolcat slowdown) 2012-02-21 11:34:10 -05:00
Joe Drew
fd29de011a Bug 728631 - Don't disable blending inside our Java rendering code, because we rely on it remaining set from LayerManagerOGL. r=dougt
--HG--
extra : rebase_source : 9fe18ddb4582455fe428f14acb8a931e1b1e4661
2012-02-20 14:48:36 -08:00
Ali Juma
926f982ccc Only try to scroll scrollable layers, and force Gecko to generate a scrollable layer even for smaller pages. 2012-02-20 11:30:05 -05:00
George Wright
5e20a8f8fc Bug 721489 - Older Adreno 200 drivers intermittently crash when uploading RGB565 textures with glTexImage2D - r=jrmuizel 2012-02-18 21:23:06 -05:00
Joe Drew
94d3065dc6 Bug 727311 - Disable BGRA readback support in GLES 2. r=bjacob 2012-02-18 18:12:33 -08:00
Brad Lassey
34aa551009 merge from mozilla-central 2012-02-18 17:29:33 -05:00
Brad Lassey
e85e784817 backing out e45688c8531c because it broke the build 2012-02-18 14:21:48 -05:00
Patrick Walton
a93537390c Stub untested gralloc support, disabled for now 2012-02-17 23:53:21 -08:00
Ehsan Akhgari
a80aff9d02 Remove the warning because it's not useful, r=joe
--HG--
extra : rebase_source : 43086e16e842a602479e69d983107cedb8649aea
2012-02-17 15:12:06 -05:00
Ali Juma
31794dda8f Fix non-Android bustage. 2012-02-17 19:41:16 -05:00
Ali Juma
51b6a7526f Clean up the compositor's transformation calculations. 2012-02-17 17:58:03 -05:00
Ali Juma
e1d518a61e Merge heads. 2012-02-17 17:57:28 -05:00
Benoit Girard
ec98ad3013 Preliminary render trace 2012-02-17 17:05:03 -05:00
Patrick Walton
fb9ea0b3c7 Bug 727688 - Disable tiles on SGX 540 to fix tearing 2012-02-17 13:33:37 -08:00
Kartikaya Gupta
31c5b5c646 Put back some things left out of dougt's merge 2012-02-17 01:36:49 -05:00
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