Commit Graph

416 Commits

Author SHA1 Message Date
Kartikaya Gupta
b3f5d9b40d Bug 1131840 - Add an EventRegionsOverride flag to force an empty hit region. r=roc,botond 2015-02-16 21:30:02 -05:00
Kartikaya Gupta
d750a7cdbd Bug 1131840 - Replace the shouldForceDispatchToContent flag with a bitset enum. r=roc,botond 2015-02-16 21:30:02 -05:00
Kartikaya Gupta
45352c73c4 Bug 1125422 - Add a flag on ContainerLayer to indicate when the entire subtree of layers needs to be in the dispatch-to-content region. r=roc 2015-02-10 16:28:07 -05:00
Jim Mathies
7cc4223258 Bug 1095754 - Add a new Layer helper method for retrieving the root clip on a particular layer. r=roc 2015-01-29 13:41:55 -06:00
Jim Mathies
2455651aab Bug 1095754 - Compositor plumbing for plugin configuration. r=roc 2015-01-29 13:41:55 -06:00
David Anderson
23217d2eff Fix classic scrollbars getting occluded with containerless scrolling. (bug 1100756, r=roc) 2015-01-13 23:55:17 -08:00
Botond Ballo
bd35721493 Bug 1076241 - Add an API for setting a resolution on a document and scaling it by that amount. r=kats,tn 2015-01-02 20:06:14 -05:00
Ehsan Akhgari
64a4483dde Bug 1117263 - Mark virtual overridden functions as MOZ_OVERRIDE in graphics layers code; r=roc 2015-01-03 12:21:23 -05:00
Brian Birtles
b5dcec0609 Bug 927349 part 13 - Update start times on animations in layers when the animation ready time is resolved; r=nical 2014-12-22 09:35:41 +09:00
Brian Birtles
c64636b7a5 Bug 927349 part 10 - Record the time when animations are ready to start; r=jwatt 2014-12-22 09:35:41 +09:00
Sotaro Ikeda
4c664402c7 Bug 1100110 - Fix ScaleMode handling of ImageLayer and HwcComposer2D r=mattwoodrow 2014-12-06 17:12:50 -08:00
Vladimir Vukicevic
4e999354bb Bug 1036602 - add generic gfx/layers functionality for VR rendering; r=nical 2014-07-09 12:26:18 -07:00
Benoit Girard
2d7740df64 Bug 1098495 - Retain a container's intermediate surface's content. r=mattwoodrow
--HG--
extra : rebase_source : cdb691c1127445eeeb2e4fda5a0ef4f2223703fc
2014-11-18 17:33:36 -05:00
David Parks
71324ef0ab 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
jdashg
04beb50da5 Bug 1066280 - Remove SurfaceStream. - r=kamidphish,mattwoodrow 2014-10-07 21:15:39 -07:00
Markus Stange
6dda121d47 Bug 1073103 - SReplace 'Thebes' with 'Painted' in some more places. r=roc 2014-09-26 13:07:06 -04:00
Markus Stange
05fdbbaad2 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
Kartikaya Gupta
966c55aec8 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
Jeff Muizelaar
0ee07ef4d0 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
Ryan VanderMeulen
38e1880d6c Backed out changeset 96a507248c53 (bug 1059583) for Werror bustage.
CLOSED TREE
2014-09-09 19:57:12 -04:00
Jeff Gilbert
1dd08fbe33 Bug 1059583 - Add CanvasLayer::MustLayerUpdateBeSynchronous. - r=kamidphish,mattwoodrow 2014-09-09 16:20:08 -07:00
Benoit Girard
7316c039e6 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
Robert O'Callahan
9e186978e8 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
53b7461434 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
bc2f41c4c8 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
8d98e875f0 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
e7bf334884 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
Kartikaya Gupta
98893f42ce Bug 1055760 - Update some more bits of compositor layer code to deal with multiple FrameMetrics. r=BenWa,botond 2014-08-27 22:13:42 -04:00
Kartikaya Gupta
c5ed28bbe6 Bug 1055760 - Replace GetPrimaryScrollableLayer with functions that are more appropriate. r=BenWa 2014-08-27 22:13:41 -04:00
Kartikaya Gupta
f02aca0071 Bug 1055760 - Update tiling code to use LayerMetricsWrapper. r=botond,BenWa 2014-08-27 22:13:41 -04:00
Kartikaya Gupta
2d5421d05f Bug 1055760 - Add a LayerMetricsWrapper and fix up APZCTreeManager FrameMetrics accessing. r=botond,BenWa 2014-08-27 22:13:41 -04:00
Kartikaya Gupta
94e46fe1a9 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
2bdea691a0 Bug 1055760 - Move the scroll handoff parent id from Layer to FrameMetrics. r=botond 2014-08-27 22:13:39 -04:00
Benoit Girard
a86e7d45b8 Bug 1055821 - Add layer construction logging. r=mattwoodrow
--HG--
extra : rebase_source : 318ea4b96780830fd5665fc0b0cd610b67392113
2014-08-22 11:53:24 -04:00
Ed Morley
eb4526b598 Backed out changeset 3a61a6eb04d6 (bug 1055821) for build failures 2014-08-22 14:12:01 +01:00
Benoit Girard
02778373f9 Bug 1055821 - Add layer construction logging. r=mattwoodrow 2014-08-21 13:46:07 -04:00
Kartikaya Gupta
476e12ea15 Bug 1056155 - Follow-up to bug 1051985 to not assume only ContainerLayers have FrameMetrics. r=mattwoodrow 2014-08-21 05:40:00 -04:00
Wes Kocher
c5de0243e4 Merge m-c to inbound a=merge 2014-08-20 18:13:40 -07:00
Kartikaya Gupta
47727e287c Bug 1056159 - Extract a helper function from UpdatePanZoomControllerTree. r=botond 2014-08-20 14:04:37 -04:00
Botond Ballo
408cb7a987 Bug 1039992 - Fix a unified build issue. r=kats
--HG--
extra : rebase_source : 4e1e09c9bcb35f70c3ee7ff833646e5f437f5a86
2014-08-18 16:13:12 -04:00
Benoit Girard
83de16edc7 Bug 1010584 - Part 1: Introduce RenderTargetPixel. r=mwoodrow 2014-07-30 14:36:15 -04:00
Kartikaya Gupta
0b3abbb3ea Bug 1051985 - Move the APZ from ContainerLayer to Layer. r=mattwoodrow,botond 2014-08-11 20:00:37 -04:00
Kartikaya Gupta
35f614401f 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
1c0433b85d Bug 1051985 - Move the scroll handoff parent id from ContainerLayer to Layer. r=mattwoodrow 2014-08-11 20:00:37 -04:00
Kartikaya Gupta
edc5061029 Bug 1051985 - Move the FrameMetrics from ContainerLayer to Layer. r=mattwoodrow,BenWa 2014-08-11 20:00:36 -04:00
Brian Birtles
fec7182eb1 Bug 1040543 part 1 - Move/Rename ElementAnimations to dom::AnimationPlayer; r=bz
This patch renames mozilla::ElementAnimations to mozilla::dom::AnimationPlayer
and moves the code from layout/style/AnimationCommon.cpp to
dom/animation/AnimationPlayer.cpp.

It also moves various helper classes needed by AnimationPlayer to
AnimationPlayer.cpp and moves them from the mozilla::css namespace to the
mozilla namespace.

Beyond that, there are no functional changes contained in this patch.

The renaming of various members and variables that used to refer to
ElementAnimation objects but now refer to AnimationPlayer objects--to give them
a more appropriate name--is performed in a subsequent patch.

--HG--
rename : layout/style/AnimationCommon.cpp => dom/animation/AnimationPlayer.cpp
rename : layout/style/AnimationCommon.h => dom/animation/AnimationPlayer.h
2014-08-10 17:06:44 +10:00
Matt Woodrow
a55c0cbad5 Bug 1048110 - Expand complex visible regions if we're going to be resampling when using tiling. r=Bas 2014-08-04 15:29:55 +12:00
Kartikaya Gupta
d024506abb Bug 1047403 - Refactor linebreaking debug print code into [f]print_stderr functions that take stringstreams. r=BenWa 2014-08-02 06:03:00 -04:00
Botond Ballo
225e165d5d Bug 1023557 - Store the content description in ContainerLayer instead of FrameMetrics. r=kats,BenWa 2014-07-31 16:11:47 -04:00
Boris Chiou
b5f5af0f68 Bug 959118 - Dump layer tree with layer scope on the viewer. r=dglastonbury
We also want to dump layer tree on the viewer, so we
can check the layer tree and layerscope together
in the viewer. This can help us resolve more gfx bugs.

In this patch, I only add a part of the layer data to
the protocol buffer packet, and you can check the
.proto file for more information if you want to add
more layer data.

By the way, as Jeff's suggestion, use auto & MakeUnique<>()
to make the UniquePtr initialization more concise.
2014-07-27 22:32:00 +02:00