Commit Graph

1016 Commits

Author SHA1 Message Date
Chris Lord
814c8c8c68 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
c0e921b31a Bug 732917 - Remove ShadowLayers::ShouldDoubleBuffer. r=cjones
This function has been unused since bug #690469.
2012-03-17 12:06:29 +00:00
Ryan VanderMeulen
f814a9a7f4 Backout d5b66e64cf44 (bug 732756) to see if it fixes Android crashtests. 2012-03-16 17:17:22 -04:00
Chris Lord
99c7ccb3f4 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
c80d1bb60a Back out 243cd4db5edd and 4175fc853e16 (bug 712716) for OS X 10.6 and 10.7 assertions 2012-03-15 23:21:54 -07:00
Benoit Girard
69465f1b22 Bug 712716 - Add conditional shaders and a Copy2DExternalProgramType for gralloc. r=jrmuizelaar 2012-03-14 15:10:36 -04:00
Benoit Girard
42c404e37f Bug 712716 - Fix AndroidGraphicBuffer resource management. r=snorp,jmuizelaar 2012-03-12 16:28:02 -04:00
Ali Juma
92d38d1e22 Bug 735600 - Don't composite when the layer tree is empty. r=bgirard 2012-03-14 10:54:34 -04:00
Benoit Girard
dc6ea71b7e Merge mc->Maple 2012-03-13 11:05:28 -04:00
Ehsan Akhgari
43f6c7a351 Backout changeset b52bae0250f7 because of test failures 2012-03-12 18:51:17 -04:00
Ali Juma
71fc64fb2f Bug 725095 - Address GFX review comments. r=joe 2012-03-12 16:32:02 -04:00
Benoit Girard
8ecdfd895f Bug 712716 - Fix AndroidGraphicBuffer resource management. r=snorp,jmuizelaar 2012-03-12 16:28:02 -04:00
Ali Juma
665b50af00 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
fa2d5472cf 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
d5f3cbb01c Bug 732091 - Part 1: Add an isFirstPaint bool to PLayers update. r=bgirard 2012-03-12 11:50:07 -04:00
Bas Schouten
dbb9c56a6c Bug 732988 - Part 1: Add ScaleToSize API to ImageLayers. r=roc 2012-03-13 01:41:29 +00:00
Jeff Gilbert
f2bbb8f93e Bug 729702 - Use ReadPixelsIntoImageSurface in CopyToTarget instead of duplicating functionality - r=BenWa 2012-03-12 18:42:02 -07:00
Benoit Girard
1d55c5f593 Merge mc->Maple 2012-03-07 11:10:45 -05:00
Benoit Girard
0e825779e0 Bug 733184 - Remove more logging from widget. r=pcwalton 2012-03-05 19:58:18 -05:00
Benoit Girard
677ccfe9c3 Bug 733113 - Maple: Remove debug logging. r=ajuma 2012-03-05 16:10:43 -05:00
Benoit Girard
d900d4eab3 Bug 717958 - Always read FPS pref on the main thread with OMTC. r=ajuma 2012-03-05 14:02:22 -05:00
Benoit Girard
997a81e71b 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
73a287f0ea Restore merge changeset 39a3044823b0, regression fixed upstream in mc 2012-03-05 13:09:05 -05:00
Benoit Girard
a4a3883264 Backed out changeset 39a3044823b0 because of bad interaction with maple. 2012-03-02 18:32:46 -05:00
Benoit Girard
7e6f558d70 Merge mc->Maple, resolved conflicts 2012-03-02 14:27:05 -05:00
Joe Drew
419f5ec1a4 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
Kartikaya Gupta
1847cf91b3 Merge m-c again to pick up 75deec1f1a7b 2012-02-28 14:37:26 -05:00
Benoit Girard
9e6901c1cd More render trace. r=debug_only
--HG--
extra : rebase_source : b20e2e6e7469433ee6148c8fa0a7dd0c0ca21009
2012-02-28 11:24:24 -05:00
Benoit Girard
7500bc052d Added more rendertrace breakdowns 2012-02-27 14:31:29 -05:00
Benoit Girard
57e07e5f09 Improve RenderTrace. r=debug
--HG--
extra : rebase_source : a01b6e678bca01848fe124b839c0e5433866fa58
2012-02-24 17:41:16 -05:00
Benoit Girard
bc41b4158d Rendertrace improvements. r=runtime_config_only 2012-02-24 11:35:04 -05:00
Daniel Holbert
98a7f77a1c Backout 4b46f6eff8f4 (Bug 732988) for linux Cipc orange 2012-03-11 16:43:12 -07:00
Bas Schouten
7630416702 Bug 732988 - Part 1: Add ScaleToSize API to ImageLayers. r=roc 2012-03-11 22:33:22 +00:00
Benoit Girard
5908dc7ff3 Bug 728352 - Implement a render trace utility for GFX perf & debugging. r=mattwoodroow 2012-03-05 15:17:13 -05:00
Benoit Girard
c4e3f022c6 Bug 717958 - Always read FPS pref on the main thread with OMTC. r=ajuma 2012-03-05 14:02:22 -05:00
Jeff Muizelaar
ceaa4127a7 Remove ifdefs from RenderTrace and enable it on composite
--HG--
extra : rebase_source : 6d6af824d02b90ac0e43855ce179aa0233b40c5b
2012-02-21 20:20:14 -05:00
Benoit Girard
c063c2bd19 Disable rendertrace by default (adb lolcat slowdown) 2012-02-21 11:34:10 -05:00
Ali Juma
61e759042c 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
fa376f2332 Bug 721489 - Older Adreno 200 drivers intermittently crash when uploading RGB565 textures with glTexImage2D - r=jrmuizel 2012-02-18 21:23:06 -05:00
Ali Juma
46e25b78f7 Fix non-Android bustage. 2012-02-17 19:41:16 -05:00
Ali Juma
e5bc664428 Clean up the compositor's transformation calculations. 2012-02-17 17:58:03 -05:00
Benoit Girard
bf35f7e650 Preliminary render trace 2012-02-17 17:05:03 -05:00
Kartikaya Gupta
54ec96eba6 Put back some things left out of dougt's merge 2012-02-17 01:36:49 -05:00
Doug Turner
3f133bfdd1 Merge with mozilla-central 2012-02-16 18:06:54 -08:00
Timothy B. Terriberry
112a28e909 Bug 726580, Stop shadowing PlanarYCbCr::mOffscreenFormat, r=bas 2012-02-15 14:32:11 -08:00
Benoit Girard
7980ddb052 Bug 732552 - Remove void return in ColorLayerOGL. r=ajuma 2012-03-02 15:36:30 -05:00
Matt Woodrow
b01db32e07 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
daef6a012f Fix one shutdown crash
--HG--
extra : rebase_source : dd71617cbabf7848565ab609362964037fbac01a
2012-02-15 11:29:14 -05:00
Ali Juma
e8f65cc047 Improve zooming behaviour. 2012-02-15 10:15:52 -05:00
Benoit Girard
2f43e1f950 remove dead code 2012-02-14 18:36:33 -05:00
Patrick Walton
2f48494641 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
465c0d7898 Make OMTC changes not effect desktop 2012-02-13 17:17:12 -05:00
Ali Juma
f5ab6719f2 Enable zooming. 2012-02-12 15:06:34 -05:00
Patrick Walton
59abdc4347 Uncomment TransformLayerUserData and move it into Layers to fix build bustage 2012-02-10 18:55:48 -08:00
Benoit Girard
fb686d4091 Compositor performance warnings
--HG--
extra : rebase_source : e8b2a0f4c4cb69fb88a478750cecc9f21327e018
2012-02-10 18:06:17 -05:00
Ali Juma
56fb439aab Fix non-Android bustage. 2012-02-10 17:32:12 -05:00
Ali Juma
d86e8c7c2a Fix race conditions when updating view transform, by switching to an absolute transform. 2012-02-10 16:08:24 -05:00
Benoit Girard
e7dd21c01b 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
f56d090ef0 Fix busted build. 2012-02-10 10:40:57 -05:00
Ali Juma
1938bda689 Merge heads. 2012-02-10 10:31:31 -05:00
Patrick Walton
985bb34c3b Implement the rendering hooks for Java compositor integration. Currently segfaulting, so ifdef'd out. 2012-02-09 23:55:13 -08:00
Patrick Walton
8e9cf5b1f7 Add a DrawWindowUnderlay() to match DrawWindowOverlay() 2012-02-09 19:47:50 -08:00
Benoit Girard
6bcb6bfee6 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
7d3fe66eb2 Code cleanup. 2012-02-09 17:39:04 -05:00
Kartikaya Gupta
bbbe277fac 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
2fd24c9367 Merge viewport with tip 2012-02-08 20:42:17 -05:00
Ali Juma
3b5128bfda Build fix. 2012-02-08 19:57:21 -05:00
Benoit Girard
f470edbef2 Merge m-c into maple 2012-02-08 16:43:22 -05:00
Benoit Girard
df2bdbef7a Build fixes and clean up 2012-02-08 12:08:03 -05:00
Patrick Walton
684cfdccea Remove the blinkenlights in the background 2012-02-07 23:24:58 -08:00
Patrick Walton
382c0de56b Have the compositor thread manipulate the layer with a display port if there is one 2012-02-07 22:17:54 -08:00
Benoit Jacob
c5a42c7937 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
d3d455008a Fix delayed rendering after orientation change. 2012-02-07 11:26:52 -05:00
Ali Juma
0e90b797ea Move surface ownership to GLContextProviderEGL.
--HG--
extra : rebase_source : a3f83d279de5087a521a938d66c4e7b5dee79d74
2012-02-06 16:53:09 -05:00
Ali Juma
32e4aa0206 Pause/resume composition on surface destruction/creation. 2012-02-06 13:57:06 -05:00
Benoit Girard
92886562bf Limit composition to every 15 ms, may want to try increasing this value 2012-02-06 13:51:33 -05:00
Benoit Girard
658ac2bd4e Limit composite events to one at a time 2012-02-06 12:38:23 -05:00
Ali Juma
ab46c23fad Fix null pointer dereference causing startup crash. 2012-02-06 09:42:53 -05:00
Ali Juma
375d4d84d8 Add support for pausing/resuming composition from Java. 2012-02-05 13:33:38 -05:00
Patrick Walton
a57b590b7d Stand up async panning and zooming 2012-02-03 23:31:05 -08:00
Ali Juma
220516c4e6 Add ifdefs to fix desktop build.
--HG--
extra : rebase_source : fe51e388ff7dbd95e968cf60af800917801ab911
2012-02-03 21:48:05 -05:00
Patrick Walton
1e1b06f118 Poke the compositor to composite on a pan or zoom; stub AndroidBridge::GetViewTransform() 2012-02-03 18:35:58 -08:00
Patrick Walton
0adcd70047 Stub ViewTransform code; unbork the viewport size a bit 2012-02-03 16:39:15 -08:00
Bas Schouten
321d568e3b Bug 651192 - Part 7: Implement the NPP_DidComposite API. r=roc 2012-02-16 04:30:25 +01:00
Bas Schouten
b798e874b1 Bug 651192 - Part 5: Support remote access to ImageContainers. r=roc 2012-02-16 04:26:19 +01:00
Matt Woodrow
72f481f48f Bug 700240 - Print display lists to a file. r=roc,bjacob 2012-03-01 21:26:09 +13:00
Patrick Walton
3e30acd53d Partial removal of tiling, stub callouts 2012-02-02 19:28:22 -08:00
Benoit Girard
71fe29a342 Add debug code, unapply me later 2012-02-02 16:34:23 -05:00
Benoit Girard
a0d8718e27 Fix GetLayerManager logic 2012-02-02 14:16:59 -05:00
Benoit Girard
a1415e44f6 Progress on omtc integration 2012-02-01 16:18:35 -05:00
Ali Juma
ccfd344226 Implement logic needed for simple async scrolling. 2012-02-01 14:31:34 -05:00
Benoit Girard
25a5299d7e Merge fixes 2012-01-30 15:57:30 -05:00
Benoit Girard
e0bcc5a6d2 Mergi mc to kiwifox, lots of conflicts so may not build 2012-01-30 13:38:20 -05:00
Joe Drew
5bfbf586cb Back out 9699edcbcedd (bug 721467) for causing bug 722167. 2012-01-29 19:41:48 -05:00
Benoit Girard
f7173edd06 Partial work for android OGLSurfaceView
--HG--
extra : rebase_source : 2c6ce362dd859e9f81a5b4490e2451826259a651
2012-01-26 14:23:13 -05:00
George Wright
4ea08cd7d0 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
Ali Juma
cec8839334 Work around Bug 719036. 2012-01-18 11:38:45 -05:00
Ali Juma
0424556eb8 merge m-c to kiwifox 2012-01-18 11:04:04 -05:00
Ali Juma
8e3b3d5ff3 Address next set of review comments. 2012-01-16 10:31:16 -05:00
Ali Juma
6534a8a451 merge mc to kiwifox 2012-01-16 09:58:14 -05:00