Commit Graph

1752 Commits

Author SHA1 Message Date
Daniel Holbert
73c6a5631c Backout fa9c6845338e (bug 1085223) for causing bug 1087257. 2014-10-22 13:03:18 -07:00
David Parks
5b3ab326b6 Bug 918634 - swapFrameLoader not implemented for e10s r=nical
Allow layers to change layermanager if using LayerManagerComposite.

--HG--
extra : rebase_source : f24fde110f91fff7e2ceb3ddcd4549077a15f3c6
2014-10-14 15:11:38 -07:00
David Parks
faf8b8adce Bug 1065881 - [e10s] Crash on child process shutdown in ShadowLayerForwarder::InWorkerThread
Had caused a crash in the test_streams_element_capture mochitest on Windows.  The issue was that the audio decoder thread was destroying stale media frames by releasing a reference to them.  This was causing the release of an Image on that thread, but that thread does not process a MessageLoop so the current MessageLoop is null.  This is not a problem.  Obviously, any thread that has no MessageLoop can't be the worker thread.
2014-10-12 16:23:20 -07:00
Ryan VanderMeulen
6ec44ff41f Backed out changeset 96aefa302688 (bug 1065881) for breaking content process leak checking.
CLOSED TREE
2014-10-16 12:23:56 -04:00
Kartikaya Gupta
72ea4fdacd Bug 1013612 - Remove APZ-internal headers from being exported to non-layers code. r=botond 2014-10-16 09:23:52 -04:00
Jonathan Watt
08d7dd3f8f Bug 1082483, part 2 - Convert Mozilla code to use the new Matrix4x4::PreTranslate/PreScale method names. r=Bas 2014-10-16 10:51:12 +01:00
Jonathan Watt
c1c0f335ce Bug 1082477, part 1 - Convert Matrix4x4::TranslatePost/ScalePost callers to Matrix4x4::PostTranslate/PostScale. r=Bas 2014-10-16 10:51:12 +01:00
David Parks
51b2436fc1 Bug 1065881 - [e10s] Crash on child process shutdown in ShadowLayerForwarder::InWorkerThread. r=nical
Had caused a crash in the test_streams_element_capture mochitest on Windows.  The issue was that the audio decoder thread was destroying stale media frames by releasing a reference to them.  This was causing the release of an Image on that thread, but that thread does not process a MessageLoop so the current MessageLoop is null.  This is not a problem.  Obviously, any thread that has no MessageLoop can't be the worker thread.
2014-10-12 16:23:20 -07:00
Matt Woodrow
e57f853968 Bug 1085223 - Add an occlusion culling pass to compositor layers. r=BenWa 2014-10-20 17:04:39 +13:00
Nicolas Silva
1b96a7f2be Bug 966284 - Fix the shutdown sequence of PLayerTransaction and PTexture. r=sotaro 2014-10-13 10:43:59 +02:00
jdashg
9b7291ca7a Bug 1066280 - Remove SurfaceStream. - r=kamidphish,mattwoodrow 2014-10-07 21:15:39 -07:00
jdashg
97fbd15434 Bug 1066280 - Fixes. - r=kamidphish,mattwoodrow
From 4e9f52ab105333e8b1120342e9583b2d833a4465 Mon Sep 17 00:00:00 2001
---
 dom/canvas/WebGLContext.cpp                | 10 +++++--
 gfx/gl/GLContext.cpp                       | 20 --------------
 gfx/gl/GLContext.h                         |  3 --
 gfx/gl/GLReadTexImageHelper.cpp            |  5 +++-
 gfx/gl/GLScreenBuffer.cpp                  | 13 +++++++--
 gfx/gl/GLUploadHelpers.cpp                 | 27 ++++++++++++++++++
 gfx/gl/SharedSurfaceGralloc.cpp            | 14 ++++------
 gfx/gl/SharedSurfaceGralloc.h              | 10 +++++--
 gfx/gl/SurfaceTypes.cpp                    |  2 ++
 gfx/gl/SurfaceTypes.h                      |  1 +
 gfx/layers/client/CanvasClient.cpp         | 44 ++++++++++++++++++------------
 gfx/layers/client/CanvasClient.h           |  8 +++---
 gfx/layers/client/ClientCanvasLayer.cpp    |  6 ++++
 gfx/layers/client/ClientCanvasLayer.h      |  2 +-
 gfx/layers/client/TextureClient.cpp        | 11 ++++----
 gfx/layers/client/TextureClient.h          |  6 ++--
 gfx/layers/composite/TextureHost.cpp       | 15 +++++-----
 gfx/layers/composite/TextureHost.h         | 10 +++----
 gfx/layers/d3d10/CanvasLayerD3D10.cpp      |  9 ++++--
 gfx/layers/d3d9/CanvasLayerD3D9.cpp        |  8 ++++--
 gfx/layers/ipc/LayersSurfaces.ipdlh        |  4 +--
 gfx/layers/moz.build                       |  4 ++-
 gfx/layers/opengl/GrallocTextureClient.cpp | 26 +++++++++++++++++-
 gfx/layers/opengl/GrallocTextureClient.h   |  3 ++
 24 files changed, 171 insertions(+), 90 deletions(-)
2014-10-07 21:11:54 -07:00
jdashg
bd7ba17b6a Bug 1066280 - Add TexClient for ShSurf. - r=kamidphish,mattwoodrow
From a7c09c0f17e19fd2254cb1d7a8ddd07b327151ad Mon Sep 17 00:00:00 2001
---
 gfx/2d/HelpersCairo.h                   |   2 +
 gfx/gl/GLContext.cpp                    |   3 +-
 gfx/gl/GLContext.h                      |   2 -
 gfx/gl/GLReadTexImageHelper.cpp         |  21 +--
 gfx/gl/GLReadTexImageHelper.h           |   6 +
 gfx/gl/GLScreenBuffer.h                 |   6 +-
 gfx/gl/ScopedGLHelpers.cpp              |  40 +++++
 gfx/gl/ScopedGLHelpers.h                |  26 ++-
 gfx/gl/SharedSurface.cpp                |  94 +++++++++++
 gfx/gl/SharedSurface.h                  |  19 +++
 gfx/gl/SharedSurfaceIO.h                |   4 +
 gfx/layers/CopyableCanvasLayer.cpp      |   3 +-
 gfx/layers/client/CanvasClient.cpp      | 276 +++++++++++++++++++++++++++++---
 gfx/layers/client/CanvasClient.h        |  34 ++++
 gfx/layers/client/ClientCanvasLayer.cpp |  21 ++-
 gfx/layers/client/ClientCanvasLayer.h   |   9 +-
 gfx/layers/client/TextureClient.cpp     |  35 ++++
 gfx/layers/client/TextureClient.h       |  85 +++++++++-
 gfx/layers/composite/TextureHost.cpp    | 131 ++++++++++++++-
 gfx/layers/composite/TextureHost.h      |  64 ++++++++
 gfx/layers/d3d10/CanvasLayerD3D10.cpp   |   5 +-
 gfx/layers/ipc/LayersSurfaces.ipdlh     |   5 +
 22 files changed, 828 insertions(+), 63 deletions(-)
2014-10-07 21:01:51 -07:00
Sotaro Ikeda
bda824b950 Bug 1076868 - Fix RemoveTextureFromCompositableAsync() call handling r=nical 2014-10-07 11:37:15 -07:00
Sotaro Ikeda
bae6e432e4 Bug 1067455 - Reduce Fence::merge() call on compositor thread r=nical 2014-10-06 15:45:03 -07:00
Mason Chang
32d0a8588d Bug 1075096 - Separate LayerTransactions in profiler. r=benwa 2014-10-01 11:38:00 +02:00
Mason Chang
7bb63f5b26 Bug 1073545 - Add Vsync Markers to SPS Profiler. r=benwa 2014-10-01 13:01:59 -07:00
Phil Ringnalda
674424f954 Back out ef1cd14c8cac (bug 1067455) for Windows assertion failures
CLOSED TREE
2014-10-05 19:16:56 -07:00
Sotaro Ikeda
41fa2ab6fd Bug 1067455 - Reduce Fence::merge() call on compositor thread r=nical 2014-10-05 14:14:33 -07:00
Nicolas Silva
e381d1456d Bug 1072877 - Ensure OOP transactions can't use memory backed tile locks. r=bjacob 2014-09-30 18:30:23 +02:00
Jeff Muizelaar
b07d2488db Bug 1071241. Call ComputeRotation before TransformShadowTree. r=mwoodrow
This is need so that the rotation transform is available at
transform time. Without this rotation is delayed a frame.
2014-09-30 10:07:05 -04:00
Markus Stange
3efef60534 Bug 1073103 - SReplace 'Thebes' with 'Painted' in some more places. r=roc 2014-09-26 13:07:06 -04:00
Markus Stange
7d5a3be591 Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc
--HG--
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/basic/BasicPaintedLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/basic/BasicPaintedLayer.h
rename : gfx/layers/client/ClientThebesLayer.cpp => gfx/layers/client/ClientPaintedLayer.cpp
rename : gfx/layers/client/ClientThebesLayer.h => gfx/layers/client/ClientPaintedLayer.h
rename : gfx/layers/client/ClientTiledThebesLayer.cpp => gfx/layers/client/ClientTiledPaintedLayer.cpp
rename : gfx/layers/client/ClientTiledThebesLayer.h => gfx/layers/client/ClientTiledPaintedLayer.h
rename : gfx/layers/composite/ThebesLayerComposite.cpp => gfx/layers/composite/PaintedLayerComposite.cpp
rename : gfx/layers/composite/ThebesLayerComposite.h => gfx/layers/composite/PaintedLayerComposite.h
rename : gfx/layers/d3d10/ThebesLayerD3D10.cpp => gfx/layers/d3d10/PaintedLayerD3D10.cpp
rename : gfx/layers/d3d10/ThebesLayerD3D10.h => gfx/layers/d3d10/PaintedLayerD3D10.h
rename : gfx/layers/d3d9/ThebesLayerD3D9.cpp => gfx/layers/d3d9/PaintedLayerD3D9.cpp
rename : gfx/layers/d3d9/ThebesLayerD3D9.h => gfx/layers/d3d9/PaintedLayerD3D9.h
2014-09-26 13:06:08 -04:00
Tom Tromey
810778e19b Bug 1069371 - Fix typo in call to PROFILER_LABEL. r=BenWa 2014-09-18 08:05:00 -04:00
Ehsan Akhgari
bb964f77e9 Bug 1068022 - Fix more bad implicit constructors in gfx; r=jrmuizel 2014-09-17 17:54:13 -04:00
Jeff Gilbert
301271b198 Bug 1037147 - Remove SharedTextureHandle and friends r=mattwoodrow,snorp
--HG--
extra : rebase_source : 13101216d6e5eccfb0a19c14b783b3878644b665
2014-09-17 08:13:29 -05:00
Kartikaya Gupta
b20c5f944c Bug 1013385 - Add the layer bounds to the layers API and use it for checkerboarding. r=mattwoodrow,BenWa 2014-09-15 16:09:52 -04:00
James Willcox
688cd17359 Back out a84f9edfe968 for bustage 2014-09-12 14:01:26 -05:00
Jeff Gilbert
a2cd642ccd Bug 1037147 - Replace SharedTextureHandle with a TextureClient variant r=mattwoodrow,snorp 2014-09-12 13:39:20 -05:00
Nicolas Silva
15bd6a66e3 Bug 1060703 - Use XPCOM's event loop instead of chromium's in NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_MAIN_THREAD_DESTRUCTION. r=bjacob 2014-09-12 12:00:18 +02:00
Jim Mathies
12a22c9958 Bug 1066242 - Use a 'ui' chromium message loop/pump for the Windows compositor thread so that it can process native windowing events. r=Bas 2014-09-11 17:55:59 -05:00
Jeff Muizelaar
34032eed5e Bug 1064479. Redo how screen rotation is implemented on B2G/Layers. r=nical,mwoodrow
Currently we use a world transform on the LayerManager. This gets passed to the
screen render target which adjusts the gl transform to accomplish the rotation.
This causes a lot of the system to have to know about the transform.

Instead we can just bake the transform into the root layer's shadow transform.
Everything now mostly just works.

--HG--
extra : rebase_source : e0e170d191eef5887a2e6b17f71ac79037033006
2014-09-10 15:59:00 -04:00
Benoit Girard
f663585192 Bug 1057088 - Add a way to sync query compositor properties like overfill and HWC status. r=smaug,jrmuizel
--HG--
extra : rebase_source : 2791431bc77e939e78db3b888fc816c9d98294d3
2014-09-02 15:23:34 -04:00
Bill McCloskey
2809db39b7 Bug 1060620 - RequestNotifyAfterRemotePaint can send messages to a dead actor on linux. r=smaug 2014-09-04 07:20:45 -05:00
Trevor Saunders
d75ed5bf7f bug 1059490 - mark more classes MOZ_FINAL r=froydnj 2014-08-27 14:26:48 -04:00
Benoit Girard
3ce2052a5c Bug 1061846 - Add constants for transaction delay indicator. r=milan
--HG--
extra : rebase_source : 7176c689bd00e90590cc021ab35189720019c73e
2014-09-02 14:37:34 -04:00
Ehsan Akhgari
f29810b0ab Bug 1061250 - Fix more bad implicit constructors in graphics; r=roc 2014-09-02 09:47:43 -04:00
Robert O'Callahan
bd45e1d4aa Bug 967844. Part 3: Setup FrameMetrics from FrameLayerBuilder based on animated geometry roots. r=mattwoodrow
--HG--
extra : rebase_source : 19593cafc17053d450905161fa7d4ce8721c58a0
2014-08-31 15:29:24 +12:00
Robert O'Callahan
021e1aa7f6 Bug 967844. Part 2: Move mContentDescription from Layer to FrameMetrics. r=kats
--HG--
extra : rebase_source : b616a0ab2e5bb203a66a5f0b3644bdcbe5f17ce7
2014-08-30 00:23:25 +12:00
Robert O'Callahan
c8b6ed281b Bug 967844. Part 1: Move mBackgroundColor from Layer to FrameMetrics. r=kats
--HG--
extra : rebase_source : d7cf8756678cc342e1d648638dd867c5479b74ba
2014-08-30 00:23:25 +12:00
Phil Ringnalda
a8940eb5c6 Backed out 3 changesets (bug 967844) for robopan bustage
Backed out changeset 6b53305f1c42 (bug 967844)
Backed out changeset dff3eb181f33 (bug 967844)
Backed out changeset 4d4b03442eaf (bug 967844)
2014-09-01 15:20:13 -07:00
Robert O'Callahan
83635319fd Bug 967844. Part 3: Setup FrameMetrics from FrameLayerBuilder based on animated geometry roots. r=mattwoodrow
--HG--
extra : rebase_source : d30d2af626038cc556fcd3add9a3876be2c58239
2014-08-31 15:29:24 +12:00
Robert O'Callahan
a67165f077 Bug 967844. Part 2: Move mContentDescription from Layer to FrameMetrics. r=kats
--HG--
extra : rebase_source : d5a2d8ea13369db215e96e721efc3ce0b354a523
2014-08-30 00:23:25 +12:00
Robert O'Callahan
24299705bb Bug 967844. Part 1: Move mBackgroundColor from Layer to FrameMetrics. r=kats
--HG--
extra : rebase_source : b5fd1fd1b0b1f55990e72d205cc871a46d5f4f8c
2014-08-30 00:23:25 +12:00
David Zbarsky
205b93ba09 Bug 1060165: Remove gfxPoint3D r=nical 2014-08-29 14:47:30 -04:00
Benoit Girard
d83f3e3d33 Bug 1055050 - Add visual warning if the transaction latency is > 100 ms. r=mwoodrow
--HG--
extra : rebase_source : 23140892b8e598c7073dd1b8c83fbddfa0bf52ee
2014-08-28 15:24:26 -04:00
Kartikaya Gupta
e0a4bd21ea Bug 1055760 - Update SetAsyncScrollOffset test API to deal wth multiple FrameMetrics. r=roc 2014-08-27 22:13:43 -04:00
Kartikaya Gupta
23cccb3b33 Bug 1055760 - Modify Layers API to expose multiple FrameMetrics and APZCs per layer. r=roc,BenWa 2014-08-27 22:13:40 -04:00
Kartikaya Gupta
f0b76c5903 Bug 1055760 - Move the scroll handoff parent id from Layer to FrameMetrics. r=botond 2014-08-27 22:13:39 -04:00
Masatoshi Kimura
3172b0beff Bug 1057839 - Fix build failure on VS2013 Update 3 with --enable-warnings-as-errors due to Warning C4717. r=roc 2014-08-25 07:13:38 +09:00
Eric Rahm
f829a39d13 Bug 1056962 - Part 2: Add proc name to gralloc memory report entries. r=BenWa 2014-08-22 16:36:24 -07:00
Trevor Saunders
fd5e9d1fcc bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Matt Woodrow
c2d79a26ff Bug 1056427 - Stop PRenderFrame from managing PLayerTransaction since it hasn't worked since the layers refactoring. r=roc
--HG--
extra : rebase_source : 38c86648bb8e59a6b992bd377acb9aacb418c98b
2014-08-22 12:16:44 +12:00
Kartikaya Gupta
c6ff8a9edf Bug 1056155 - Follow-up to bug 1051985 to not assume only ContainerLayers have FrameMetrics. r=mattwoodrow 2014-08-21 05:40:00 -04:00
Kartikaya Gupta
4e32706896 Bug 1055932 - Don't build an APZCTreeManager if APZ is disabled. r=botond 2014-08-21 08:36:07 -04:00
Bill McCloskey
be42be0ea4 Bug 1051128 - Allow filtering the IPC log by toplevel protocol name (r=bent) 2014-08-20 12:49:11 -07:00
chiajung hung
d7c7e3a117 Bug 1002823 - [Stingray] Add a new kind of image layer without graphic buffer for overlaying video input. r=nical 2014-08-18 22:14:00 -04:00
Ehsan Akhgari
015ce11986 Bug 1050609 - Fix more bad implicit constructors in gfx/layers; r=roc 2014-08-20 00:55:14 -04:00
Sotaro Ikeda
93c1acb209 Bug 1042387 - Add file descriptors count check r=jrmuizel 2014-08-18 10:55:23 -07:00
Kartikaya Gupta
901529a459 Bug 1051985 - Move the background color and content description from ContainerLayer to Layer. r=mattwoodrow 2014-08-11 20:00:37 -04:00
Kartikaya Gupta
78cc61d618 Bug 1051985 - Move the scroll handoff parent id from ContainerLayer to Layer. r=mattwoodrow 2014-08-11 20:00:37 -04:00
Kartikaya Gupta
40ac29fbd1 Bug 1051985 - Move the FrameMetrics from ContainerLayer to Layer. r=mattwoodrow,BenWa 2014-08-11 20:00:36 -04:00
Jim Chen
dbe61a26d8 Bug 1048952 - Lower compositor permanent hang timeout to 2 seconds; r=snorp 2014-08-08 18:11:52 -04:00
David Parks
955ab1eae9 Bug 1041695 - Make ShadowLayersForwarder::RemoveTexture run on worker thread, as required by TextureClient::Finalize. r=nical
--HG--
extra : rebase_source : 5498e78ba405c0b2e75063b3d7bda7d1cead4669
2014-07-30 23:44:31 -07:00
Wes Kocher
25e69b0e1e Backed out changeset c62468b61fed (bug 1041695) for bustage on a CLOSED TREE 2014-08-07 18:16:25 -07:00
David Parks
e41219467b Bug 1041695 - Run ShadowLayersForwarder::ReleaseTexture on worker thread r=nical 2014-07-30 23:44:31 -07:00
Matt Woodrow
dc910067d7 Bug 1046025 - Add component alpha support to TiledContentClient/Host. r=nical 2014-07-29 17:21:02 +12:00
David Parks
9cf45846f3 Bug 1009628 - Part 1: Need mozAfterRemotePaint event for remote iframes. r=smaug. 2014-05-23 11:19:00 -07:00
Mike Conley
134e23c76c Backed out changeset 249413f56629 (bug 1009628) for causing permanent orange. 2014-08-05 14:53:58 -04:00
David Parks
9afc47d4ed Bug 1009628 - Part 1: Need mozAfterRemotePaint event for remote iframes. r=smaug. 2014-05-23 11:19:00 -07:00
Botond Ballo
e2b30297a4 Bug 1023557 - Store the content description in ContainerLayer instead of FrameMetrics. r=kats,BenWa 2014-07-31 16:11:47 -04:00
David Zbarsky
b3e61c206f Bug 952977: More gfx::Matrix cleanups r=nical 2014-08-01 08:31:49 -04:00
Jeff Muizelaar
29151fa2e2 Bug 1046984. Include the stride in the gralloc memory report.
--HG--
extra : rebase_source : b5c7f060c73dc67b4cdb3fe29a59c288ddbde9b2
2014-07-31 15:20:57 -04:00
Bas Schouten
362ef064e0 Bug 947781 - Part 3: Do not transmit layer types that are unshadowed over the IPDL protocol. r=nical 2014-07-30 15:38:47 +02:00
Ed Morley
f6dad403d3 Backed out changeset c378df360469 (bug 947781) 2014-07-30 14:54:04 +01:00
Bas Schouten
36745681f3 Bug 947781 - Part 3: Do not transmit layer types that are unshadowed over the IPDL protocol. r=nical 2014-07-30 15:38:47 +02:00
Wes Kocher
3c155637a3 Backed out 11 changesets (bug 952977) for reftest-no-accel failures
Backed out changeset ea2367c19da3 (bug 952977)
Backed out changeset c401c8748eb3 (bug 952977)
Backed out changeset a93e9ff1043b (bug 952977)
Backed out changeset 765b7f67163e (bug 952977)
Backed out changeset 3d8cf4f5777f (bug 952977)
Backed out changeset 8993710a3ab3 (bug 952977)
Backed out changeset 1298c39b745a (bug 952977)
Backed out changeset be0b899fbe5e (bug 952977)
Backed out changeset f69bea1f1feb (bug 952977)
Backed out changeset 1a745777f07e (bug 952977)
Backed out changeset 5ad1d18dfe17 (bug 952977)
2014-07-29 18:58:46 -07:00
David Zbarsky
ecf49e22a2 Bug 952977: More gfx::Matrix cleanups r=nical 2014-07-29 19:18:51 -04:00
Jon Morton
d910b0ff44 Bug 1042379 - Ensure ImageBridgeChild's destructor runs on the main thread. r=nical 2014-07-24 14:12:00 +02:00
Botond Ballo
eaad958496 Bug 1041751 - Fix an order-of-arguments mistake. r=tn 2014-07-24 19:11:00 -04:00
Botond Ballo
be603754de Bug 1035598 - Add gfx3DMatrix::ChangeBasis(), replacing nsLayoutUtils::ChangeMatrixBasis(). r=mattwoodrow 2014-07-22 18:05:13 -04:00
Botond Ballo
e36c402f21 Bug 1007728 - Avoid calling APZCTreeManager::UpdatePanZoomControllerTree() on repeat transactions. r=kats,BenWa
--HG--
extra : rebase_source : 470498aae39f2f297cd181372413b197e5c71821
2014-05-30 18:52:43 -04:00
Frederic Plourde
ebac609549 b=1015218 Buffer image content layers on server-side xlib surfaces with OMTC basic r=karlt
With image offscreen surfaces enabled for content layers on GTK3, our Basic
compositor needs a way to deal with image layers buffering and compositing in
a performant way.  This patch subclasses BasicCompositor into a new
X11BasicCompositor and makes use of a new TextureSource
(X11DataTextureSourceBasic) in order to buffer TextureHost's data into
gfxXlibSurface on compositor side so that we can use XRender when available to
composite layer contents directly to the Window.

When this buffering will occur, switch to ContentClientSingleBuffered.

--HG--
extra : rebase_source : adad6b1c05dcf516a1ea84c6a529df5f141c198f
2014-07-23 11:02:25 +12:00
Kartikaya Gupta
0df3a31848 Bug 1040906 - Replace the out-param on matrix conversion helpers with a return value. r=Bas 2014-07-22 09:12:14 -04:00
Nicolas Silva
23cd52c9d1 Bug 1040028 - Create and allocate in one step when we used to call CreateBufferTextureClient and CreateTextureClientForDrawing. r=sotaro 2014-07-22 14:17:31 +02:00
Sotaro Ikeda
5c36208714 Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-19 05:33:12 -07:00
Wes Kocher
404ebfb0df Backed out changeset 9b764e12796d (bug 1039883) for b2g m7 failures 2014-07-18 14:21:44 -07:00
Sotaro Ikeda
0ec28966e8 Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-18 12:40:35 -07:00
Carsten "Tomcat" Book
acddf2b5ae Backed out changeset 79d65a1bbb01 (bug 1039883) for assertion failures on a CLOSED TREE 2014-07-18 16:09:15 +02:00
Sotaro Ikeda
1179090250 Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-18 06:21:24 -07:00
Sotaro Ikeda
7f32d56a14 Bug 1037360 - Fix SharedBufferManagerParent's destruction r=jrmuizel,jbacob 2014-07-16 13:05:42 -07:00
Andrew McCreight
928e31b2f3 Bug 1038855, part 2 - Use an nsRefPtr for CompositorChild::SharedFrameMetricsData::mBuffer. r=bjacob 2014-07-16 12:39:03 -07:00
Wes Kocher
a5c126599f Backed out changeset f4592864c982 (bug 1037360) for b2g mochitest-9 failures 2014-07-15 15:45:38 -07:00
Sotaro Ikeda
11459c436e Bug 1037360 - Fix SharedBufferManagerParent's destruction r=jmuizelaar 2014-07-15 13:33:26 -07:00
Benoit Girard
1465e09a99 Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel 2014-07-15 11:37:45 -04:00
Sotaro Ikeda
225b222537 Bug 1035755 - Fix RemoveTextureFromCompositableTracker::ReleaseTextureClient() r=nical 2014-07-15 06:22:35 -07:00
Sotaro Ikeda
f84bfd597e Bug 1036419 - Add lock to GrallocReporter::CollectReports() r=nical 2014-07-14 06:35:23 -07:00
Jeff Gilbert
f032a2a672 Bug 1037151 - Merge SharedSurface_GL into SharedSurface. - r=mattwoodrow 2014-07-11 15:10:49 -07:00
Sotaro Ikeda
c0c6b14e58 Bug 1036561 - Reduce log spam from SharedBufferManagerChild r=nical 2014-07-10 07:24:07 -07:00
Nicolas Silva
88c17fcf92 Bug 1027601 - Create and Allocate TextureClients in a single step in SharedPlanarYCbCrImage. r=sotaro 2014-07-10 13:48:29 +02:00
Carsten "Tomcat" Book
388e2958d7 Backed out changeset ef24cd472cfb (bug 1027601) 2014-07-09 13:22:50 +02:00
Nicolas Silva
e9e3887261 Bug 1027601 - Create and Allocate TextureClients in a single step in SharedPlanarYCbCrImage. r=sotaro 2014-07-09 11:59:53 +02:00
Sotaro Ikeda
dbd3cbb58a Bug 1035281 - Fix potential file descriptor leak problem r=nical 2014-07-08 18:35:42 -07:00
Sotaro Ikeda
e445b313ec Bug 1034294 - Fix SharedBufferManagerParent r=nical 2014-07-08 06:46:17 -07:00
Wes Kocher
c76c770c79 Backed out changeset 476485e3e30a (bug 1034294) for b2g m8 orange on a CLOSED TREE 2014-07-07 11:24:14 -07:00
Sotaro Ikeda
9cf8d7b48d Bug 1034294 - Fix SharedBufferManagerParent 2014-07-07 07:11:40 -07:00
Benoit Jacob
31db832664 Bug 774388 - Patch 14: block on ImageBridgeParent shutdown before we destroy the compositor thread - r=mattwoodrow 2014-07-06 21:30:15 -04:00
Benoit Jacob
1a2d3576a2 Bug 774388 - Patch 13: Temporarily addref to prevent destruction during handling of sync Stop message, to avoid triggering the 'mismatched CxxStackFrames' assertion of MessageChannel - r=nical 2014-07-04 14:04:12 -04:00
Benoit Jacob
26180d9fe5 Bug 774388 - Patch 12: make ImageBridgeParent 's refcounting implementation automatically defer destruction to the main thread - r=nical 2014-07-04 14:04:12 -04:00
Benoit Jacob
0c6a7dfedf Bug 774388 - Patch 11: Use a plain RunnableFunction to release the ImageBridgeParent singleton - r=mattwoodrow 2014-07-04 14:04:12 -04:00
Benoit Jacob
c083b322d1 Bug 774388 - Patch 10: destroy the ImageBridgeChild singleton on the main thread (and sprinkle some assertions) - r=mattwoodrow 2014-07-04 14:04:12 -04:00
Benoit Jacob
61671a4f88 Bug 774388 - Patch 9: Introduce NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_MAIN_THREAD_DESTRUCTION - r=mattwoodrow 2014-07-04 14:04:12 -04:00
Benoit Jacob
4b5305dd44 Bug 774388 - Patch 8: Avoid a deadlock between shutdown of CompositorParent and of CompositorThreadHolder - r=mattwoodrow 2014-07-04 14:04:11 -04:00
Benoit Jacob
4ecdd340bf Bug 774388 - Patch 7: Block the main thread on compositor shutdown - r=mattwoodrow 2014-07-04 14:04:11 -04:00
Benoit Jacob
ef93653aa4 Bug 774388 - Patch 5: Wait for [CrossProcess]CompositorParent's to be gone before we tear down the compositor thread - r=mattwoodrow 2014-07-04 14:04:11 -04:00
Benoit Jacob
15eb88c866 back out bug 774388 and bug 1028383 for intermittent e10s mochitest-2 crashes 2014-07-04 21:24:32 -04:00
Benoit Jacob
408bebb7c2 Bug 774388 - Patch 13: Temporarily addref to prevent destruction during handling of sync Stop message, to avoid triggering the 'mismatched CxxStackFrames' assertion of MessageChannel - r=nical 2014-07-04 14:04:12 -04:00
Benoit Jacob
f15b491b47 Bug 774388 - Patch 12: make ImageBridgeParent 's refcounting implementation automatically defer destruction to the main thread - r=nical 2014-07-04 14:04:12 -04:00
Benoit Jacob
da7d384505 Bug 774388 - Patch 11: Use a plain RunnableFunction to release the ImageBridgeParent singleton - r=mattwoodrow 2014-07-04 14:04:12 -04:00
Benoit Jacob
d8d7a86cab Bug 774388 - Patch 10: destroy the ImageBridgeChild singleton on the main thread (and sprinkle some assertions) - r=mattwoodrow 2014-07-04 14:04:12 -04:00
Benoit Jacob
688107fdd1 Bug 774388 - Patch 9: Introduce NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_MAIN_THREAD_DESTRUCTION - r=mattwoodrow 2014-07-04 14:04:12 -04:00
Benoit Jacob
34a843e71a Bug 774388 - Patch 8: Avoid a deadlock between shutdown of CompositorParent and of CompositorThreadHolder - r=mattwoodrow 2014-07-04 14:04:11 -04:00
Benoit Jacob
e981c4f333 Bug 774388 - Patch 7: Block the main thread on compositor shutdown - r=mattwoodrow 2014-07-04 14:04:11 -04:00
Benoit Jacob
e69d16b7ba Bug 774388 - Patch 5: Wait for [CrossProcess]CompositorParent's to be gone before we tear down the compositor thread - r=mattwoodrow 2014-07-04 14:04:11 -04:00
Ryan VanderMeulen
6d9424856d Backed out 10 changesets (bug 1033358, bug 774388, bug 1028383) for causing frequent shutdown crashes on a CLOSED TREE.
Backed out changeset a54b05c9e4a1 (bug 1028383)
Backed out changeset 37985f79e0c2 (bug 774388)
Backed out changeset d07521729077 (bug 774388)
Backed out changeset 9f14b17f358c (bug 774388)
Backed out changeset 2d347d6aa9bc (bug 774388)
Backed out changeset 99581dfb5ec4 (bug 774388)
Backed out changeset 2532e22d6135 (bug 774388)
Backed out changeset 719844108f1a (bug 774388)
Backed out changeset 7829c78348a4 (bug 1033358)
Backed out changeset c571df9a85de (bug 1033358)
2014-07-03 20:37:05 -04:00
Benoit Jacob
616ab38143 Bug 774388 - Patch 11: Use a plain RunnableFunction to release the ImageBridgeParent singleton - r=mattwoodrow 2014-07-03 14:53:34 -04:00
Benoit Jacob
6b1ce47d0e Bug 774388 - Patch 10: destroy the ImageBridgeChild singleton on the main thread (and sprinkle some assertions) - r=mattwoodrow 2014-07-03 14:53:32 -04:00
Benoit Jacob
0ce7e6bc43 Bug 774388 - Patch 9: Introduce NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_MAIN_THREAD_DESTRUCTION - r=mattwoodrow 2014-07-03 14:53:31 -04:00
Benoit Jacob
4426b5bf8c Bug 774388 - Patch 8: Avoid a deadlock between shutdown of CompositorParent and of CompositorThreadHolder - r=mattwoodrow 2014-07-03 14:53:29 -04:00
Benoit Jacob
5d921050a5 Bug 774388 - Patch 7: Block the main thread on compositor shutdown - r=mattwoodrow 2014-07-03 14:53:28 -04:00
Benoit Jacob
5792743acd Bug 774388 - Patch 5: Wait for [CrossProcess]CompositorParent's to be gone before we tear down the compositor thread - r=mattwoodrow 2014-07-03 14:53:27 -04:00
Sotaro Ikeda
f87d695780 Bug 1032364 - Change gralloc buffer's key to 64bit r=jmuizelaar 2014-07-02 14:45:59 -07:00
Sotaro Ikeda
40254e3c7f Bug 1031527 - remove dup fd from ParamTraits<MagicGrallocBufferHandle>::Read() r=jrmuizel 2014-06-30 16:36:52 -07:00
Chris Peterson
146b02353e Bug 1031165 - Fix non-unified OS X build's warnings-as-errors in gfx/layers. r=bjacob 2014-06-26 23:36:27 -07:00
Sotaro Ikeda
e17cd37863 Bug 1029719 - Release TextureClient on correct thread r=jmuizelaar 2014-06-27 06:26:51 -07:00
Markus Stange
76bee9f7aa Bug 1018522 - Move the call to ShadowLayersUpdated before EndTransaction so that EndTransaction can pick up layer tree changes caused by ShadowLayersUpdated. r=mattwoodrow
--HG--
extra : rebase_source : 640af9f3ef2488e8bf10315787a7ed389771568e
2014-06-26 14:40:10 +02:00
Benoit Jacob
360bdb42d9 Bug 1028588 - Fix dangerous public destructors in gfx - r=jrmuizel 2014-06-23 14:49:07 -04:00
Sotaro Ikeda
1ad1ef7739 Bug 1026580 - Remove an infinite loop possibility from AsyncTransactionTracker::WaitComplete() r=nical 2014-06-21 08:30:30 -07:00
Birunthan Mohanathas
bc0233fe47 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Benoit Jacob
c957e59732 Bug 1027251 - Fix or whitelist dangerous public destructors in gfx/ - r=jrmuizel 2014-06-18 22:28:59 -04:00
Nicholas Nethercote
aaf6fb2124 Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Jonathan Watt
6200c18bc8 Bug 1025490 - Stop using gfxImageSurface in the layers code. r=Bas 2014-06-17 18:35:51 +01:00
Wes Kocher
c2735215c7 Backed out changeset 66f9a0038c67 (bug 774388) for various frequent intermittent failures including mochitest-2 on a CLOSED TREE 2014-06-16 19:00:15 -07:00
Benoit Jacob
6d4f99fdba Bug 774388 - Patch 6: fix a silly double negation - r=nical 2014-06-06 09:51:27 -04:00
Benoit Jacob
cea2702a66 Bug 774388 - Patch 5: Properly manage the lifetime of the compositor thread, by waiting for CrossProcessCompositorParents to die before destroying it - r=nical,mattwoodrow 2014-06-06 09:51:26 -04:00
Solomon Chiu
0e4402768f Bug 973777 - Breaking down the information of GrallocReporter. r=njn 2014-06-15 23:27:00 +08:00
"Kan-Ru Chen (陳侃如)"
888082a108 Bug 1020169 - Part 2. Register nested LayerTree. r=mattwoodrow
Use PCompositor::NotifyChildCreated which was ill-defined for
cross-process case.

Assume that for all LayerTrees managed by a CrossProcessCompositorParent
all share the same CompositorParent.
2014-06-14 15:25:02 +08:00
chiajung hung
27f22929f3 Bug 1012961 - ABORT: Invalid SurfaceDescriptor passed in: file gfx/layers/opengl/GrallocTextureHost.cpp, line 292. r=nical 2014-06-12 02:06:00 -04:00
Chris Lord
3c0175baa4 Bug 1011572 - Only do platform-sync on layer transactions when !IsSameProcess. r=nical
There's no need to do platform syncing when the compositor is in the same
process as the content thread, as they'll share a connection to the display
server.
2014-06-11 14:52:20 +01:00
Chris Lord
1188fbbd28 Bug 1011569 - Remove PreferMemoryOverShmem in favour of IsSameProcess. r=nical 2014-06-11 14:52:19 +01:00
Jonathan Watt
a25ab6979d Bug 1022667, part 6 - Remove some unused code from ShadowLayerUtilsGralloc.cpp. r=mattwoodrow 2014-06-10 16:42:24 +01:00
Botond Ballo
727b1998f8 Bug 1014280 - Add a background color attribute to scrollable ContainerLayers. r=tn,BenWa
--HG--
extra : source : dff750e410e5f4e1ed019527ea17f37e53dd8fe6
2014-06-06 16:50:20 -04:00
Sotaro Ikeda
539d95f87e Bug 1001417 - Forward fence objects in SharedSurfaceGralloc to Compositor r=jgilbert,nical 2014-06-08 06:18:53 -07:00
Benoit Girard
297f25d502 Bug 1016678 - Add textured compositor benchmark. r=jrmuizel
--HG--
extra : rebase_source : 11465ad7c287db421fc68022269823b7da992835
2014-06-04 18:37:18 -04:00
Ed Morley
c31807a83a Backed out changeset 6f2e001c5f39 (bug 774388) 2014-06-06 15:58:58 +01:00
Ed Morley
823c01e984 Backed out changeset 0f81ceab808a (bug 774388) 2014-06-06 15:58:54 +01:00
Benoit Jacob
166db540b6 Bug 774388 - Patch 6: fix a silly double negation - r=nical 2014-06-06 09:51:27 -04:00
Benoit Jacob
969d70bfa6 Bug 774388 - Patch 5: Wrap the global raw compositor thread pointer, and global raw refcount integer, into a proper refcounted singleton class - r=nical,mattwoodrow 2014-06-06 09:51:26 -04:00
Benoit Jacob
c8affc25e2 Bug 774388 - Patch 3: remove sCompositorLoop, it's redundant - r=nical,mattwoodrow 2014-06-05 16:42:13 -04:00
Benoit Jacob
6e6c966de7 Bug 774388 - Patch 2: remove sCompositorThreadID, it's redundant - r=nical,mattwoodrow 2014-06-05 16:42:13 -04:00
Benoit Jacob
7008eef9b0 Bug 774388 - Patch 1: remove StartUpWithExistingThread, it's unused - r=nical 2014-06-05 16:42:13 -04:00
Ed Morley
8d9a53531a Backed out changeset d37aa03d00fb (bug 1016805) for OS X 10.6 reftest failures; CLOSED TREE 2014-06-04 17:52:55 +01:00
Sotaro Ikeda
43b3882d48 Bug 1016805 - fix AsyncTransactionTracker handling r=nical 2014-06-04 07:49:14 -07:00
Victor Porof
9ce7e9c089 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Matt Woodrow
795c2136c0 Bug 854421 - Part 8: Try find a 'root' refresh driver to see if it's blocked. r=vlad 2014-05-29 09:43:41 +12:00
Matt Woodrow
d78f4156e4 Bug 854421 - Part 7: Allocate and return transaction id's from the refresh driver when using OMTC to prevent over-production. r=roc 2014-05-29 09:43:39 +12:00
Matt Woodrow
e9ea25188e Bug 854421 - Part 3: Add a way to detect PLayerTransaction objects that exist only for testing and won't composite. r=nical 2014-05-29 09:42:16 +12:00
Matt Woodrow
9c37506034 Bug 854421 - Part 2: If we cancel a composite when going into test mode, fire the DidComposite event anway in case someone is waiting on it. r=nical 2014-05-29 09:42:16 +12:00
Matt Woodrow
b61c593824 Bug 854421 - Part 1: Add a transaction id number to DidComposite. r=nical 2014-05-29 09:42:14 +12:00
Nicolas Silva
f10ccb8404 Bug 1016321 - Remove unwanted fprintfs. r=edmorley 2014-05-27 05:58:00 -04:00
Tatiana Meshkova
4a3f012888 Bug 1016795 - Make CompositorParent usable by Embedlite. r=dholbert 2014-05-28 10:44:00 -04:00
Ed Morley
c3c9d1a417 Backed out changeset 1d4226ea1c1b (bug 854421) for causing bug 1017478 2014-05-29 10:57:03 +01:00
Ed Morley
f645109fad Backed out changeset 0d658e89549b (bug 854421) 2014-05-29 10:56:08 +01:00
Ed Morley
b65fcdc520 Backed out changeset 0ce26a65c8dd (bug 854421) 2014-05-29 10:56:04 +01:00
Ed Morley
be1f5d2de8 Backed out changeset 3f58a7521a51 (bug 854421) 2014-05-29 10:55:51 +01:00
Ed Morley
ced23842df Backed out changeset 123998cc3f92 (bug 854421) 2014-05-29 10:55:47 +01:00
Matt Woodrow
c9c9b9cb80 Bug 854421 - Part 8: Try find a 'root' refresh driver to see if it's blocked. r=vlad 2014-05-29 09:43:41 +12:00
Matt Woodrow
de268276b8 Bug 854421 - Part 7: Allocate and return transaction id's from the refresh driver when using OMTC to prevent over-production. r=roc 2014-05-29 09:43:39 +12:00
Matt Woodrow
fbcf96b65f Bug 854421 - Part 3: Add a way to detect PLayerTransaction objects that exist only for testing and won't composite. r=nical 2014-05-29 09:42:16 +12:00
Matt Woodrow
24efc9cfe8 Bug 854421 - Part 2: If we cancel a composite when going into test mode, fire the DidComposite event anway in case someone is waiting on it. r=nical 2014-05-29 09:42:16 +12:00
Matt Woodrow
345fc54583 Bug 854421 - Part 1: Add a transaction id number to DidComposite. r=nical 2014-05-29 09:42:14 +12:00
Brian Birtles
f3593b3f8a Bug 1015803 - Align Layers' Animation.numIterations with AnimationTiming.mIterationCount; r=dholbert
In the IPC Animation struct used in layers code we have a member called
'numIterations' where 'iterate forever' is represented by -1.

In layout/style however we have an AnimationTiming struct with an
mIterationCount member where 'iterate forever' is represented by
NS_IEEEPositiveInfinity().

This patch renames 'numIterations' to 'iterationCount' and uses infinity to
represent 'iterate forever'.
2014-05-28 16:51:50 +09:00
Matt Woodrow
0726340c00 Bug 1013767 - Restrict BasicCompositor snapshots to the bounds of the invalid region. r=nical 2014-05-28 13:21:32 +12:00
Sotaro Ikeda
afdf8e01dd Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical 2014-05-24 09:14:45 -07:00
Steve Fink
12ba3a7a2a Backed out changeset 171edffe0641 (bug 1006957) for crash at BaseAutoLock<mozilla::Mutex>::BaseAutoLock(mozilla::Mutex&) from layers::AsyncTransactionTrackersHolder::ClearAllAsyncTransactionTrackers on a CLOSED TREE 2014-05-23 21:16:02 -07:00
Sotaro Ikeda
ac5d74bdb6 Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical 2014-05-23 17:52:43 -07:00
Nicolas Silva
7c865568d2 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
Nicolas Silva
69c73e6b6b Bug 1013292 - Fix some using namespace + unified build issues in gfx code. r=kats 2014-05-22 12:11:45 +02:00
Benoit Girard
df3b7c99d5 Bug 1014042 - Add compositor benchmark. r=jrmuizel 2014-05-21 17:29:49 +00:00
Sotaro Ikeda
ceac91078e Bug 1011327 - Add checks around SharedBufferManagerParent 2014-05-20 13:50:25 -07:00
Wes Kocher
738f9f9b41 Merge inbound to m-c 2014-05-15 15:59:45 -07:00
Sotaro Ikeda
582a7928b4 Bug 950079 - Add release Fence handling to SurfaceStream on gonk 2014-05-14 15:40:15 -07:00
Vincent Chen
5d327d4fc7 Bug 983489 - Delay destroying mCompositor to prevent crash. r=nical 2014-05-04 19:52:00 -04:00
Sotaro Ikeda
5ed7dc913b Bug 1000660 - Remove TextureParent::RecvRemoveTextureSync() r=nical 2014-05-12 18:18:22 -07:00
Ryan VanderMeulen
df91ea951b Merge inbound to m-c. 2014-05-12 16:32:53 -04: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
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
Sotaro Ikeda
ad2ed22abb Bug 1004191 - Destroy LayerTransactionChild r=nical,bjacob 2014-05-07 06:23:14 -07: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
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
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
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
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
Botond Ballo
b02e1284b8 Bug 961289 - API to request compositor-side test data from client. r=BenWa,kats
--HG--
extra : source : a475bb542682486ffac8dc91a039f75ec41091b6
2014-05-07 19:56:48 -04:00
Botond Ballo
c841da8c4a Bug 961289 - Compositor-side instances of APZ test data and utilities for writing to them r=BenWa,kats
--HG--
extra : source : 35f0767449046b88581ada14b9ea7fb0fdd819ac
2014-04-21 17:46:50 -04:00
Botond Ballo
535bbba72d Bug 961289 - Assign sequence numbers to paints on the client side and forward them to the compositor. r=BenWa,kats
--HG--
extra : source : d5331eaed1c789ac0248e8710a7b4a167ae349b6
2014-05-06 17:26:13 -04: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
Bas Schouten
126524c822 Bug 999584: Do not try to invalidate a null layermanager. r=nical 2014-04-29 22:33:12 +02: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
Benoit Jacob
5004258047 Bug 987311 - 6/6 - Convert the rest of CompositorTypes.h to typed enums, final manual changes - r=nical 2014-04-25 22:34:06 -04:00
Benoit Jacob
2cf9a19eef Bug 987311 - 5/6 - Convert the rest of CompositorTypes.h to typed enums, auto regex changes - r=nical
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)DIAGNOSTIC_\(NONE\|TILE_BORDERS\|LAYER_BORDERS\|BIGIMAGE_BORDERS\|FLASH_BORDERS\)\($\|[^A-Za-z0-9_]\)/\1DiagnosticTypes::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/DiagnosticTypes\:\:NONE/DiagosticTypes::NO_DIAGNOSTIC/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)DIAGNOSTIC_\(IMAGE\|CONTENT\|CANVAS\|COLOR\|CONTAINER\|TILE\|BIGIMAGE\|COMPONENT_ALPHA\|REGION_RECT\)\($\|[^A-Za-z0-9_]\)/\1DiagnosticFlags::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)EFFECT_\(MASK\|MAX_SECONDARY\|RGB\|YCBCR\|COMPONENT_ALPHA\|SOLID_COLOR\|RENDER_TARGET\|MAX\)\($\|[^A-Za-z0-9_]\)/\1EffectTypes::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_\(CONTENT\|SHMEM\|YCBCR\|SHARED_GL\|SHARED_GL_EXTERNAL\|STREAM_GL\|FALLBACK\)\($\|[^A-Za-z0-9_]\)/\1DeprecatedTextureClientType::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(BUFFER_UNKNOWN\|BUFFER_IMAGE_SINGLE\|BUFFER_IMAGE_BUFFERED\|BUFFER_BRIDGE\|BUFFER_CONTENT\|BUFFER_CONTENT_DIRECT\|BUFFER_CONTENT_INC\|BUFFER_TILED\|BUFFER_SIMPLE_TILED\|COMPOSITABLE_IMAGE\|COMPOSITABLE_CONTENT_SINGLE\|COMPOSITABLE_CONTENT_DOUBLE\|BUFFER_COUNT\)\($\|[^A-Za-z0-9_]\)/\1CompositableType::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/CompositableType\:\:COMPOSITABLE_/CompositableType::/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_HOST_\(DEFAULT\|TILED\|COPY_PREVIOUS\)\($\|[^A-Za-z0-9_]\)/\1DeprecatedTextureHostFlags::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)Texture\(Front\|Back\|OnWhiteFront\|OnWhiteBack\)\($\|[^A-Za-z0-9_]\)/\1TextureIdentifier::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(OPEN_NONE\|OPEN_READ\|OPEN_WRITE\|OPEN_READ_WRITE\|OPEN_READ_ONLY\|OPEN_WRITE_ONLY\)\($\|[^A-Za-z0-9_]\)/\1OpenMode::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(MaskNone\|Mask2d\|Mask3d\|NumMaskTypes\)\($\|[^A-Za-z0-9_]\)/\1MaskType::\2\3/g'
find gfx -type f | xargs sed -i 's/Diagostic/Diagnostic/g'
2014-04-25 22:34:06 -04:00
Benoit Jacob
3b123f8333 Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical 2014-04-25 22:34:05 -04:00
Benoit Jacob
dd9a0850b3 Bug 987311 - 2/6 - Make TextureFlags a typed enum, auto regex changes - r=nical
find gfx/layers -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_\(USE_NEAREST_FILTER\|NEEDS_Y_FLIP\|DISALLOW_BIGIMAGE\|ALLOW_REPEAT\|NEW_TILE\|COMPONENT_ALPHA\|RB_SWAPPED\|FRONT\|ON_WHITE\|ON_BLACK\|TILE\|RECYCLE\|COPY_PREVIOUS\|DEALLOCATE_CLIENT\|IMMUTABLE\|IMMEDIATE_UPLOAD\|DOUBLE_BUFFERED\|ALLOC_FALLBACK\)\($\|[^A-Za-z0-9_]\)/\1TextureFlags::\2\3/g'
find gfx/layers -type f | xargs sed -i 's/TEXTURE_FLAGS_DEFAULT/TextureFlags::DEFAULT/g'
2014-04-25 22:34:05 -04:00
Nicolas Silva
4a884a6fbc Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-04-28 16:03:12 +02:00
Jerry Shih
4a85fbcf89 Bug 993019 - Handle scheduling rendering task for cross-process rotation. r=mattwoodrow, r=nical 2014-04-27 22:22:00 -04:00
Birunthan Mohanathas
5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Blair McBride
24b74a2af7 Backed out 9 changesets (bug 987311, bug 989027, bug 989144). r=sheriff
Backed out changeset 046c061d91c2 (bug 989144)
Backed out changeset 3f1b41adeaef (bug 987311)
Backed out changeset 8d5a171564bd (bug 987311)
Backed out changeset dcc0d016de7a (bug 987311)
Backed out changeset 27f338fbc835 (bug 989027)
Backed out changeset 4a67f5144ea4 (bug 989027)
Backed out changeset 62ba0a377450 (bug 987311)
Backed out changeset 6a2542a5c865 (bug 987311)
Backed out changeset 1dfd9a457f34 (bug 987311)
2014-04-27 19:45:08 +12:00
Benoit Jacob
a53edd3151 Bug 987311 - 6/6 - Convert the rest of CompositorTypes.h to typed enums, final manual changes - r=nical 2014-04-25 22:34:06 -04:00
Benoit Jacob
dc0b0c8367 Bug 987311 - 5/6 - Convert the rest of CompositorTypes.h to typed enums, auto regex changes - r=nical 2014-04-25 22:34:06 -04:00
Benoit Jacob
49dd7d0c3f Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical 2014-04-25 22:34:05 -04:00
Benoit Jacob
45875b18ee Bug 987311 - 2/6 - Make TextureFlags a typed enum, auto regex changes - r=nical 2014-04-25 22:34:05 -04:00
Ed Morley
1281549341 Backed out changeset fbb86a21aba0 (bug 924622) for leaks on OS X 10.6; CLOSED TREE 2014-04-25 17:51:42 +01:00
Ed Morley
20dd87ee29 Backed out changeset 1a6ada013610 (bug 959089) 2014-04-25 17:51:15 +01:00
Ed Morley
1ce229a50b Backed out changeset d58403b60c77 (bug 959089) 2014-04-25 17:51:11 +01:00
chiajung hung
59edff0d8f Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-25 02:29:00 -04:00
chiajung hung
c0cf680819 Bug 959089 - Part 1: Implement a new protocol for manage shared buffers' allocation. r=vlad, r=gal 2014-04-25 02:28:00 -04:00
Nicolas Silva
60f62b5e76 Bug 997699 - Move CompositableParent to the .cpp. r=bjacob 2014-04-25 17:15:58 +02:00
Nicolas Silva
2dd73e27ec Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-04-25 13:55:36 +02:00
Nicolas Silva
e9859fc3ce Bug 997699 - Move CompositableChild to the .cpp. r=bjacob 2014-04-24 20:13:59 +02:00
Carsten "Tomcat" Book
82238832e7 Backed out changeset 87f6ee3f86c1 (bug 997367) for mochitest assertions on a CLOSED TREE 2014-04-24 10:40:35 +02:00
Peter Chang
98ef025ea5 Bug 997367 - fix crash at CrossProcessCompositorParent::GetCompositionManager. r=roc 2014-04-22 19:07:00 +02:00
Benoit Jacob
c0825d404f Bug 1000161 - No more crashy asserts in LayerTransactionParent - r=nical 2014-04-23 10:46:50 -04:00
Benoit Jacob
7346c965d5 Bug 999697 - Make CreatedIncrementalTexture fail gracefully and return bool - r=nical 2014-04-23 10:46:02 -04:00
Benoit Jacob
556e590a96 Bug 1000104 - Fix error handling in RecvSetAsyncScrollOffset - r=kats 2014-04-23 10:42:40 -04:00
Cervantes Yu
9d2f059e24 Bug 977359 Part 1: Fix ImageBridgeChild deadlock in the Nuwa process by freezing the thread after the actor is opened. r=gal,nical,khuey 2014-04-11 18:37:12 +08:00
Carsten "Tomcat" Book
fcd7542b90 Backed out changeset b032a90ee083 (bug 983489) for m-e10s test failures 2014-04-17 14:04:26 +02:00
Kartikaya Gupta
c1a7eb8c17 Bug 995411 - Move various pieces of APZ code into gfx/layers/apz. r=jrmuizel,botond
--HG--
rename : gfx/layers/ipc/GeckoContentController.h => gfx/layers/apz/public/GeckoContentController.h
rename : gfx/layers/composite/APZCTreeManager.cpp => gfx/layers/apz/src/APZCTreeManager.cpp
rename : gfx/layers/composite/APZCTreeManager.h => gfx/layers/apz/src/APZCTreeManager.h
rename : gfx/layers/ipc/AsyncPanZoomController.cpp => gfx/layers/apz/src/AsyncPanZoomController.cpp
rename : gfx/layers/ipc/AsyncPanZoomController.h => gfx/layers/apz/src/AsyncPanZoomController.h
rename : gfx/layers/ipc/Axis.cpp => gfx/layers/apz/src/Axis.cpp
rename : gfx/layers/ipc/Axis.h => gfx/layers/apz/src/Axis.h
rename : gfx/layers/ipc/GestureEventListener.cpp => gfx/layers/apz/src/GestureEventListener.cpp
rename : gfx/layers/ipc/GestureEventListener.h => gfx/layers/apz/src/GestureEventListener.h
rename : gfx/layers/ipc/TaskThrottler.cpp => gfx/layers/apz/src/TaskThrottler.cpp
rename : gfx/layers/ipc/TaskThrottler.h => gfx/layers/apz/src/TaskThrottler.h
rename : widget/xpwidgets/APZCCallbackHelper.cpp => gfx/layers/apz/util/APZCCallbackHelper.cpp
rename : widget/xpwidgets/APZCCallbackHelper.h => gfx/layers/apz/util/APZCCallbackHelper.h
rename : widget/xpwidgets/ActiveElementManager.cpp => gfx/layers/apz/util/ActiveElementManager.cpp
rename : widget/xpwidgets/ActiveElementManager.h => gfx/layers/apz/util/ActiveElementManager.h
2014-04-17 07:54:25 -04:00
Kartikaya Gupta
eef14cc65a Bug 997383 - Avoid using the base namespace since it causes problems in unified builds. r=nical 2014-04-17 07:53:36 -04:00