Commit Graph

2166 Commits

Author SHA1 Message Date
Nicolas Silva
7fcd49c55c Bug 867656 - Part 1. Implement GetAsSurface for GL TextureHosts. r=bjacob 2013-05-26 04:43:43 +02:00
Bas Schouten
5ea6ee5f3a Bug 843555 - Part 1: Use a content texture client for Canvas. r=nical 2013-05-28 14:12:01 +02:00
David Zbarsky
3b94c9b291 Bug 788549 Part 4: Add the ability to pause and sample animations on compositors at a specified time r=roc 2013-05-27 16:47:45 -07:00
David Zbarsky
426d89524a Backed out changeset 6c1cf4694a13 for not building on windows and android 2013-05-27 17:14:33 -07:00
David Zbarsky
47b801fa22 Bug 788549 Part 4: Add the ability to pause and sample animations on compositors at a specified time r=roc 2013-05-27 16:47:45 -07:00
Mike Shal
5169c0a913 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Markus Stange
6abeb68348 Bug 876256 - Restore the previous scissor rect at the end of CompositorOGL::DrawQuad. r=mattwoodrow 2013-05-27 14:48:15 +02:00
Chris Lord
742ab29f38 Bug 870055 - Fix AsynPanZoomController continuing movement when touch point doesn't move. r=kats 2013-05-24 15:53:58 +01:00
Anthony Jones
2301455d33 Bug 868047 - Use a PresShell ID to eliminate stale APZC events; r=roc,benwa 2013-05-24 09:43:36 +08:00
Nicolas Silva
9b4532e327 Bug 874726 -split ShmemYCbCrImage into YCbCrImageDataSerializer and YCbCrImageDataDeserializer. r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShmemYCbCrImage.cpp => gfx/layers/YCbCrImageDataSerializer.cpp
rename : gfx/layers/ipc/ShmemYCbCrImage.h => gfx/layers/YCbCrImageDataSerializer.h
2013-05-23 09:17:10 +02:00
Markus Stange
5f3753297b Bug 861332 - Ensure that the drawing rect used for DrawWindowOverlay doesn't depend on the window's position on the screen, so that for example the 10.6 window resizer is drawn in the correct place. r=mattwoodrow
--HG--
extra : rebase_source : d47ea3f871a619bfab065dd0eddb74d8c309fed1
2013-05-22 11:42:49 +02:00
Matt Woodrow
e32f79e41c Bug 874369 - Use normal memory instead of Shmem when only sharing between processes. r=Bas 2013-05-22 15:04:12 +08:00
Matt Woodrow
153f37adaa Backout 85d108f0b422 (bug 874369) for causing b2g reftest failures. 2013-05-22 13:18:19 +08:00
Matt Woodrow
d840fcc9ca Bug 874369 - Use normal memory instead of Shmem when only sharing between processes. r=Bas 2013-05-22 11:36:39 +08:00
Matt Woodrow
2593e3ff92 Bug 874370 - Make ContentClientIncremental use a no-swap transaction. r=nical 2013-05-22 11:36:38 +08:00
Matt Woodrow
69ba89c3f3 Bug 874367 - Release TextureUpdateRequest memory in the destructor to prevent leaks. r=nical 2013-05-22 11:36:38 +08:00
Ed Morley
fa097e6aaa Backed out changeset 1d056bb94292 (bug 779395) for reftest failures on Tegras 2013-05-21 14:03:43 +01:00
David Zbarsky
61aaee48f7 Fix an incorrect comment, no bug, r=me 2013-05-21 18:22:45 +08:00
David Zbarsky
f4fefe3c41 Bug 779395 - Add support for skew transforms to compositor-driven animations r=dbaron 2013-05-21 18:22:44 +08:00
Juan Gomez
d51e36989b Bug 873486 - Remove wrong C++11 virt-specifier MOZ_OVERRIDE in method definition. r=mattwoodrow 2013-05-20 16:31:07 +02:00
Chris Lord
6116886dbc Bug 869696 - Use an alternative method to unlock gralloc textures on Adreno (TM) 205. r=bjacob
Targeting the NULL EGLImage causes slowness on the Geeksphone Peak,
and assumedly, other "Adreno (TM) 205" devices. Achieve the same
effect by deleting the GL texture instead.
2013-05-15 16:45:08 +01:00
Chris Pearce
f48a90724f Bug 872375 - Specify picture region in D3D9SurfaceImage. r=padenot 2013-05-20 13:14:13 +08:00
David Zbarsky
85e6dd23ef [Bug 873679] Remove bogus assertion in AsyncCompositionManager.cpp r=roc 2013-05-19 19:17:22 -07:00
Gregory Szorc
cda3054fe8 Bug 863069 - Part 4: Reorder lists to be alphabetical; r=ted
--HG--
extra : rebase_source : 87ed9d862bc32824d518438b0be74b47a77c198a
2013-05-16 15:37:18 -07:00
Ryan VanderMeulen
995052ce79 Backed out changeset 94978dab7186 (bug 863069) for build bustage.
CLOSED TREE
2013-05-16 13:22:02 -04:00
Gregory Szorc
4b45bf9e76 Bug 863069 - Part 4: More sorting of existing lists; r=ted 2013-05-16 09:53:27 -07:00
Ted Mielczarek
3cfd62c3d2 bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Robert O'Callahan
0eaf9dc67a Bug 868082. Allow SetIsFixedPosition to be used on layers with transforms. In CompositorParent, use the animated transform value as the base transform in CompositorParent::TransformFixedLayers when it has been set by the animation sampler. r=cwiis
--HG--
extra : rebase_source : 3b809428bf8740753a98defc30ad7b7d96339442
2013-05-17 00:34:24 +12:00
Matt Woodrow
125967cb7d Bug 870211 - Add ContentClientIncremental. r=nical 2013-05-16 15:45:43 +12:00
Matt Woodrow
f0fe705373 Bug 870211 - Add new IPC messages to LayersTransaction for doing incremental updates to textures. r=Bas 2013-05-16 15:45:43 +12:00
Matt Woodrow
3f0104ee7d Bug 870211 - Add ContentHostIncremental. r=nical 2013-05-16 15:45:43 +12:00
Matt Woodrow
977cd1e212 Bug 870211 - Make TextureHosts support updating from partial surfaces. r=Bas 2013-05-16 15:45:43 +12:00
Matt Woodrow
ced7f215ab Bug 870211 - Expose details about possible texture upload limitations in TextureFactoryIdentifier. r=nical 2013-05-16 15:45:43 +12:00
Matt Woodrow
8e23ffcbe5 Bug 870211 - Tidy up ContentClient interface so that it doesn't depend on ThebesLayerBuffer. r=roc 2013-05-16 15:45:42 +12:00
James Willcox
51a9c43eed Bug 871390 - Update WebGL canvases async, not 2D ones r=mattwoodrow 2013-05-14 21:16:07 -04:00
Trevor Saunders
ff816988f1 bug 869284 - fix some gcc warnings for windows widgetish stuff r=roc 2013-05-06 22:04:02 -04:00
Matt Woodrow
d50378ddd9 Bug 756601 - Use NS_roundf so that it compiles on windows. CLOSED TREE 2013-05-10 09:50:33 +12:00
Matt Woodrow
4ef57ae4bc Bug 756601 - Fix bugs with OMTC component alpha. r=roc 2013-05-10 09:02:50 +12:00
Matt Woodrow
bf2a751e54 Bug 756601 - Send the values of mScaleToSize/mScaleMode across IPC. r=roc 2013-05-10 09:02:50 +12:00
Matt Woodrow
7499469f69 Bug 868259 - Fix BasicCompositor rendering. r=roc 2013-05-10 09:02:50 +12:00
Matt Woodrow
637c9d31ba Bug 756601 - Fix a few small layers refactoring bugs. r=Bas 2013-05-10 09:02:49 +12:00
Matt Woodrow
c3ddb34700 Bug 756601 - Setup PaintWillResample correctly. r=roc 2013-05-10 09:02:49 +12:00
Matt Woodrow
dfe7afb99b Bug 756601 - Use CreateThebesSurfaceAliasForDrawTarget_hack in CopyableCanvasLayer. r=roc 2013-05-10 09:02:49 +12:00
Matt Woodrow
b56f232983 Bug 756601 - Round texture coords to the nearest texel. r=Bas 2013-05-10 09:02:49 +12:00
Matt Woodrow
99faba83a1 Bug 756601 - Setup our OpenGL surface before compositing. r=mstange 2013-05-10 09:02:49 +12:00
Matt Woodrow
dcc2ad0a3a Bug 756601 - Use the right texture target when allocating texture in TextureHostOGL. r=Bas 2013-05-10 09:02:48 +12:00
Jeff Muizelaar
04265dd519 Bug 863498. Get the SurfaceTexture transform every draw. r=nical
ShadowImageLayerOGL::RenderLayer used to call gl()->GetSharedHandleDetails()
directly and uses that result.

This makes us do something similar. As a concequence we also drop the
mTextureTransform member because we are not caching it anymore.

I do wonder if it would make more sense for the content thread to send
the transform along with the update to make sure that it always matches.
This would also make it so that we have no chance of causing a GC
in the compositor to get the transform by calling through java.

--HG--
extra : rebase_source : 7520870d8f0f0bb81c4acbb3b2011f8b0056d53f
2013-05-08 18:04:59 -04:00
Ryan VanderMeulen
eca9fedd98 Merge m-c to inbound. 2013-05-09 13:21:14 -04:00
Michael Wu
a78065dba5 Bug 870375 - back out bug 869011 for startup crashes on devices 2013-05-09 13:01:22 -04:00
Michael Wu
1727e4c18f Backed out changeset 7e4d9be02b8f (bug 869011) for causing bug 870375 2013-05-09 13:00:14 -04:00
Ed Morley
2607b53564 Backed out changeset a23a23055e13 (bug 863498) for compilation failures on a CLOSED TREE 2013-05-09 17:31:59 +01:00
Jeff Muizelaar
9784131430 Bug 863498. Get the SurfaceTexture transform every draw. r=nical
ShadowImageLayerOGL::RenderLayer used to call gl()->GetSharedHandleDetails()
directly and uses that result.

This makes us do something similar. As a concequence we also drop the
mTextureTransform member because we are not caching it anymore.

I do wonder if it would make more sense for the content thread to send
the transform along with the update to make sure that it always matches.
This would also make it so that we have no chance of causing a GC
in the compositor to get the transform by calling through java.
2013-05-08 18:04:59 -04:00
Jim Mathies
a8b390f9d9 Bug 830347 - Fixup Windows omtc code so that it builds builds with the 601 sdk. r=bas 2013-05-09 10:32:50 -05:00
Jacek Caban
ae698a2c3f Bug 830347 - Fixed TextureD3D11.h compilation on GCC. 2013-05-08 13:48:56 +02:00
Joe Drew
146e468252 Bug 869011 - Use the correct shader for RGBX gralloc textures. r=bjacob
--HG--
extra : rebase_source : cb20795caae616cbbaa7dcbe568d51afcc155e35
2013-05-06 14:27:37 -04:00
Bas Schouten
a999d47355 Bug 830347 - Part 2: Add the code for CompositorD3D11. r=jrmuizel 2013-05-03 19:34:29 +02:00
Kyle Huey
19ffa23570 Merge backout of bug 830347. 2013-05-08 12:06:17 -07:00
Kyle Huey
de21211adf Back out bug 830347. 2013-05-08 12:04:11 -07:00
Mark Banner
26ea3b3736 Bug 863069 - Part 2: Sort lists in moz.build files (mac specific); r=gps 2013-05-08 19:31:52 +01:00
Bas Schouten
745964b1cd Bug 830347 - Part 2: Add the code for CompositorD3D11. r=jrmuizel 2013-05-03 19:34:29 +02:00
Jacek Caban
9a7da7c34a Bug 830347 - Fixed TextureD3D11.h compilation on GCC.
--HG--
extra : rebase_source : 150b94d6bab35540e42a9e2bbd75492a2c3a9959
2013-05-08 13:48:56 +02:00
Makoto Kato
eada8e34f0 Bug 800220 - Part 1. Replace PL_strlen with strlen. r=ehsan 2013-05-08 12:40:12 +09:00
Ryan VanderMeulen
e507d01d4b Merge inbound to m-c. 2013-05-07 22:10:19 -04:00
Michael Wu
b65992d857 Bug 869251 - Disable omx decoder and camera on gonk-JB, r=doublec,glandium 2013-05-02 17:21:22 -04:00
Benoit Jacob
009f164aa1 Bug 868556 - We are not using gralloc on b2g anymore - r=vladv 2013-05-03 22:57:18 -04:00
Chris Pearce
531c91fb5b Bug 847267 - Add new image class to wrap D3D surfaces. r=Bas 2013-05-04 22:12:40 +12:00
Phil Ringnalda
1aef9755fb Merge Birch and m-c 2013-05-03 19:38:56 -07:00
Gregory Szorc
522764dec4 Bug 863069 - Part 1: Sort lists in moz.build files; r=mshal 2013-05-03 09:54:45 -07:00
Michael Wu
5ac9873f58 Bug 868065 - Move GraphicBuffer.h include out of ImageContainer.h, r=vlad 2013-05-02 12:56:09 -04:00
Kartikaya Gupta
50eb862251 Bug 867582 - Make the Axis overscroll correction use floats for more correctness. r=ajones 2013-05-02 09:24:16 -04:00
James Willcox
ff9fc3204f Bug 863223 - Make canvas updates asynchronous once again r=nrc 2013-05-01 19:24:27 -04:00
Nicolas Silva
11c6d3c7eb Bug 860146 - Add layers.draw-borders pref to see how a page is layered. r=jrmuizel 2013-03-21 18:08:01 +01:00
Kartikaya Gupta
0a74d31358 Bug 867269 - Fix ifdef condition from ea568a1576e5. r=me DONTBUILD 2013-05-01 16:10:17 -04:00
Kartikaya Gupta
e6a4d9d0a8 Bug 866184 - Update SyncViewportInfo and SyncFrameMetrics to take a gfx::Point instead of floats. r=BenWa 2013-05-01 14:12:08 -04:00
Kartikaya Gupta
3a5f787572 Bug 867269 - Fix breakage in SyncFrameMetrics override. r=nrc 2013-05-01 10:49:27 -04:00
Matt Woodrow
1eab6c9792 Bug 864287 - Add back code to readback IOSurface plugins when using BasicLayers. r=BenWa 2013-05-01 17:03:27 +12:00
Matt Woodrow
99f82e605d Bug 867474 - Split BasicShadowableLayerManager into a separate ClientLayerManager. r=nrc
--HG--
rename : gfx/layers/basic/BasicCanvasLayer.cpp => gfx/layers/CopyableCanvasLayer.cpp
rename : gfx/layers/basic/BasicCanvasLayer.h => gfx/layers/CopyableCanvasLayer.h
rename : gfx/layers/basic/BasicCanvasLayer.cpp => gfx/layers/client/ClientCanvasLayer.cpp
rename : gfx/layers/basic/BasicCanvasLayer.h => gfx/layers/client/ClientCanvasLayer.h
rename : gfx/layers/basic/BasicColorLayer.cpp => gfx/layers/client/ClientColorLayer.cpp
rename : gfx/layers/basic/BasicContainerLayer.cpp => gfx/layers/client/ClientContainerLayer.cpp
rename : gfx/layers/basic/BasicContainerLayer.h => gfx/layers/client/ClientContainerLayer.h
rename : gfx/layers/basic/BasicImageLayer.cpp => gfx/layers/client/ClientImageLayer.cpp
rename : gfx/layers/basic/BasicLayerManager.cpp => gfx/layers/client/ClientLayerManager.cpp
rename : gfx/layers/basic/BasicLayers.h => gfx/layers/client/ClientLayerManager.h
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/client/ClientThebesLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/client/ClientThebesLayer.h
rename : gfx/layers/basic/BasicTiledThebesLayer.cpp => gfx/layers/client/ClientTiledThebesLayer.cpp
rename : gfx/layers/basic/BasicTiledThebesLayer.h => gfx/layers/client/ClientTiledThebesLayer.h
2013-05-01 17:03:25 +12:00
Matt Woodrow
b00d0c2090 Bug 865104 - Implement a BasicCompositor. r=nrc 2013-05-01 12:42:05 +12:00
Daniel Holbert
d04b8f699b Bug 867420: Annotate AsyncPanZoomController as MOZ_FINAL to calm GCC Wdelete-non-virtual-dtor build warning. blanket-r=ehsan 2013-04-30 15:32:03 -07:00
Bas Schouten
b985c54147 Bug 866952: Unregister from old GrallocBufferActor when switching buffers. r=bjacob 2013-04-30 12:14:21 +02:00
Bas Schouten
bf3eb8c117 Bug 864017: Deal with GrallocPlanarYCbCrImage on the client side. r=bjacob 2013-04-30 12:14:20 +02:00
Bas Schouten
41fc08e940 Bug 866521: Deal with other PixelFormats for Gralloc buffers. r=bjacob 2013-04-30 12:14:20 +02:00
Nicholas Cameron
8bca207e89 Bug 788319. Rename RenderToEGLSurface. r=kats 2013-04-30 15:16:04 +12:00
Nicholas Cameron
05710d2e22 Bug 788319, fixups to make EGL work with gtk. r=bjacob 2013-04-30 15:16:04 +12:00
Nicholas Cameron
5e9cff53e2 Bug 861727. Refactor CompositorParent a bit. r=BenWa
--HG--
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/composite/AsyncCompositionManager.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/composite/AsyncCompositionManager.h
2013-04-28 18:46:30 +12:00
Benoit Jacob
634314d956 Bug 862324 - Let the PGrallocBufferParent inform the TextureHost when it's going away - r=nrc 2013-04-26 23:31:53 -04:00
Jeff Muizelaar
670b423305 Bug 863392 - Disconnect layer during abnormal shutdown - r=nical 2013-04-26 15:18:16 -04:00
Kartikaya Gupta
5d262f9292 Bug 839641 - Add a syncFrameMetrics code path to push viewport changes from APZC to Java. r=Cwiiis, BenWa 2013-04-26 13:26:39 -04:00
Aryeh Gregor
f0404a303a Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Chris Lord
cb9c55afb6 Bug 858969 - Refactor dynamic toolbar so page is offset and not overlapped. r=kats,nrc
Refactor the dynamic toolbar code so that the ownership of various properties
is clearer, and the page is offset by the toolbar instead of being overlapped.
This fixes problems with the scroll origin of the page not corresponding to
the visible origin on the screen.
2013-04-25 18:47:08 +01:00
Nicolas Silva
f2669ce1ed Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc 2013-04-25 18:25:33 -04:00
Benjamin Chen
cc0744c9bf Bug 862240 - Add null checking and reset the runnable member pointer when entering runnable method. r=drs 2013-04-25 03:58:10 +08:00
Ryan VanderMeulen
4b7c54d033 Backed out changeset 684a5ca2efb7 (bug 858969) for Android M3 failures.
CLOSED TREE
2013-04-25 10:56:54 -04:00
Nicholas Cameron
02768f4b6a Bug 861636. Add some null checking to the ensure texture path and make EnsureTextureHost return void. r=nical 2013-04-25 02:32:43 +12:00
Chris Lord
5671b1d883 Bug 858969 - Refactor dynamic toolbar so page is offset and not overlapped. r=kats,nrc
Refactor the dynamic toolbar code so that the ownership of various properties
is clearer, and the page is offset by the toolbar instead of being overlapped.
This fixes problems with the scroll origin of the page not corresponding to
the visible origin on the screen.
2013-04-24 17:06:23 +01:00
Ryan VanderMeulen
ea8d3fdd0b Backed out changeset 4b7de1f2b4a0 (bug 856079) for various test failures.
CLOSED TREE
2013-04-24 11:28:05 -04:00
Nicolas Silva
5be0bb6011 Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc 2013-04-24 15:40:26 -04:00
Nicolas Silva
a1ee3bf807 Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-24 14:42:40 -04:00
Nicholas Cameron
95eddc0e03 Bug 863968. Don't unbind frame buffer if we didn't composite. r=bjacob 2013-04-23 02:59:50 +12:00
Ehsan Akhgari
93b18e529b Backed out changeset fdaa0659fe13 (bug 863324) because of build bustage on a CLOSED TREE
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 18:12:15 -04:00
Ehsan Akhgari
d4f13dfcf1 Backed out changeset 86959499a5b8 (bug 856079) because of build bustage 2013-04-22 17:44:12 -04:00
Nicolas Silva
3a758b73a0 Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc 2013-04-22 18:41:29 -04:00
Nicolas Silva
faf423d4c4 Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-22 22:51:11 -04:00
Ryan VanderMeulen
42cef9be70 Backed out changeset ddf944cc292d (bug 863324) for Android bustage on a CLOSED TREE.
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 14:47:16 -04:00
Nicolas Silva
bb0bda95b2 Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-22 18:07:48 -04:00
Matt Woodrow
7f0c97bfe7 Bug 809273 - Remove unused BasicShadowContainerLayer. r=nrc 2013-04-22 14:40:53 +12:00
Matt Woodrow
1d2c17f6ac Bug 809273 - Make mUseIntermediateSurface and mSupportsComponentAlpha on BasicShadowableContainerLayers match the compositor. r=roc 2013-04-22 14:40:52 +12:00
Matt Woodrow
fbeb0e7f79 Bug 809273 - Add code handling dual buffers in ThebesLayerBuffer. r=roc 2013-04-22 14:40:52 +12:00
Matt Woodrow
23ba974c05 Bug 809273 - Add code for handling dual buffers in ContentHost. r=nrc 2013-04-22 14:40:52 +12:00
Matt Woodrow
1b4925d2fb Bug 809273 - Remove old buffer provider code. r=nrc 2013-04-22 14:40:52 +12:00
Matt Woodrow
4041b4fc04 Bug 809273 - Let ContentHost create an EffectComponentAlpha if necessary. r=nrc 2013-04-22 14:40:52 +12:00
Matt Woodrow
861c0c7d80 Bug 809273 - Add AutoLockTextureHost and use it to avoid needing to manually unlock. r=nrc 2013-04-22 14:40:52 +12:00
Matt Woodrow
4dc092eab6 Bug 862556 - Make nsChildView.mm::DrawWindowOverlay thread safe. r=nrc 2013-04-22 14:40:51 +12:00
Ms2ger
93a0f1af78 Merge m-c to m-i. 2013-04-21 09:54:41 +02:00
Ms2ger
7d1aa56305 Bug 846634 - Followup: remove straggler EXPORT definitions; r=mshal 2013-04-21 08:41:06 +02:00
Ed Morley
cab1779932 Backed out changeset faf24511d2c6 (bug 861636) for Android mochitest-2 failures 2013-04-19 11:57:48 +01:00
Nicholas Cameron
585d4dca7f Bug 861636. Add some null checking to the ensure texture path. r=nical 2013-04-19 19:33:02 +12:00
Kartikaya Gupta
fa611df2be Bug 833964 - Don't keep a dangling pointer to a task that is about to get deleted. r=drs 2013-04-18 15:43:17 -04:00
Daniel Holbert
05b690b216 Bug 863043: Move CompositorOGL::Initialize's helper-nsRunnable from function-scope to class-scope to fix build warning about ignored visibility attribute. r=Bas 2013-04-17 15:34:26 -07:00
Kartikaya Gupta
df9cf426fc Bug 860613 - Add an API to bind an APZC instance to a Layer. r=BenWa 2013-04-17 17:39:13 -04:00
Kartikaya Gupta
07c6f3a6d8 Bug 860613 - Remove CompositorParent::GetDefaultPanZoomController (patch from romaxa/tatiana). r=BenWa 2013-04-17 17:39:12 -04:00
Benoit Jacob
3919709af4 Bug 860441 - trivial compile fix on non-gonk - no review, CLOSED TREE 2013-04-17 17:18:15 -04:00
Benoit Jacob
906276315a Bug 860441 - Camera preview update is not smooth on gonk - r=nsilva 2013-04-17 16:56:03 -04:00
Daniel Holbert
3bec57eee8 Bug 862621: Remove unused variable 'shmType' from SharedPlanarYCbCrImage::Allocate. r=Bas 2013-04-17 10:08:39 -07:00
Nicholas Cameron
f75d29a226 Bug 862236, check we have a compositable before using it as a mask layer. r=mattwoodrow 2013-04-17 17:10:50 +12:00
Matt Woodrow
7702f1de96 Bug 860615 - Remove MacIOSurfaceImage. r=BenWa 2013-04-17 14:21:07 +12:00
Matt Woodrow
0d81d85a4b Bug 860615 - Add SharedTextureHandle support to ImageLayerOGL. r=BenWa 2013-04-17 14:21:06 +12:00
Matt Woodrow
e86ee52760 Bug 844693 - Remove MacIOSurfaceImage::SetUpdateCallback. r=BenWa 2013-04-17 14:21:06 +12:00
Nicholas Cameron
9a37c9d3fd Bug 862106. Use Create*Client directly. r=nical
--HG--
extra : rebase_source : d903db2fcb68bbccff9548dfbcd215d9a25ba41c
2013-04-17 09:36:06 +12:00
Nicholas Cameron
ec2b053649 Bug 862064; use PCompositable for tiled layers and add TiledContentClient. r=nical
--HG--
extra : rebase_source : b0055e13b661f78bc0e7168c0df8c6082cfdb34e
2013-04-17 09:36:06 +12:00
Nicholas Cameron
3a4be4332a Bug 861490, fix crash in MaybeDrawRoundedBottomCorners with OMTC. r=mattwoodrow
--HG--
extra : rebase_source : 849e63417a94cd260e6722c83018f9937c0cb339
2013-04-17 09:35:57 +12:00
Mike Shal
df7deac25b Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Benoit Jacob
e996b0a66e Bug 863397 - Trim ImageLayerOGL from B2G paths (it's no longer used on B2G) - r=Bas 2013-04-20 10:08:18 -04:00
Ehsan Akhgari
c0dcd7d853 Backed out changeset 4440571ee8fb (bug 805406) because of Windows reftest failures 2013-04-19 16:05:00 -04:00
Bas Schouten
47b829f60a Bug 805406: Reduce memory usage by removing GDI_COMPATIBLE flag. r=jrmuizel 2013-04-19 18:47:40 +02:00
Nicholas Cameron
0bdd5c7abb Bug 861099, remove mBufferIsOpaque. r=mattwoodrow
--HG--
extra : rebase_source : 89b98f9a1d73bc549fe718e52882e71c42dd6d67
2013-04-16 11:43:22 +12:00
Nicholas Cameron
5537f1395c Bug 861731, remove redundent Connect, Attach call. r=nical
--HG--
extra : rebase_source : af4a88fd5ddd8cecfceea49e88eebb37bf833517
2013-04-16 09:40:47 +12:00
Jonathan Watt
297949d661 Bug 861805 - Stop layers from snapping transforms for SVG content. r=roc 2013-04-15 13:30:28 +01:00
Chris Lord
d3109edb44 Bug 856932 - Fix async scrolling of auto-positioned fixed position elements. r=nrc
Layers representing auto-positioned fixed position elements should not be
offset by the fixed layer margins.
2013-04-15 09:31:48 +01:00
Nicholas Cameron
7e452fa8da Bug 861127, refactor ContentClientRemote::CreateBuffer. r=Bas 2013-04-15 13:25:14 +12:00
Chris Lord
f38f1c6f87 Bug 861246 - Fix async scrolling of fixed layer margins. r=nrc
Make sure the fixed margins are sent over IPC to shadow layers.

--HG--
extra : rebase_source : ab26359f1ebf2ea130ee65d37249d43d1fd82aec
2013-04-13 10:41:18 +12:00
Sotaro Ikeda
330d68f9f0 Bug 860892 - IPC failure handling in CompositorChild and ShadowLayers. r=jmuizelaar 2013-04-12 16:25:04 -04:00
Frédéric Wang
ce9dcf91ea Bug 825928 - Fix a compilation error with old compilers. r=bas 2013-04-12 08:20:31 -04:00
Nicholas Cameron
acce520504 Bug 844928, smarten up content client/host texture creation. r=nical
--HG--
extra : rebase_source : 2b15c0d233c45fc13b2bdfb155255e480fb3a947
2013-04-12 19:29:08 +12:00
Nicholas Cameron
fdc9d01061 Bug 844928, remove PTexture. r=nical
--HG--
extra : rebase_source : c6588d7381fc468068eb7e393f52afafb9586253
2013-04-12 19:28:55 +12:00
Nicholas Cameron
a4e0bb5713 No bug. Remove .orig files, r=njn, DONTBUILD 2013-04-12 17:09:58 +12:00
Joshua Cranmer
1c80dfa2a7 Bug 856108 - Port static analyses to clang, part 2d: use MOZ_STACK_CLASS in gfx. r=roc 2013-04-11 22:20:37 -05:00
Nicolas Silva
b36da71149 bug 861003 - Always use BasicTextureImage for YCbCr texture uploads. r=bas 2013-04-12 01:08:23 -04:00
Jeff Muizelaar
b9a50c4374 Bug 860442. Delete the gralloc buffer even when we don't have a PBufferParent. r=nical
We can allocate surfaces on the child and the parent so we should be able to
delete them both.

--HG--
extra : rebase_source : 6af5316f44905360d83e871a0e0f92c526fed0ec
2013-04-11 19:57:28 -04:00
Jeff Muizelaar
105c9bc6ef Bug 860466: Properly deal with SharedTextureHostOGL. r=nical
There were a number of issues with the current implementation. It couldn't deal
with NULL mSharedHandles. Additionally it was binding things to the wrong
samplers. Finally it was not properly setting the texture transform (which
defaults to all 0). Finally in a debug build an assert would be hit upon client
shutdown due to it not clearing mDescriptor.

This patch fixes all of those issues which makes flash work again.

--HG--
extra : rebase_source : 733f242d2cd82c145ef6e3af9584f832af3c1f5d
2013-04-11 19:42:26 -04:00