Nicholas Nethercote
d0c4a9db1b
Bug 1208300 (part 4) - Remove gfxRGBA and some related things. r=jwatt.
...
Hooray!
--HG--
extra : rebase_source : d691b55eef5a8655aa98b81b5398452a5ebe860d
2015-09-24 19:24:16 -07:00
Nicholas Nethercote
89189f2ced
Bug 1208283 (part 2) - Change ColorLayer::mColor, ColorLayerProperties::mColor, ReadbackLayer::mBackgroundColor from gfxRBGA to gfx::Color. r=jwatt.
...
This avoids some gfxRGBA-to-Color conversions.
--HG--
extra : rebase_source : ba62db5204301e4ab57f05b9f9901f986f5b09aa
2015-09-24 18:16:45 -07:00
Nicholas Nethercote
342466f878
Bug 1208345 - Remove gfxContext::GraphicsOperator. r=jwatt.
...
Also...
- Rename various "operator" identifiers as "op" to match |CompositionOp|.
- Rename |nsBackgroundLayerState::mCompositingOp| as |mCompositionOp| to match
|CompositionOp|.
- Remove some deprecated functions that are no longer needed.
--HG--
extra : rebase_source : 74e9b6eecf6f442e27cc18fd4ae6f668a45188aa
2015-09-24 22:38:58 -07:00
Thinker K.F. Li
e1e17a72cb
Bug 1097464 - Part 6: Handle preserves-3d by compositor. r=roc
...
Remove WrapPreserve3DList() and replaced it by creating a
nsDisplayTransform item for each transformed frame.
- Add an additional item for each top frame extending 3D context to
separate consequence contexts.
- Effective transform of a layer is the accumulation of ancestors in
the same 3D context.
- The layers creating new context and extended by children need a
temporary buffer if it's effective transform is not 2D.
- Clip rects are accumulated along the context chain.
- Visible rects of items are computed from dirty regions of the frame
creating the context and accumulated transforms.
- Bounds of items are computed from accumulated transforms and
accumulated bounds of the descent frames.
- Backface hidden is handled by compositor and BasicLayerManager.
--HG--
extra : rebase_source : 1a894b057a117a8520898c9f83308d92c122b180
2015-09-17 03:31:00 +02:00
Thinker K.F. Li
46b545727a
Bug 1097464 - Part 4: Fix preserve3d wording for layer flags. r=roc
...
--HG--
extra : rebase_source : 3471b292ead698cafdd5a37bd3a6ed7894c2ca44
2015-09-17 03:31:00 +02:00
Thinker K.F. Li
568e7ca86e
Bug 1097464 - Part 2 - Snap translation for 3d transforms. r=roc
...
--HG--
extra : rebase_source : ec019b2aff7aa4d62d1ce7bfcc389cdce0018246
2015-09-17 03:31:00 +02:00
Carsten "Tomcat" Book
f7534678df
Backed out 6 changesets (bug 1097464) for causing OS X 10.10 Reftest Errors
...
Backed out changeset fbf63ce1ba88 (bug 1097464)
Backed out changeset fdaf4cfa6707 (bug 1097464)
Backed out changeset 727ebd9f744a (bug 1097464)
Backed out changeset 03f03a776042 (bug 1097464)
Backed out changeset 5ec6364b87d7 (bug 1097464)
Backed out changeset 47d056b3af7f (bug 1097464)
--HG--
extra : rebase_source : e2da133b489e4adba373303dad6e559826927e19
2015-09-17 16:24:43 +02:00
Jamie Nicol
a7a276263d
Bug 1200729 - Recompute FrameLayerBuilder item visibility if dirty region changes. r=mwoodrow
...
Make the FrameLayerBuilder remember for what region it has calculated
display item visibility, then recompute the visibility whenever the
dirty region it is passed to DrawPaintedLayer changes.
This means that the caller does not have to know the entire dirty region
that will be drawn for the transaction, but we can still optimise cases
where it knows some of the dirty region in advance.
This fixes a regression where MultiTiledContentClient's low-res display
port would not be painted if a smaller region of its high-res buffer had
already been painted that transaction, since the FrameLayerBuilder
had decided that most of the larger low-res region was invisible.
2015-09-15 14:41:42 +01:00
Thinker K.F. Li
76109f93c4
Bug 1097464 - Part 6 - Handle preserves-3d by compositor. r=roc
...
Remove WrapPreserve3DList() and replaced it by creating a
nsDisplayTransform item for each transformed frame.
- Add an additional item for each top frame extending 3D context to
separate consequence contexts.
- Effective transform of a layer is the accumulation of ancestors in
the same 3D context.
- The layers creating new context and extended by children need a
temporary buffer if it's effective transform is not 2D.
- Clip rects are accumulated along the context chain.
- Visible rects of items are computed from dirty regions of the frame
creating the context and accumulated transforms.
- Bounds of items are computed from accumulated transforms and
accumulated bounds of the descent frames.
- Backface hidden is handled by compositor and BasicLayerManager.
2015-09-17 03:31:00 +02:00
Thinker K.F. Li
577d814813
Bug 1097464 - Part 4 - Fix preserve3d wording for layer flags. r=roc
2015-09-17 03:31:00 +02:00
Thinker K.F. Li
88a510d1f5
Bug 1097464 - Part 2 - Snap translation for 3d transforms. r=roc
2015-09-17 03:31:00 +02:00
Botond Ballo
a22ee7711a
Bug 1166301 - Store a flag on Layer to tell fixed background layers apart from fixed position layers. r=mattwoodrow
...
--HG--
extra : rebase_source : eaad2e8c7f85f20cc691353d9675611eee4733ee
extra : source : 33b55c6b3a48e3e9a2f19f498f56084d6905dfc1
2015-09-04 17:26:33 -04:00
Kartikaya Gupta
056c55b10f
Bug 1180295 - Rip out call to setContentDocumentFixedPositionMargins. r=rbarker
...
--HG--
extra : commitid : 7uU6xgPVZom
2015-08-18 14:27:18 -04:00
Markus Stange
6fab3abcb1
Bug 1187804 - Annotate fixed-position layers with the scroll id of the scroll frame that they are fixed with respect to. r=mattwoodrow
...
--HG--
extra : commitid : GjQ1Npqd8Ss
2015-08-17 19:44:42 -04:00
CJ Ku
009a82453e
Bug 1061393 - Export display list info to layer scope viewer. r=kamidphish
2015-08-03 02:11:00 -04:00
Jamie Nicol
3e0de12cde
Bug 1187619 - Only optmimize FrameLayerBuilder visibility calculations if correct. r=mattwoodrow
...
Bug 1176077 introduced the parameter aDirtyRegion to
DrawPaintedLayerCallback, which allows the callback to recompute the
visibility of all items to be painted in that transaction in a single
go. However, this parameter can not always be determined correctly
when using RotatedBuffer, and using an incorrect value was causing
graphical glitches.
Make the parameter optional, and on null values do not perform the
optimisation. Pass null from ClientPaintedLayer, which uses
RotatedBuffer and was causing problems, but continue to pass the
correct value from other Layer implementations. This optimisation was
most important for tiled layers using progressive paint, so this is
okay.
2015-08-03 04:07:00 -04:00
Vladimir Vukicevic
7cbcb3db2b
Bug 1179944, [webvr] support Oculus 0.6.0 runtime and rendering; r=mstange
...
---
gfx/2d/Quaternion.h | 10 +
gfx/layers/Layers.h | 6 +-
gfx/layers/composite/ContainerLayerComposite.cpp | 161 +++++++---
gfx/layers/composite/ContainerLayerComposite.h | 3 +
gfx/thebes/gfxPrefs.h | 2 +
gfx/vr/gfxVR.cpp | 56 ++++
gfx/vr/gfxVR.h | 37 +++
gfx/vr/gfxVRCardboard.cpp | 54 +---
gfx/vr/gfxVROculus.cpp | 367 +++++++++++++++--------
gfx/vr/gfxVROculus.h | 14 +-
gfx/vr/moz.build | 10 +
gfx/vr/ovr_capi_dynamic.h | 261 +++++++++++-----
modules/libpref/init/all.js | 3 +
13 files changed, 694 insertions(+), 290 deletions(-)
2015-07-02 11:58:24 -04:00
Vladimir Vukicevic
7ca338088b
Bug 1179933, add Layer::ReplaceEffectiveTransform for temporary transform changes; r=mstange
...
---
gfx/layers/Layers.h | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
2015-05-19 13:56:31 -04:00
Matt Woodrow
71c406b6e9
Bug 1180326 - Part 6: Use SingleTiledContentClient for non-scrollable layers on b2g and OSX. r=jrmuizel
...
--HG--
extra : rebase_source : 82e5be89cedaac9c4203886b595da960bfad1f58
2015-07-29 12:03:01 -04:00
Jamie Nicol
5044fbd3c9
Bug 1176077 - Only recompute PaintedLayer item visibility when display list has changed. r=mattwoodrow
...
FrameLayerManager::RecomputeItemsVisibility() was being called on every
call to FrameLayerBuilder::DrawPaintedLayer(), each time for the region
to be painted by that paint call. This is inefficient when progressive
paint is enabled. Change it so that we compute the visibility of all the
layer's items within the total region to be painted, but only on the
first paint after the display list has been modified.
2015-07-21 09:19:25 +01:00
Ting-Yu Lin
acb06224cc
Bug 1183085 - Remove EndConstruction() from layer documentation; r=roc
...
EndConstruction() was removed in bug 564993.
--HG--
extra : commitid : JCXdGcjpvq3
extra : rebase_source : 2b62f813fb3e4d846a242ca47f26f79e96e1c181
2015-07-13 21:44:11 +08:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
David Anderson
c4f735d0c5
Bug 1148582 - Apply async transforms to (ancestor) mask layers correctly. r=botond
...
--HG--
extra : rebase_source : e44f7dbe49b343532b99704893dca879f1a69b4a
extra : source : 6234e37d912a054e8c07259c4dca19ce4c062055
2015-06-30 21:07:09 -04:00
David Anderson
55a0f8ee25
Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow
...
--HG--
extra : rebase_source : 9bf7a73b14e40972b3a5824b2f1344b7770ab789
extra : source : 745366787bcae737c0aec908554db2a3ec288908
2015-06-21 12:27:31 -04:00
Markus Stange
f1b62506d9
Back out bug 1148582 for static analysis bustage.
2015-07-01 01:20:59 -04:00
David Anderson
eae17dff97
Bug 1148582 - Apply async transforms to (ancestor) mask layers correctly. r=botond
2015-06-30 21:07:09 -04:00
David Anderson
c29b4c6dfa
Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow
2015-06-21 12:27:31 -04:00
Nathan Froyd
974d8120f2
Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
...
This conversion was done with the script:
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
-e 's/TemporaryRef</already_AddRefed</g'
Manual fixups were performed in the following instances:
- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
into already_AddRefed.
- The following files had explicit Move() calls added to make up for the lack
of a copy constructor on already_AddRefed:
dom/base/ImageEncoder.cpp
dom/media/MediaTaskQueue.{h,cpp}
dom/media/webaudio/PannerNode.cpp
- A redundant overload for MediaTaskQueue::Dispatch was deleted.
- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.
- Comments, using declarations, and forward declarations relating to
TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
already_AddRefed.
2015-06-17 10:00:52 -04:00
Lee Salzman
4142e9be13
Bug 633097 - Fix jittering animated text by disallowing flattening into a container layer that has animated text. r=mwoodrow
2015-06-26 18:13:50 -04:00
Bas Schouten
557df443d1
Bug 1167235 - Part 4: Remove DrawTarget as a possible means of initializing Canvas layers. r=nical
2015-06-19 01:07:22 +02:00
Bas Schouten
4ed616c712
Bug 1167235 - Part 2: Add support for the basic buffer provider to CanvasLayer. r=nical
2015-06-19 01:07:21 +02:00
Bas Schouten
03d7b7630c
Bug 1167235 - Part 1: Add code exposing a PersistentBufferProvider. r=nical
2015-06-19 01:07:21 +02:00
Daosheng Mu
9751dfe073
Bug 987498 - Part 1 - Layers support OverlayImage. r=roc
2015-05-28 01:35:00 +02:00
Mason Chang
920f2ea28a
Bug 1077651 Measure frame uniformity by synthesizing native events. r=kats,mrbkap
2015-06-08 09:53:41 -07:00
David Anderson
b2eb29a9c5
Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange)
2015-06-04 16:51:10 -04:00
Amanda Sambath
376d6d03c3
Bug 1158120 - Replace nsIntSize by mozilla::gfx::IntSize in gfx/layers. r=nical
2015-06-03 13:45:24 +02:00
David Anderson
422d7967dc
Fix PostprocessRetainedLayers to not test occlusion with asynchronous clips. (bug 1148582 part 5, r=tn)
2015-06-02 16:34:28 -07:00
Amanda Sambath
e5ab8210f6
Bug 1158120 - Edit include and comments that contained gfxIntSize and nsIntSize. r=nical
2015-05-29 17:01:46 +02:00
Eric Rahm
4879ae86f4
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -07:00
Phil Ringnalda
f7950798e0
Back out 530555a2d6d4 (bug 1162064) for debug b2g emulator assertions and failure to thrive
...
CLOSED TREE
2015-05-17 22:42:05 -07:00
David Anderson
4b20fa6b94
Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange)
2015-05-17 23:11:44 -04:00
David Anderson
cadd78802e
Backout changeset e5d045d49b40 for bustage on an a=CLOSED TREE
2015-05-17 21:46:30 -04:00
David Anderson
502eb5d3ca
Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange)
2015-05-17 20:44:43 -04:00
Thibaud Backenstrass
f8d4cbad76
Bug 1158122 - Remove the remaining occurences of nsIntRect in gfx/layers. r=nical
2015-05-07 11:07:53 +02:00
Kartikaya Gupta
0d34f1455a
Bug 1158933 - Prevent scrollbars from jumping while zoomed in the B2G browser. r=botond
2015-04-29 07:22:27 -04:00
Andrea Marchesini
ade2831035
Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan
2015-04-22 08:29:24 +02:00
Ying-Ruei Liang (KK)
f17daf9c2a
Bug 1143522 - Convert Layer::mClipRect to ParentLayerIntRect. r=botond
...
Change interface of getter/setter for mClipRect,
also necessary modification for codes that use these resources.
* * *
Bundle mUseClipRect and mClipRect as Maybe<ParentLayerIntRect> mClipRect
--HG--
extra : rebase_source : ca0c60404a28b7418df88104b863760033289910
2015-04-11 22:03:00 -04:00
David Anderson
e8a7d33638
Scrollbar thumbs can overlap scrollbar arrows during APZ scrolling. (bug 1152469, r=botond,mstange)
2015-04-12 23:03:02 -04:00
L. David Baron
e90b72b9db
Bug 847287 patch 13 - Apply animations/transitions on the layer in the order that reflects how they override, rather than the opposite. r=birtles
...
This independently would have fixed some of the problems fixed in this
bug. It would not have fixed them fully, though, since it would not
have prevented us from sending animations being covered up by !important
rules to the compositor.
2015-03-31 15:05:55 -07:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Kartikaya Gupta
80cdf96476
Bug 1137203 - Ignore the critical displayport when a layer is subject to OMTA relative to the scrolling ancestor. r=BenWa
2015-02-26 17:45:37 -05:00
Ryan VanderMeulen
3b9c7e5d7f
Backed out changesets ddf965a90c07 and 305e676779f8 (bug 1137203) for being the likely cause of bug 1137952.
...
CLOSED TREE
2015-03-02 12:34:39 -05:00
Kartikaya Gupta
33c914a549
Bug 1137203 - Ignore the critical displayport when a layer is subject to OMTA relative to the scrolling ancestor. r=BenWa
2015-02-26 17:45:37 -05:00
Kartikaya Gupta
829d36ca44
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
7fd26daa4a
Bug 1131840 - Replace the shouldForceDispatchToContent flag with a bitset enum. r=roc,botond
2015-02-16 21:30:02 -05:00
Kartikaya Gupta
f5d90daf87
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
fe94f6a867
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
f53c479605
Bug 1095754 - Compositor plumbing for plugin configuration. r=roc
2015-01-29 13:41:55 -06:00
David Anderson
02248cee29
Fix classic scrollbars getting occluded with containerless scrolling. (bug 1100756, r=roc)
...
--HG--
extra : rebase_source : fcf95ab0c435d9c29a6a3552fe05d7f1ad3bc0ec
2015-01-13 23:55:17 -08:00
Botond Ballo
9f93609fd6
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
b447c92ece
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
fe8a65bf0d
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
d178150d17
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
ab264f3007
Bug 1100110 - Fix ScaleMode handling of ImageLayer and HwcComposer2D r=mattwoodrow
2014-12-06 17:12:50 -08:00
Vladimir Vukicevic
200399e6f3
Bug 1036602 - add generic gfx/layers functionality for VR rendering; r=nical
2014-07-09 12:26:18 -07:00
Benoit Girard
66c7911436
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
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
jdashg
9b7291ca7a
Bug 1066280 - Remove SurfaceStream. - r=kamidphish,mattwoodrow
2014-10-07 21:15:39 -07: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
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
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
Ryan VanderMeulen
d5c18a9e28
Backed out changeset 96a507248c53 (bug 1059583) for Werror bustage.
...
CLOSED TREE
2014-09-09 19:57:12 -04:00
Jeff Gilbert
8ec082edad
Bug 1059583 - Add CanvasLayer::MustLayerUpdateBeSynchronous. - r=kamidphish,mattwoodrow
2014-09-09 16:20:08 -07: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
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
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
Kartikaya Gupta
f72e3c0ee4
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
81379297b8
Bug 1055760 - Replace GetPrimaryScrollableLayer with functions that are more appropriate. r=BenWa
2014-08-27 22:13:41 -04:00
Kartikaya Gupta
baed559ce3
Bug 1055760 - Update tiling code to use LayerMetricsWrapper. r=botond,BenWa
2014-08-27 22:13:41 -04:00
Kartikaya Gupta
4e8832c9dd
Bug 1055760 - Add a LayerMetricsWrapper and fix up APZCTreeManager FrameMetrics accessing. r=botond,BenWa
2014-08-27 22:13:41 -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
Benoit Girard
b7e0b48dc5
Bug 1055821 - Add layer construction logging. r=mattwoodrow
...
--HG--
extra : rebase_source : 318ea4b96780830fd5665fc0b0cd610b67392113
2014-08-22 11:53:24 -04:00
Ed Morley
2a53029612
Backed out changeset 3a61a6eb04d6 (bug 1055821) for build failures
2014-08-22 14:12:01 +01:00
Benoit Girard
9832545241
Bug 1055821 - Add layer construction logging. r=mattwoodrow
2014-08-21 13:46:07 -04: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
Wes Kocher
3520083deb
Merge m-c to inbound a=merge
2014-08-20 18:13:40 -07:00
Kartikaya Gupta
ba30d4b539
Bug 1056159 - Extract a helper function from UpdatePanZoomControllerTree. r=botond
2014-08-20 14:04:37 -04:00
Botond Ballo
98e8737438
Bug 1039992 - Fix a unified build issue. r=kats
...
--HG--
extra : rebase_source : 4e1e09c9bcb35f70c3ee7ff833646e5f437f5a86
2014-08-18 16:13:12 -04:00
Benoit Girard
0d295d7249
Bug 1010584 - Part 1: Introduce RenderTargetPixel. r=mwoodrow
2014-07-30 14:36:15 -04:00
Kartikaya Gupta
1fc3c3121f
Bug 1051985 - Move the APZ from ContainerLayer to Layer. r=mattwoodrow,botond
2014-08-11 20:00:37 -04: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
Brian Birtles
0c90999575
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
e12386da41
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
108bdf6bcf
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
e2b30297a4
Bug 1023557
- Store the content description in ContainerLayer instead of FrameMetrics. r=kats,BenWa
2014-07-31 16:11:47 -04:00
Boris Chiou
1188a41eb3
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
David Zbarsky
09ac7edd0d
Bug 952977: Switch some remaining gfxMatrix uses in layers to gfx::Matrix r=nical
2014-07-21 21:37:57 -04:00
Matt Woodrow
b5f939afaf
Bug 1039145 - Part 1: Clean up AreComponentAlphaLayersEnabled. r=roc
2014-07-18 18:48:23 +12:00
Matt Woodrow
d8db547ccb
Bug 1023677
- Don't set mSupportComponentAlphaChildren unless we actually have them. r=roc
2014-07-18 18:48:23 +12:00
Carsten "Tomcat" Book
575d59768d
Backed out changeset 84df2aaf5e2a (bug 1023677
)
2014-07-18 10:45:27 +02:00
Carsten "Tomcat" Book
4e4432eac0
Backed out changeset b049e0ae4d1d (bug 1039145)
2014-07-18 10:45:24 +02:00
Matt Woodrow
865651f293
Bug 1039145 - Part 1: Clean up AreComponentAlphaLayersEnabled. r=roc
2014-07-18 18:48:23 +12:00
Matt Woodrow
12825a660a
Bug 1023677
- Don't set mSupportComponentAlphaChildren unless we actually have them. r=roc
2014-07-18 18:48:23 +12:00
Matt Woodrow
44d5a692f4
Bug 1034247 - Avoid propogating scale factors down to ThebesLayers if it would result in them being larger than the max texture size. r=roc
2014-07-09 14:01:54 +12:00
Jeff Gilbert
f032a2a672
Bug 1037151 - Merge SharedSurface_GL into SharedSurface. - r=mattwoodrow
2014-07-11 15:10:49 -07:00
Jeff Gilbert
1972ca92e9
Bug 1037151 - Purge EOL whitespace from some files. - r=mattwoodrow
2014-07-11 13:45:22 -07:00
Benoit Girard
868c2e128c
Bug 1027380 - Paint flashing from an inactive layer manager saturates the transparent layers. r=mattwoodrow
...
--HG--
extra : rebase_source : 7444cf86fc14bd811d836d4c788958bf3790f572
2014-06-19 14:22:17 -04:00
Ed Morley
0916bd9c19
Merge mozilla-central and inbound
2014-07-10 16:29:53 +01:00
Kartikaya Gupta
6ab9642c81
Bug 1036518 - Back out cset cc20208a6eb4 (bug 1034247) for causing blurry painting and janky scrolling on B2G/Fennec on some devices. r=me a=backout
2014-07-10 10:08:44 -04:00
Matt Woodrow
72a9088d21
Bug 1034247 - Avoid propogating scale factors down to ThebesLayers if it would result in them being larger than the max texture size. r=roc
2014-07-09 14:01:54 +12:00
Benoit Girard
95c9ee19e1
Bug 1035978 - Layers/displaylist dumps don't print newline. r=kats
2014-07-08 17:03:58 -04:00
Jonathan Watt
2c1d56c7a7
Bug 933019, part 9 - Remove code for handling Thebes backed gfxContext from various files under gfx/layers/. r=Bas
2014-07-10 10:58:08 +01:00
Kartikaya Gupta
8e874fe5ec
Bug 1030245 - When dumping the layers dump, ensure up to 1024 characters of each line in the dump is output. r=BenWa
2014-07-03 09:09:24 -04:00
Brian Birtles
6bc9caf270
Bug 1010067 part 2 - Rename nsStyleAnimation.{h,cpp} to StyleAnimationValue.{h,cpp}; r=dbaron
...
--HG--
rename : layout/style/nsStyleAnimation.cpp => layout/style/StyleAnimationValue.cpp
rename : layout/style/nsStyleAnimation.h => layout/style/StyleAnimationValue.h
2014-06-24 15:29:54 +09:00
Brian Birtles
65c7f861cb
Bug 1010067 part 1 - Rename nsStyleAnimation::Value to mozilla::StyleAnimationValue; r=dbaron
...
This patch also moves the static methods defined on nsStyleAnimation so that
they are part of StyleAnimationValue class.
Renaming nsStyleAnimation.h to StyleAnimationValue.h is performed in a separate
patch to simplify the diff (since some tools may not handle file renames
elegantly).
2014-06-24 15:29:54 +09:00
Benoit Girard
19effe56b7
Bug 1027496 - Stream display list and layers dump. r=mattwoodrow
2014-06-19 18:36:25 -04:00
Jeff Gilbert
f3d7974f16
Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow
2014-06-18 17:04:06 -07:00
Jeff Gilbert
59d37e34f9
Bug 1000640 - Death to whitespace. - r=mattwoodrow
2014-06-18 17:04:05 -07:00
Sotaro Ikeda
49dc3110d1
Bug 1026432 - Add GetCompositorChild() to ClientLayerManager r=nical
2014-06-17 19:42:34 -07:00
Chris Lord
ffcda6a27d
Bug 1006084 - Allow ThebesLayers to be recreated when the creation hint changes. r=mattwoodrow
2014-06-13 17:11:08 +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
Wes Kocher
cde83bdc33
Backed out changeset 9d1dd5a9be4f (bug 1000640)
2014-06-04 18:27:41 -07:00
Wes Kocher
40ac0457aa
Backed out changeset 3a764e34c366 (bug 1000640)
2014-06-04 18:27:22 -07:00
Jeff Gilbert
4dfc0e7e48
Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow
2014-06-04 15:20:26 -07:00
Jeff Gilbert
16549b9f87
Bug 1000640 - Death to whitespace. - r=mattwoodrow
2014-06-04 15:20:25 -07:00
Benoit Jacob
b62698ca6d
Bug 987010 - Fix the way that the presence of an alpha channel on a canvas drawing buffer is propagated - r=jrmuizel
2014-05-14 12:26:13 -04:00
Matt Woodrow
f05c7aef5f
Bug 950312 - Part 6: Share code for computing layers component alpha support. r=roc
2014-05-09 22:06:20 +12:00
Matt Woodrow
898541f214
Bug 950312 - Part 3: Add Layers API to see what blend modes are supported. r=roc
2014-05-09 21:48:32 +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
Kartikaya Gupta
c96a07d472
Bug 996768 - Remove redundant copies of HasOpaqueAncestorLayer. r=Bas
2014-04-16 13:56:52 -04:00
Jonathan Watt
200e95e9eb
Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow
2014-04-16 01:41:40 +01:00
Kartikaya Gupta
f22e15107b
Bug 982888 - Add a mScrollHandoffParent field to ContainerLayers. r=
2014-04-11 19:39:21 -04:00
Jonathan Watt
52c729fd76
Bug 964731 - Convert ImageLayerD3D10 and CreateOptimalSurface/CreateOptimalMaskSurface to Moz2D. r=Bas
2014-04-10 09:49:49 +01:00
Matt Woodrow
92503fda00
Bug 904890 - Part 3: Add a layers API to expose the compositor backend. r=roc
2014-04-07 15:11:17 +12:00
Daniel Holbert
b6bb05e33b
Bug 984786 part 8: Give NS_INLINE_DECL_*REFCOUNTING classes private destructor & MOZ_FINAL annotation where appropriate, in /gfx and /content/canvas. r=bjacob
2014-04-04 09:27:02 -07:00
Bas Schouten
b2b52ae04e
Bug 982275 - Part 2: Add a pref for drawing layer-info inside layers. r=jrmuizel
2014-03-12 03:27:33 +01:00
Matt Woodrow
0304720ba9
Bug 940455 - Add LayerManager functonality to clear out a portion of the window for the OS to paint. r=roc,Bas
2014-02-13 13:20:41 +13:00
Mike Conley
e5ef2f1eee
Backing out bug 940455 (36e45a68452b) for numerous regressions. r=bustage-fix.
2014-03-07 16:50:30 -05:00
Matt Woodrow
205af94a59
Bug 940455 - Add LayerManager functonality to clear out a portion of the window for the OS to paint. r=roc,Bas
2014-02-13 13:20:41 +13:00
James Willcox
dfee0058ef
Bug 939276 - Use a single GLContext for all SkiaGL canvases r=jgilbert,vlad,gwright,bjacob
...
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-03-05 15:49:37 -06:00
L. David Baron
e80d256f0e
Bug 828173 patch 3: Add a concept of pending animations to Layer, like pending transform. r=mattwoodrow
2014-03-04 20:13:21 -08:00
L. David Baron
806b550de7
Bug 828173 patch 2: Make Layer::AddAnimation have the caller fill in the data instead of taking parameters. r=mattwoodrow
...
(This is a bigger simplification later in the patch queue, when I add a
variant of AddAnimation called AddAnimationForNextTransaction.)
2014-03-04 20:13:21 -08:00
Benoit Jacob
0c5e25c738
Bug 970747 - 5/6 - Make ContainerLayer::RepositionChild always perform checks and return bool - r=mattwoodrow
2014-02-21 16:50:25 -05:00