Commit Graph

2132 Commits

Author SHA1 Message Date
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
Nicholas Cameron
7b3fdd386a No bug, removed commented code, r=nical, DONTBUILD
--HG--
extra : rebase_source : 62b59cd127bec362a9564b2a445006c145a24e2f
2013-04-11 14:33:44 +12:00
Jeff Muizelaar
734e4fe7b7 Bug 860446: Properly readback from WebGL with B2G. r=bjacob
--HG--
extra : rebase_source : ed6f0374cbc5912bcde84680eccfaa2da6c9d1d5
2013-04-11 12:37:07 -04:00
Nicolas Silva
bae6f65df1 Bug 860463 - Ensure that we propagate Destroy() in the shadow layer tree on CompositorParent::ActorDestroy. r=nrc 2013-04-11 06:14:29 -04:00
Sotaro Ikeda
9ae548a888 Bug 851667 - Handle SendPGrallocBufferConstructor() failure. r=jmuizelaar 2013-04-11 07:48:09 -04:00
Jim Mathies
5a2bdc73a3 Bug 859077 - Annotate crash reports with hresult failure codes when layer manager fails to initialize. r=bbondy
DONTBUILD
2013-04-10 09:02:44 -05:00
Ryan VanderMeulen
615efab05a Backed out changeset b37f8a4ef976 (bug 859077) for landing with the wrong bug number. 2013-04-10 10:22:56 -04:00
Jim Mathies
c909004dca Bug 859007 - Annotate crash reports with hresult failure codes when layer manager fails to initialize. r=bbondy 2013-04-10 09:02:44 -05:00
Chris Lord
3fcc37f974 Bug 858550 - Don't transform fixed layer descendents multiple times. r=nrc
Once the transform for async scrolling has been applied to a fixed layer, it
need not be applied to its descendents. Make sure to return after applying
the transform.
2013-04-10 10:54:58 +01:00
Bas Schouten
839048be74 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Christophe Mouraud
b3ba10e21c Bug 856080 - Fix a ComputedTimingFunction leak in Layers. r=jrmuizel 2013-04-08 14:31:10 -04:00
Kartikaya Gupta
4afbb995da Bug 859939 - Make AsyncPanZoomController::mLastEventTime unsigned to avoid overflowing. r=kentuckyfriedtakahe 2013-04-09 22:17:54 -04:00
Kartikaya Gupta
6e7eca55ce Bug 859935 - Make AsyncPanZoomController not assume the controller thread has a message loop. r=kentuckyfriedtakahe 2013-04-09 22:17:54 -04:00
Bas Schouten
9a9aee2e78 Bug 630197: Check for a removed device before presenting. r=jrmuizel 2013-04-09 17:37:56 +00:00
Daniel Holbert
a0a4661570 Bug 859517: Move LayerManagerOGL::Initialize's helper-nsRunnable from function-scope to class-scope to fix build warning about ignored visibility attribute. r=BenWa 2013-04-08 15:06:28 -07:00
Ivaylo Dimitrov
bd1820c086 b=854539 - Implement AllocateAndGetNewBuffer for SharedPlanarYCbCrImage. r=nical 2013-04-05 19:24:58 +02:00
Ryan VanderMeulen
ed08c643df Backed out changeset 8a6cacf047a1 (bug 833795)to fix bug 856083. 2013-04-05 07:55:25 -04:00
Ms2ger
a70235de19 Revert to changeset 4c45dbd81a32 to fix mochitest-chrome orange. 2013-04-05 09:40:13 +02:00
Anthony Jones
0bb08fbaa7 Backout 8a6cacf047a1 (bug 833795) to fix bug 856083 2013-04-05 18:19:08 +13:00
Vasil Dimov
87176fd272 Bug 856671 - Fix TestTiledLayerBuffer.cpp when running with DEBUG. r=BenWa DONTBUILD as NPOTB
--HG--
extra : rebase_source : 1cbed3c0d90e67fcd2e29ddb7bff4fc16f35f6e0
2013-04-01 15:24:29 -04:00
Kyle Machulis
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Oleg Romashin
92052fa408 Bug 855586 - Patch in bug 824642 has wrong logic. r=nical.bugzilla 2013-03-29 11:13:00 -07:00
Robert O'Callahan
979f4042d4 Bug 852489. Part 7: Remove Layer::IntersectClipRect because it's no longer used and it's prone to cause unnecessary Mutateds. r=mattwoodrow
--HG--
extra : rebase_source : 45d5365865894f5bf05c1ae41da670e9f28c53bf
2013-03-22 15:17:29 +13:00
Robert O'Callahan
57cbc9da2a Bug 852489. Part 3.5: Ensure that Mutated is called for all layer attributes. r=mattwoodrow
--HG--
extra : rebase_source : b4886464e3126e96b4c28a21fc18ff0be048ebb7
2013-03-28 23:58:45 +13:00
Robert O'Callahan
12d706b55a Bug 852489. Part 3: Add logging to track addition of IPC edits and causes of layer mutation. Also avoid unnecessary mutate in ClearAnimations. r=mattwoodrow
--HG--
extra : rebase_source : 65557e5e223ff7b30d5eeccf534e950451d664b9
2013-03-22 15:17:28 +13:00
Sotaro Ikeda
46b563beca Bug 850566 - Part 2: Render gralloc buffer by using image size. r=roc 2013-03-28 09:59:48 -04:00
Sotaro Ikeda
70cf961ee4 Bug 850566 - Part 1: Add image size to SurfaceDescriptorGralloc. r=nical 2013-03-28 09:59:47 -04:00
Diego Wilson
20bb3ff101 Bug 846236 - Verify the buffer descriptor is a shared texture. r=ncameron 2013-03-25 17:22:10 -07:00
Benoit Girard
3472aaff24 Bug 851611 - Part 4: Split out GeckoProfilerFunc.h & PseudoStack.h. r=jrmuizel
--HG--
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 929cd0d6227dd12f6654b61077e63e4d86036dc0
2013-03-15 20:48:56 -04:00
Benoit Girard
042e2c83ad Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
c47f308258 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Daniel Holbert
fed8da5cd6 Bug 851556: Makee GestureEventListener.cpp's "MAX_TAP_TIME" unsigned, so that the comparisons against it won't trigger build warnings. r=drs 2013-03-24 18:23:56 -07:00
James Willcox
cc9902a6e9 Bug 829747 - Update WebGL canvases asynchronously r=bgirard,jgilbert 2013-03-22 15:22:20 -04:00