Commit Graph

4144 Commits

Author SHA1 Message Date
Matt Woodrow
c58e00be05 Bug 1006198 - Remove a bunch of dead Thebes code. r=jgilbert 2014-05-13 14:20:27 +12:00
Matt Woodrow
e690e263b8 Bug 1006198 - Add PremultiplyDataSurface. r=nical 2014-05-13 14:20:26 +12:00
Matt Woodrow
1eb1c84d2a Bug 1006198 - Apply Y flip if necessary to tiled Textures in ImageHost. r=nical 2014-05-13 14:20:26 +12:00
Matt Woodrow
e00ee174fb Bug 1008573 - Simplify D3D10 invalid region before we clear the surface. r=Bas 2014-05-13 11:46:54 +12:00
Wes Kocher
1e1dbd59bb Backed out 4 changesets (bug 1008301) for possibly breaking OSX 10.8 reftests on a CLOSED TREE
Backed out changeset 6a9b7a423db8 (bug 1008301)
Backed out changeset bd16c8833501 (bug 1008301)
Backed out changeset d1fab05aa5f5 (bug 1008301)
Backed out changeset 16ddb5b9eb6d (bug 1008301)
2014-05-12 14:35:46 -07:00
Ryan VanderMeulen
16faa8db28 Merge m-c to inbound. 2014-05-12 16:35:37 -04:00
Ryan VanderMeulen
df91ea951b Merge inbound to m-c. 2014-05-12 16:32:53 -04:00
Markus Stange
9499068622 Bug 1008301 - Invalidate when a layer's pre or post scale changes. r=roc 2014-05-12 21:37:20 +02:00
Markus Stange
213e77f50a Bug 1008301 - Don't invalidate when the visible region of a layer changes. r=roc 2014-05-12 21:37:20 +02:00
Sotaro Ikeda
1de11b15ef Bug 984434 - Change ImageBridgeChild::FlushAllImages() to use async ipc r=nical 2014-05-12 07:39:25 -07:00
Matt Woodrow
4fe1979c07 Bug 1006198 - Use 8byte aligned surface for CopyableCanvasLayer since that's the max WebGL supports for readback. r=nical 2014-05-13 14:20:27 +12:00
Matt Woodrow
0dabff9cf3 Bug 1006198 - Remove a bunch of dead Thebes code. r=jgilbert 2014-05-13 14:20:27 +12:00
Matt Woodrow
f2b9c64192 Bug 1006198 - Add PremultiplyDataSurface. r=nical 2014-05-13 14:20:26 +12:00
Matt Woodrow
5fbdfc89f5 Bug 1006198 - Apply Y flip if necessary to tiled Textures in ImageHost. r=nical 2014-05-13 14:20:26 +12:00
Kartikaya Gupta
2e664ce066 Bug 1005409 - Move the releasing of shared frame metrics to always run on the compositor thread. r=botond 2014-05-12 14:16:41 -04:00
Kartikaya Gupta
8d0cf46911 Bug 1006790 - Ensure the overscroll checks are correct if the scrollable rect is smaller than the composition bounds. r=botond 2014-05-12 14:16:41 -04:00
Matt Woodrow
68fe03ef59 Bug 979350 - fixup rebase failures 2014-05-12 12:51:08 +12:00
Matt Woodrow
e897b233ee Bug 979350 - Readback ThebesLayers for plugin backgrounds during the Validate pass, not the compositing pass. r=roc 2014-05-12 12:31:28 +12:00
Matt Woodrow
d11d3ab343 Bug 997336 - Account for the DrawTarget 'device offset' when drawing layers with a mask. r=Bas 2014-05-12 12:31:27 +12:00
Sotaro Ikeda
5ed7dc913b Bug 1000660 - Remove TextureParent::RecvRemoveTextureSync() r=nical 2014-05-12 18:18:22 -07:00
Jeff Muizelaar
83d2297b91 Bug 1007821. Use image surfaces for transparent content on D3D9. r=bas
This gives us a 6% improvement on CART on WinXP.
2014-05-08 15:09:07 -04:00
Daniel Holbert
dfeba12eb7 Bug 1008360: Move LayerSorter.cpp's xterm color codes into the block where they're used, and comment out the ones that aren't used at all. r=kats 2014-05-09 13:30:49 -07:00
Mason Chang
34003a0f7c Bug 990835 - Change Compositor FPS to be Histogram based. r=benwa 2014-05-09 09:50:00 -04:00
Benoit Girard
9e409f4c37 Bug 1007897 - Release mSurface reference earlier to reduce copies and peak memory. r=mattwoodrow
--HG--
extra : rebase_source : 2f2a46c66e41010a5e8afb4d9d6e95d0f27bd763
2014-05-09 11:52:11 -04:00
Botond Ballo
4d8c247dd5 Bug 1007734 - Avoid leaving APZC with stale parent pointer. r=kats 2014-05-08 12:35:28 -04:00
Matt Woodrow
3366917b4e Bug 950312 - Part 7: Disable component alpha for layers with a mix-blend-mode. r=roc 2014-05-09 22:06:20 +12:00
Matt Woodrow
f05c7aef5f Bug 950312 - Part 6: Share code for computing layers component alpha support. r=roc 2014-05-09 22:06:20 +12:00
Matt Woodrow
96efeab991 Bug 950312 - Part 5: Implement SCREEN and MULTIPLY for CompositorOGL. r=mtseng 2014-05-09 22:06:18 +12:00
Matt Woodrow
898541f214 Bug 950312 - Part 3: Add Layers API to see what blend modes are supported. r=roc 2014-05-09 21:48:32 +12:00
Matt Woodrow
23232a9040 Bug 950312 - Part 2: Add Effect for BlendModes. r=nical 2014-05-09 21:48:29 +12:00
Matt Woodrow
2f69378b9b Bug 950312 - Part 1: Copy mix-blend-mode proprties to the compositor layer tree. r=roc 2014-05-09 21:41:56 +12:00
Mason Chang
17ad25a9b0 Bug 979949 - Expose compositor fill ratio to JS for automation. r=benwa,mrbkap. 2014-05-08 17:32:00 +02:00
Benoit Jacob
f789513539 Bug 1005658 - Don't pass stack pointers to the GL for buffers, and have GLContext try to guard against it - r=jgilbert 2014-05-08 21:03:37 -04:00
Nick Lebedev
3d81d33195 Bug 964750 - Make GestureEventListener rely on the EventStatus returned from the apzc. Add a check to apzc if touch-action allows zooming. Update apzc tests accordingly. r=drs 2014-05-05 11:23:00 -04:00
Vladimir Vukicevic
6bb031a341 b=874781; add color bars to layer diagnostics, for vsync checking; r=benwa 2014-05-08 16:49:01 -04:00
Chris Lord
c1faf25e49 Bug 995216 - Compensate for rounding error in DrawSurfaceWithTextureCoords. r=bas
Calculating the source rect in DrawSurfaceWithTextureCoords can introduce
small floating point errors that result in detectable blending errors. Round
to pixels because we know the original values (the visible region) are
pixel-aligned. This is also what CompositorOGL does.
2014-05-08 11:39:31 +01:00
Matt Woodrow
f67185f255 Bug 938395 - Enable single rect painting for d3d10. r=Bas 2014-05-08 14:56:48 +12:00
Wes Kocher
050b13f283 Merge m-c to inbound 2014-05-07 17:38:29 -07:00
Sotaro Ikeda
ad2ed22abb Bug 1004191 - Destroy LayerTransactionChild r=nical,bjacob 2014-05-07 06:23:14 -07:00
Matt Woodrow
42a1b01ffc Bug 1003707 - Pass surfaces sizes in to CreateSourceSurfaceFromNativeSurface instead of trying to extract it from cairo. r=Bas 2014-05-08 11:23:44 +12:00
Ryan VanderMeulen
54c1cb7bbc Backed out changeset 86f9003c1251 (bug 924622) for causing bug 1007284 (frequent mochitest-e10s-2 shutdown hangs). 2014-05-07 17:03:03 -04:00
Nicolas Silva
c69668e0fa Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-05-07 11:06:19 +02:00
Ryan VanderMeulen
b3c3ae76f7 Backed out changeset d7d7cc47bcc6 (bug 924622) for bustage.
CLOSED TREE
2014-05-07 10:22:21 -04:00
Nicolas Silva
bce5cf3347 Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, r=sotaro 2014-05-07 11:06:19 +02:00
Peter Chang
24d11f8970 Bug 997367 - fix crash at CrossProcessCompositorParent::GetCompositionManager, r=roc 2014-05-11 23:03:00 +02:00
Carsten "Tomcat" Book
07b626f601 Backed out changeset a170dabfd12b (bug 997365) for wrong bug nummer in commit message on a CLOSED TREE 2014-05-12 14:10:31 +02:00
Peter Chang
29a0c20eda Bug 997365 fix crash at CrossProcessCompositorParent::GetCompositionManager, r=roc 2014-05-11 23:03:00 +02:00
Kartikaya Gupta
5f7bbdffc4 Bug 1006579 - Fix the AboutToCheckerboard implementation to actually work. r=Cwiiis 2014-05-06 14:29:47 -04:00
Kartikaya Gupta
c86bc8f17d Bug 1006579 - Extract a helper method to compute the min of the composition bounds and root composition size. r=botond 2014-05-06 14:29:44 -04:00
Botond Ballo
a623403144 Bug 1005378 - Have TabChild create a view ID for the document element if one doesn't already exist. r=kats 2014-05-05 15:06:28 -04:00
Carsten "Tomcat" Book
a7fa779dc7 Merge m-c to mozilla-inbound 2014-05-06 14:40:37 +02:00
Nicolas Silva
e79eddc24f Bug 998130 - Add null checks in CairoImage::GetTextureClient. r=bjacob 2014-05-06 14:34:19 +02:00
Carsten "Tomcat" Book
7ee15a69e3 Backed out changeset 6efbbdf09c63 (bug 1001845) for refest failures 2014-05-06 14:09:56 +02:00
Wes Kocher
f0482d7b52 Merge m-c to b2g-inbound 2014-05-05 21:19:59 -07:00
Sotaro Ikeda
e4e2cb245d Bug 1000525 - Defer Fence release until IPC delivery complete r=nical 2014-05-05 18:56:40 -07:00
Mason Chang
37f8399ae0 Bug 980027 - Part 2: Set compositor thread priority to platform value. r=gsvelto, benwa 2014-05-05 11:38:00 -04:00
Carsten "Tomcat" Book
0f82c9229c Backed out changeset 290f4be587a1 (bug 983489) for suspicion that this caused the m8 and m10 on ics debug on a CLOSED TREE 2014-05-05 16:19:22 +02:00
Markus Stange
53a78142c8 Bug 1000875 - Add invalidation debugging annotations for layer content type changes. r=roc 2014-05-05 10:24:56 +02:00
Vincent Chen
d497f40f3d Bug 983489 - "Crash on nsIAppStartup.quit() - application crashed [@ mozilla::gl::GLContext::MakeCurrent(bool)]" r=nical 2014-04-29 23:49:00 +02:00
Botond Ballo
a2c66ecde0 Bug 1004620 - Purge ImageBridgeChild.cpp of 'using namespace base'. r=bjacob 2014-05-01 14:51:00 -04:00
Benoit Girard
1b80ad5825 Bug 1005328 - Layers.dump output should be consistent with newlines. r=bottond 2014-05-02 17:29:29 -04:00
Josh Aas
23e8d13927 Bug 960774: Add ActorDestroy impl for all parent-side actors that don't have one. It will be required soon. r=bent 2014-05-02 13:44:13 -05:00
Kartikaya Gupta
d996ede072 Bug 1002754 - Don't store a pointer to the cross-process compositor parent as it may go bad; pull it on demand instead. r=rbarker, r=botond 2014-05-02 11:12:48 -04:00
Kartikaya Gupta
2269ea4195 Bug 1002754 - Add a more comprehensive mechanism to disable thread assertions in APZ gtests. r=botond 2014-05-02 11:12:47 -04:00
Kartikaya Gupta
bcf5a8a20a Bug 1004516 - Add some default-disabled file logging to ActiveElementManager. r=botond 2014-05-02 08:21:57 -04:00
Kartikaya Gupta
81128c14cd Bug 1004516 - Ensure state is properly cleared in the ActiveElementManager. r=botond 2014-05-02 08:21:57 -04:00
Matt Woodrow
8a1624f75f Bug 1001845 - Simplify invalid regions to avoid spending excessive amounts of time in region code. r=roc 2014-04-28 16:17:31 +12:00
Matt Woodrow
73b28ad5c7 Bug 952721 - Don't crash if our surface allocation fails in TiledContentClient. r=Bas 2014-05-02 14:28:52 +12:00
chiajung hung
098a829ab1 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-30 21:52:00 -04:00
chiajung hung
81e92dcc54 Bug 959089 - Part 1: Implement a new protocol for manage shared buffers' allocation. r=vlad, r=gal 2014-04-30 21:50:00 -04:00
Ryan VanderMeulen
7fdf15b4dd Backed out changeset 01dd7c0d8f8d (bug 1002754) for gtest failures. 2014-05-01 12:55:02 -04:00
Kartikaya Gupta
22bf56948c Bug 1004459 - Log critical displayport values to rendertrace output as well. r=botond 2014-05-01 06:21:00 -04:00
Kartikaya Gupta
f39aac5071 Bug 1002754 - Don't store a pointer to the cross-process compositor parent as it may go bad; pull it on demand instead. r=rbarker, r=botond 2014-04-30 12:17:00 -04:00
Robert O'Callahan
31c20a20db Bug 995745 - Use LockPixels for WebGL readback directly into a DrawTarget instead of writing to an immutable snapshot. r=mattwoodrow 2014-05-01 11:12:41 +12:00
Ryan VanderMeulen
f95958fce0 Backed out changesets 74ef5120ae2f and d26dfd37031a (bug 924622) for frequent Android and OSX crashes.
CLOSED TREE
2014-04-30 13:21:07 -04:00
Jerry Shih
8eb89f85f6 Bug 993019 - Handle scheduling rendering task for cross-process rotation. r=mattwoodrow, r=nical 2014-04-27 22:22:00 -04:00
Nicolas Silva
2e2e95a471 Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-04-30 17:39:59 +02:00
Bas Schouten
126524c822 Bug 999584: Do not try to invalidate a null layermanager. r=nical 2014-04-29 22:33:12 +02:00
Bas Schouten
ab81497596 Bug 996745: Do not try to FinalizeFrame when there is no buffer. r=mattwoodrow 2014-04-29 22:33:11 +02:00
Bas Schouten
3d161b8148 Bug 999579: Get the feature level in the D3D11 compositor. r=nical 2014-04-29 22:33:11 +02:00
Bas Schouten
62876585d7 Bug 997517: Never try to use D2D for BufferTextureClients. r=nical 2014-04-29 22:33:10 +02:00
Kartikaya Gupta
a52f3f95dd Bug 907123 - Implement fling acceleration on multiple consecutive flings. r=botond 2014-04-29 09:45:13 -04:00
Kartikaya Gupta
36cf99e744 Bug 907123 - Move fling-related things into a new section in AsyncPanZoomController.h. r=botond 2014-04-29 09:45:09 -04:00
Carsten "Tomcat" Book
7ab12f0740 Backed out changeset ffe32dd3b558 (bug 959089) for assertions 2014-04-29 12:22:07 +02:00
Carsten "Tomcat" Book
201692bdbe Backed out changeset a89f08f4fd3e (bug 959089) 2014-04-29 12:21:52 +02:00
chiajung hung
01c16a7afc Bug 959089 - Separate GrallocBuffer allocations from Compositor thread(part2). r=nical 2014-04-28 20:46:00 +02:00
chiajung hung
e3f80bb4ff Bug 959089 - Separate GrallocBuffer allocations from Compositor thread(part1), r=vlad,gal 2014-04-28 20:46:00 +02:00
Kartikaya Gupta
c4f40dc0a4 Bug 1002482 - Log mTransformScale as part of the FrameMetrics dump. r=botond 2014-04-28 08:18:00 +02:00
Kartikaya Gupta
3d7ca49fed Bug 1002482 - Ensure the isDefault variable is computed before mFrameMetrics is modified. r=botond 2014-04-28 07:58:00 +02:00
Jonathan Watt
2a54bb27d4 Bug 1001683 - Convert a bunch of ReadPixelsIntoImageSurface callers to ReadPixelsIntoDataSurface callers (Moz2D migration). r=mattwoodrow 2014-04-29 00:26:54 +01:00
Wes Kocher
ebf5e47361 Backed out changeset 1201268ce090 (bug 993019) for possibly making Android J3 tests flaky 2014-04-28 15:56:47 -07:00
Benoit Jacob
f7e1422d92 Bug 924622 - Remove an assertion to complete the backout on a CLOSED TREE 2014-04-28 14:34:46 -04:00
Nicolas Silva
264f4d9481 Bug 924622 - Backout because of e10s mochitest regression on linux on a CLOSED TREE 2014-04-28 19:32:32 +02:00
Botond Ballo
6c9512555d Bug 1000633 - Avoid APZ data race in accessing mAnimation. r=kats 2014-04-25 13:38:09 -04:00
Ed Morley
fd0c43adba Backed out changeset ab970e182f57 (bug 907123) for assertions from AsyncPanZoomControllerTester 2014-04-28 16:06:55 +01:00
Ed Morley
0db6682830 Backed out changeset 729fb5ddc1b9 (bug 907123) 2014-04-28 16:06:32 +01:00
Kartikaya Gupta
eee6784ecd Bug 907123 - Implement fling acceleration on multiple consecutive flings. r=botond 2014-04-28 10:19:25 -04:00
Kartikaya Gupta
94728595ed Bug 907123 - Move fling-related things into a new section in AsyncPanZoomController.h. r=botond 2014-04-28 10:19:13 -04:00
Benoit Jacob
d8c1730c9a Bug 989144 - Convert EffectChain::mSecondaryEffects to be an EnumeratedArray - r=nical 2014-04-25 22:34:06 -04:00
Benoit Jacob
0aa3e9e8d9 Bug 987311 - Follow-up: Make CompositorD3D11 use EnumeratedArray to fix the build on MSVC 2012 (where typed enums are actually typed) - no review, bustage fix 2014-04-28 10:14:00 -04:00