Граф коммитов

2517 Коммитов

Автор SHA1 Сообщение Дата
Matt Woodrow 0b9458a071 Bug 907926 - Make ContentClientBasic support Azure content. r=nrc 2013-08-23 18:13:55 +12:00
Matt Woodrow e2c4e8b284 Bug 907926 - Supprt having different content/canvas backends in gfxPlatform. r=nrc 2013-08-23 18:13:55 +12:00
Matt Woodrow 18ef353f5a Bug 907011 - Add support for Azure in ThebesLayerD3D9. r=Bas 2013-08-23 16:51:27 +12:00
Benoit Girard e2fc533712 Bug 907286 - Implement Frame Counter for non OMTC basic. r=jmuizel,tnikkel
--HG--
extra : rebase_source : a2cf8295ead1af3f0a66491fd9455d37e7b3985d
2013-08-22 12:54:05 -04:00
Jim Mathies 085b011856 Bug 904214 - Add missing assert per review comments. r=nrc 2013-08-22 20:54:49 -05:00
Jim Mathies 739307aed0 Bug 904214 - Don't initialize component alpha blend state if its not in use. r=nrc 2013-08-22 19:28:03 -05:00
Jim Mathies 7e9f44a455 Bug 907243 - Move SetDPI to APZCTreeManager. r=kats 2013-08-22 19:28:02 -05:00
Kartikaya Gupta f2cdfca4a6 Bug 907977 - Don't null out the mApzcForInputBlock prematurely. r=roc 2013-08-23 00:03:43 -04:00
Ryan VanderMeulen 8dfeba9208 Merge inbound to m-c. 2013-08-22 15:42:18 -04:00
Ryan VanderMeulen 9114ff7734 Backed out changeset 230120afcbbf (bug 905589) for Android and B2G bustage on a CLOSED TREE. 2013-08-22 14:17:49 -04:00
Andreas Gal 15c39ccfd7 Bug 905589 - Use VBO instead of client side rendering. r=bas 2013-08-22 12:54:21 -04:00
Nicholas Cameron ac95649e48 Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical 2013-08-21 13:28:53 +12:00
Nicholas Cameron ae52eee957 Bug 902929. Assert that we don't have a compositable child for ImageBridgeClients. r=nical 2013-08-21 13:27:05 +12:00
Ms2ger f805d8d6eb Merge m-c to inbound 2013-08-22 10:38:48 +02:00
Ms2ger bdfaa84f5b Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger 1c4d224f0e Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
Ryan VanderMeulen 78bcb8af18 Merge inbound to m-c. 2013-08-21 17:14:32 -04:00
Kartikaya Gupta 9ab3d543fa Bug 898443 - Update loops to run forward and use a size_t variable. r=BenWa 2013-08-21 12:03:03 -04:00
Kartikaya Gupta 5e077ef19e Bug 898443 - Always use the innermost APZC containing all touch points for multi-touch inputs. r=BenWa 2013-08-21 12:03:03 -04:00
Kartikaya Gupta 0cfcca1de1 Bug 898443 - Completely extract the transformation calculation from GetTargetAPZC. r=BenWa 2013-08-21 12:03:03 -04:00
Kartikaya Gupta cadc35ef37 Bug 898443 - Ensure that all multitouch events following a START go to the same APZC instance. r=BenWa 2013-08-21 12:03:02 -04:00
Kartikaya Gupta 3c5825b89f Bug 898443 - Extract input transform calculations from GetAPZCAtPoint. No functional changes. r=BenWa 2013-08-21 12:03:02 -04:00
Kartikaya Gupta 9a113e1a19 Bug 898443 - Add a parent pointer to the AsyncPanZoomController class. r=BenWa 2013-08-21 12:03:02 -04:00
Ed Morley ed092d660e Merge mozilla-central and b2g-inbound 2013-08-21 13:10:57 +01:00
Kartikaya Gupta ad5d1ed934 Bug 907372 - Fix incorrect comment in FrameMetrics.h. r=k17e 2013-08-21 07:46:05 -04:00
Wes Kocher bfece22ab9 Backed out changeset 6356b67f6c87 (bug 902929) 2013-08-20 20:50:26 -07:00
Wes Kocher 5f8374e407 Backed out changeset 315c9f0af9bb (bug 902929) 2013-08-20 20:50:20 -07:00
Nicholas Cameron 01348ed72b Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical 2013-08-21 13:28:53 +12:00
Nicholas Cameron dc0aaf9d43 Bug 902929. Assert that we don't have a compositable child for ImageBridgeClients. r=nical 2013-08-21 13:27:05 +12:00
Nicholas Cameron 4bdcd5e9c7 Bug 907466. Support large canvases with d3d11. r=mattwoodrow 2013-08-21 13:13:57 +12:00
Jan Beich 21390e1de4 Bug 907837 - Don't include SPS headers directly. r=nrc 2013-08-22 19:11:51 +12:00
Jan Beich 58aa335563 Bug 907837 - Fix IWYU false positive to unbreak non-SPS build. r=nrc 2013-08-22 19:11:47 +12:00
Botond Ballo 0e5f86037c Bug 898580 - Remove updating of scroll offset in AsyncPanZoomController::NotifyLayersUpdated. It is now no longer needed by any platform. r=bbondy, r=kats 2013-08-15 11:30:27 -04:00
Nicholas Cameron 73aeda1397 Bug 903816. Include-what-you-use for gfx/layers. r=roc 2013-08-12 11:17:23 +12:00
Nicholas Cameron 0514eb1ecd Bug 903816. Fixups in non-layers files. r=roc 2013-08-12 11:15:10 +12:00
Matt Woodrow 92e3402f7c Bug 906147 - Make sure we lock component alpha textures in the correct order to prevent deadlocks. r=nrc 2013-08-21 11:49:31 +12:00
Kartikaya Gupta e20eec1804 Bug 906427 - When a touch event has multiple touch points, send it to the root APZC for the layer subtree. r=BenWa 2013-08-22 10:40:44 -04:00
Nicolas Silva baaa305040 Bug 907745 - Prepare for texture locking support. r=mattwodrow 2013-08-26 14:50:16 +02:00
Matt Woodrow 38ae2bdff7 Bug 900133 - Make sure we always set TEXTURE_DEALLOCATE_HOST when required. r=nical 2013-08-20 11:39:56 +12:00
Matt Woodrow 3b6adb72b1 Bug 900133 - Don't mark textures as being sent to the compositor until after we've drawn to them. r=nical 2013-08-20 11:39:55 +12:00
Matt Woodrow edd0212608 Bug 904620 - Always send a transaction when we get a WebGL update to ensure that we get a composite. r=nrc 2013-08-20 11:39:55 +12:00
Ryan VanderMeulen bb87caf4be Merge m-c to inbound on a CLOSED TREE. 2013-08-19 17:05:12 -04:00
Ryan VanderMeulen f035dd27c6 Merge m-c to b2g-inbound. 2013-08-19 11:53:02 -04:00
Kartikaya Gupta eeceed6abc Bug 906109 - Make the GestureEventListener realize when a touch point disappears. r=k17e
When receiving a touch event arrives that is missing previously-known
touch points, remove them from the list. This makes the GestureEventListener
more robust so that it doesn't keeping doing pinches when there should
be pans.
2013-08-19 09:38:43 -04:00
Nicholas Cameron 9dab8f05ab Bug 904343. Clear surface descriptors. r=nical. 2013-08-19 11:08:43 +12:00
Daniel Holbert 82e72ac9ca Bug 903065: Update switch statement in LayersLogging.cpp to include new FILTER_GOOD enum value. r=jrmuizel 2013-08-18 12:40:58 -07:00
Nicholas Cameron de9fb7e97c Bug 905790. Let canvases use fallback texure clients like images clients can. r=mattwoodrow 2013-08-18 18:46:21 +12:00
Nicholas Cameron d54a23dd47 Bug 903893. Backend fallback for OMTC. r=mattwoodrow 2013-08-18 18:46:16 +12:00
Chris Lord b1c2b07b0e Bug 747811 - Add gfxReusableImageSurfaceWrapper. r=BenWa
Add an implementation of gfxReusableSurfaceWrapper based on gfxImageSurface
and use it on Android to avoid the overhead of shared memory.
2013-08-19 14:59:27 +01:00
Chris Lord 46b4d68563 Bug 747811 - Separate gfxReusableSurfaceWrapper into a base class and implementation. r=BenWa
Split gfxReusableSurfaceWrapper into gfxReusableSurfaceWrapper and
gfxReusableSharedImageSurfaceWrapper, to allow for non gfxSharedImage-based
implementations.

--HG--
rename : gfx/thebes/gfxReusableSurfaceWrapper.cpp => gfx/thebes/gfxReusableSharedImageSurfaceWrapper.cpp
2013-08-19 14:59:25 +01:00
Benoit Girard ext:(%2C%20Chris%20Lord%20%3Cchrislord.net%40gmail.com%3E) 9bdf6932e4 Bug 747811 - Make the tiles backend safe across processes. r=nrc,BenWa
The tiles backend passes raw pointers to transfer tiled buffers between the
main thread and the compositor. This patch changes that to use shared
memory and tile descriptors instead, as well as changing the memory management
slightly to facilitate that.
2013-08-19 14:59:22 +01:00
Jeff Muizelaar 5bfbf126a7 Bug 898525. Separate out Gfx helpers into GfxMessageUtils.h. r=bent
This helps us include less.

--HG--
extra : rebase_source : bb9ca934a9dade9ef21cecfee7ae8e860f9c60c1
2013-07-26 15:28:31 -04:00
Ryan VanderMeulen 93247b9975 Merge m-c to inbound. 2013-08-16 21:58:51 -04:00
Wes Kocher a62c3344f1 merge b2g-inbound to central 2013-08-16 15:30:59 -07:00
Arnaud Sourioux 25dd048448 Bug 903112 - Replace this with MOZ_THIS_IN_INITIALIZER_LIST() in gfx/. r=jfkthame 2013-08-16 09:18:36 -04:00
Nicholas Cameron 886b3d9f6c Bug 904012. Remove a bogus assertion from ThebesLayerBuffer. r=mattwoodrow 2013-08-16 10:42:02 +12:00
Trevor Saunders acfc9e9cd6 bug 905410 - remove most remaining usage of nspr atomics outside of xpcom/ r=ehsan 2013-08-12 05:51:49 -04:00
Jonathan Kew 787e2ca17f Bug 905780 - actually call the function, don't just interpret its address as a boolean. r=nrc 2013-08-15 22:18:54 +01:00
Botond Ballo f3c2ea43d5 Bug 895905 - B2G mechanism for content to inform APZC about scroll events. Handles multi-APZC. r=kats 2013-08-08 15:56:08 -04:00
Kartikaya Gupta 9dd2faacc5 Bug 890280 - Apply proper transformations when sending inputs to the APZC and back to the DOM. r=BenWa 2013-08-14 10:15:54 -04:00
Nicolas Silva 510cee9244 Bug 858914 - Various TextureClient/Host cleanups. r=nrc. 2013-08-08 14:53:12 +02:00
Adrian May c1c1f4e2e2 Bug 877115 - Moz2Dify GLContext and GLTextureImage. r=nical 2013-08-13 15:44:53 +02:00
Kartikaya Gupta 61f8f7022b Bug 903460 - Back out cset 9813b854b713 because it regresses panning behaviour on Android. r=me 2013-08-12 08:32:11 -04:00
Phil Ringnalda d2099e030b Back out d393cfeb5dbf:9f82224bb8a3 (bug 903816) for Android reftest failures
CLOSED TREE
2013-08-11 19:21:17 -07:00
Matt Woodrow b151a2e534 Bug 902339 - Null check mImageHost in ImageLayerComposite before trying to access it. r=nrc 2013-08-12 12:11:09 +12:00
Nicholas Cameron 5cd4425728 Bug 903816. Include-what-you-use for gfx/layers. r=roc 2013-08-12 11:17:23 +12:00
Nicholas Cameron de3e98e1de Bug 903816. Fixups in non-layers files. r=roc 2013-08-12 11:15:10 +12:00
Kartikaya Gupta 9a898e566b Bug 903460 - Apply the async transform after the CSS transform for a given layer. r=BenWa
Since the CSS transform includes a 1/resolution scaling factor, the translation
amount in the async transform is now in LayoutDevicePixels instead of LayerPixels.
The shadow tree transform is now effectively:
(1/resolution * rest of CSS transform * async translation * async resolution)
Whereas before it was
(async translation * async resolution * 1/resolution * rest of CSS transform)
2013-08-10 11:19:47 -04:00
Jeff Muizelaar 8818ab3b07 Bug 897532. Add support for better filtering in Azure. r=bas
This fixes the quality regression on OS X.

--HG--
extra : rebase_source : f045caa95800d05098ea49e05fe90fc933f8849f
2013-07-31 14:46:25 -04:00
Ryan VanderMeulen 97a5f277f4 Backed out changeset ce3a1df4d559 (bug 875247) for mochitest-mc crashes. 2013-08-09 17:56:15 -04:00
Chris Pearce c1ed4d351f Bug 875247 - Use DXVA2 via D3D11 on Windows 8 to avoid readback of video frames when we turn on OMTC on Windows 8. r=Bas,padenot,gps 2013-08-10 08:17:44 +12:00
David Zbarsky 9841925526 Bug 903819 - Don't include Layers.h everywhere, part 4 r=nrc 2013-08-20 15:45:30 -04:00
Po-Chun Chang 11df259b10 Bug 897258 - Avoid wasted work in GestureEventListener::HandleInputEvent(). r=kentuckyfriedtakahe 2013-08-09 15:01:56 -04:00
Daniel Holbert 0fdeed96a8 Bug 903071: Drop unused variable 'gfxSize' from ImageDataSerializer::ComputeMinBufferSize. r=nical 2013-08-09 15:07:32 +02:00
Nicholas Cameron df153198ec Bug 899435. Part 4 - smooth resizing with OMTC. r=roc 2013-08-09 11:32:26 +12:00
Nicholas Cameron a36037a10d Bug 902330. Initialise shmem texture clients properly. r=mattwoodrow 2013-08-09 11:32:25 +12:00
Nicholas Cameron 6668fc7c4a Bug 902330. Fix the SupportsAzureContent mess. r=mattwoodrow 2013-08-09 11:32:19 +12:00
Nicholas Cameron 03f19bd8ae Bug 901722. Part 2 - changes to generated files. r=bas 2013-08-09 11:30:19 +12:00
Nicholas Cameron 70b1e5d486 Bug 901722. Implement component alpha for d3d11 compositor. r=Bas 2013-08-09 11:30:19 +12:00
Nicholas Cameron 3351ebf4f3 Bug 901722. Tweek to d3d9 compositor blend modes. r=bas 2013-08-09 11:30:19 +12:00
Nicholas Cameron 0d12b9587b Bug 902329. Implement component alpha thebes layers with Azure. r=mattwoodrow 2013-08-09 11:30:19 +12:00
Nicholas Cameron dcdeebdb8d Bug 901722. Fix up component alpha/sub-pixel AA enablement. r=mattwoodrow 2013-08-09 11:30:19 +12:00
Nicholas Cameron bfd24951d3 Bug 901404. Support Azure with single buffered thebes layers. r=mattwoodrow 2013-08-09 11:30:18 +12:00
Nicholas Cameron a43564a445 Bug 902528. Check we still have a render target in BeginFrame. r=Bas 2013-08-09 11:30:18 +12:00
Ed Morley e4bcd96d08 Merge mozilla-central and inbound 2013-08-07 16:19:03 -07:00
Edwin Flores 803c0fbe47 Bug 892934 - Pass RGB image format into CreateTextureImage r=mattwoodrow 2013-08-08 10:38:21 +12:00
Kartikaya Gupta 66fff2ca46 Bug 900742 - Fix APZC hit testing problem introduced by bug 866232. r=BenWa 2013-08-06 16:20:14 -04:00
Ryan VanderMeulen d3e2486217 Backed out changeset aada9eac6fd3 (bug 900742) for checktest failures. 2013-08-06 12:50:36 -04:00
Kartikaya Gupta 405d81dc18 Bug 900742 - Fix APZC hit testing problem introduced by bug 866232. r=BenWa 2013-08-06 10:39:19 -04:00
Milan Sreckovic 56587a4366 Bug 900729: Make TextureFlags constant names (UseNearestFilter, NeedsYFlip, AllowRepeat, NewTile, ComponentAlpha) all caps in CompositorTypes.h and prefix them with TEXTURE_ for consistency and uniqueness. r=nsilva. 2013-08-06 13:36:35 -04:00
Kartikaya Gupta 4fe9002ec0 Bug 901339 - Fix the focal point when zooming in and out. r=BenWa 2013-08-07 12:34:16 -04:00
Nicolas Silva 8f66891960 Bug 900393 - Implement missing method in DeprecatedSharedRGBImage. r=eflores 2013-08-06 18:47:44 +02:00
Nicolas Silva ab50fdabca Bug 900793 - Rename TextureSourceOGL::ReleaseTexture into UnbindTexture. r=nrc 2013-08-05 12:15:21 +02:00
Nicolas Silva 8d92d2210c Bug 899667 - Make layer borders more readable. r=BenWa 2013-08-03 00:50:17 +02:00
Kartikaya Gupta 6228032f7b Bug 899810 - Ensure that mFrameMetrics is updated properly in NotifyLayersUpdated. r=bbondy
In some cases the mScrollOffset was getting updated on the mFrameMetrics
before the IsDefault() check, so the IsDefault() check would return false
when it should have returned true. Calling IsDefault() on the
mFrameMetrics before writing stuff into it fixes this.
2013-08-04 12:26:54 -04:00
Nicholas Cameron f742a26a6e Bug 874721, bug 899435. D3D9 compositor and windows OMTC window resizing. r=Bas, mattwoodrow 2013-08-04 19:46:17 +12:00
Matt Woodrow c297e37460 Bug 900133 - Add TEXTURE_IMMEDIATE_UPLOAD to avoid racing when single buffered. r=nical 2013-08-03 13:30:28 -04:00
Matt Woodrow 7629da8ce8 Bug 900133 - Make sure we always call OnTransaction when we might recreate textures. r=nical 2013-08-03 13:29:48 -04:00
Matt Woodrow 1d98457e70 Bug 893302 - Implement CanvasClient2D on top of NewTextures. r=nical 2013-08-03 13:29:37 -04:00
Matt Woodrow c7f6c4749b Bug 893302 - Rename the CanvasClient class to include Deprecated so we can implement one on top of NewTextureHost. r=nical 2013-08-03 13:29:28 -04:00