Kartikaya Gupta
3b921e945e
Bug 1104266 - Add logging of nsDisplayLayerEventRegions fields in the display list dump. r=mattwoodrow
2014-11-25 08:45:20 -05:00
Kartikaya Gupta
4a94a25a0d
Bug 1104266 - Avoid needless temporary nsACString. r=mattwoodrow
2014-11-25 08:45:19 -05:00
Vladimir Vukicevic
01202baa97
Bug 1036604 - add VR display item and VR frame state bit; r=roc
2014-07-09 12:25:31 -07:00
David Anderson
0965889407
Cache the current animated geometry root in nsDisplayListBuilder. (bug 1101260 part 1, r=roc)
2014-11-20 16:58:18 -08:00
David Anderson
397b1a3520
Add inactive subframes to the dispatch-to-content region. (bug 1082594, r=tn,kats)
2014-11-19 20:24:15 -08:00
Robert O'Callahan
8151ed239b
Bug 1083635. Part 4: Return LayerManager from nsDisplayList::PaintRoot, and dump its contents in nsLayoutUtils::PaintFrame. r=mattwoodrow
...
--HG--
extra : rebase_source : 8c39aebedb275b56eda4a740b63ae4e00523c206
2014-10-21 10:32:10 +13:00
Robert O'Callahan
050aec01b4
Bug 1083635. Part 2: Inline nsDisplayList::PaintForFrame into PaintRoot. r=mattwoodrow
...
--HG--
extra : rebase_source : 1d313b18a2b0cc5894924299f421966a1f428799
2014-10-21 10:32:09 +13:00
Robert O'Callahan
2229b67428
Bug 1083635. Part 1: Remove nsDisplayZoom::Paint since it's dead code. r=mattwoodrow
...
--HG--
extra : rebase_source : bb053e5abb7f5a8ae17ab59af542db292ba35543
2014-10-21 10:32:09 +13:00
Robert O'Callahan
112c705b62
Bug 1052900. Restore -moz-win-exclude-glass handling to the way it worked before. r=tn
2014-10-29 12:33:52 +13:00
Markus Stange
defd3c048d
Bug 1055634 - Propagate font smoothing background colors to layers. r=roc
2014-10-24 18:32:23 +02:00
Benoit Girard
1eda179306
Bug 961871 - Part 4: Fix budget calculation by adding Maybe prerenderer and animate. r=roc
2014-10-21 21:55:55 -04:00
Benoit Girard
584ac95d49
Bug 961871 - Part 3: Implement will-change budgeting. r=roc
2014-10-21 21:54:32 -04:00
Ryan VanderMeulen
9d0527705e
Merge inbound to m-c. a=merge
2014-09-26 16:54:59 -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
a18a198a4f
Bug 1073354 - Update documentation that refers to the now-removed RecordFrameMetrics. r=tn DONBUILD
2014-09-26 11:29:38 -04:00
Kartikaya Gupta
af45294759
Bug 1073024 - Make a pref to control building event regions. r=roc
2014-09-26 02:44:34 -04:00
Ting-Yu Lin
f8923cff09
Bug 1070851 - Make touch caret respect snapshotWindow(). r=roc
...
Avoid capture touch caret when the argument 'withCaret' is false in
snapshotWindow().
2014-09-24 01:26:00 -04:00
Markus Stange
9035319790
Bug 944836 - Build a draggable region for the window based on the -moz-window-dragging property. r=roc
2014-09-18 10:52:27 +02:00
Robert O'Callahan
055ad867ca
Bug 1061045. Remove dirtyRect save/restore from Enter/LeavePresShell since they're not needed anymore. r=tn
2014-09-06 16:16:34 +12: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
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
Markus Stange
0619a8c79d
Bug 1021564 - Invalidate filtered frames when they move in certain ways. r=roc
2014-08-30 18:22:31 +02:00
David Zbarsky
205b93ba09
Bug 1060165: Remove gfxPoint3D r=nical
2014-08-29 14:47:30 -04: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
Markus Stange
5a3e2e40cf
Bug 1055585 - Make nsDisplayClearBackground force drawing into a transparent surface. r=roc
2014-08-20 17:24:39 +02:00
Markus Stange
e7720a7604
Bug 1055585 - Add nsDisplayClearBackground. r=roc
2014-08-20 17:16:41 +02:00
Robert O'Callahan
a1480fca87
Bug 1048752. Part 19: Create nsCaret::GetPaintGeometry to call during painting. r=tn
...
This is the start of the changes to caret-drawing proper.
The idea is to combine GetCaretFrame and GetCaretRect into a method
GetPaintGeometry which looks like GetGeometry but returns values
needed for painting (i.e. including bidi decorations, and returning
a null frame if we're not supposed to paint due to specific caret
state, e.g. in the "off" phase of the blink cycle).
Mostly a straightforward refactoring but there are a few interesting changes:
-- nsDisplayCaret stores its bounds instead of getting them from nsCaret on
demand. Eventually those bounds will not be stored in nsCaret at all.
-- nsDisplayCaret::GetBounds returns true for aSnap. nsCaret draws snapped
rects, so why not.
-- I removed "if (caretRect.Intersects(aDirtyRect))" in EnterPresShell.
As far as I can tell, this check is incorrect because it doesn't take
transforms into account. Since there's at most one drawn caret per window,
hence we do this at most once per paint, I don't think there's any real
performance advantage to having this check.
--HG--
extra : rebase_source : c98d3a5994478b482d19cc2e2ac83ab51bd17e00
2014-08-06 17:19:28 +12:00
Robert O'Callahan
075f97aa37
Bug 1048752. Part 11: Remove nsLayoutUtils.h from nsDisplayList.h. r=tn
...
--HG--
extra : rebase_source : 02251076442a5c4251e8d9484cb428a4c07f3a13
2014-08-06 17:19:25 +12:00
Robert O'Callahan
0de1b9e514
Bug 1048752. Part 10: Remove FrameLayerBuilder.h from nsDisplayList.h. r=tn
...
I was inspired by the previous patch to remove FrameLayerBuilder.h from
nsDisplayList.h too.
--HG--
extra : rebase_source : b34a01bea5865da4737817e2396b98d54cc6d1bf
2014-08-06 17:19:25 +12:00
Robert O'Callahan
b8bd1730f3
Bug 1048752. Part 9: Remove nsCaret.h from nsDisplayList.h. r=tn
...
I got tired of slow build turnarounds every time I modified nsCaret.h.
--HG--
extra : rebase_source : 0c4598c4881ab8de0a636b08c70fb801bb912247
2014-08-06 17:19:25 +12:00
Timothy Nikkel
810c40617a
Bug 1051097. Set the initial visible rect correctly on the wrap list item stored inside transform display items. r=roc
2014-08-10 21:59:02 -05:00
Timothy Nikkel
fb63d1472a
Bug 1042772. Update the reference frame and current frame offset when moving to outside a transform so that we can use the correct offset to compute the initial visible rect for wrap list display items. r=roc
...
* * *
The current reference frame is still the same as our reference frame because we set and restore it in nsFrame::BuildDisplayListForChild before this. So we need to actually compute it.
2014-08-07 11:33:18 -05:00
Ehsan Akhgari
2b84010cb8
Bug 1048246
- Fix more bad implicit constructors in layout; r=roc
...
--HG--
extra : rebase_source : ed828993139bc70232508364a9f046e38b7d3e06
2014-08-07 19:48:38 -04:00
Matt Woodrow
cfce6663f6
Bug 1045864 - Disable layerized background-attachment:fixed when we're using a software compositor. r=roc
2014-08-05 15:25:00 +12:00
David Zbarsky
1c4b5d248a
Bug 952977: More gfx::Matrix cleanup in nsDisplayTransform r=nical
2014-08-01 08:31:48 -04:00
Robert O'Callahan
cdaa7cd2e4
Bug 1042104. Part 1: Cache prerender flag in nsDisplayTransform. r=tn
...
--HG--
extra : rebase_source : 79f39bb1b0d29cc28b4d492fbf6a497f99ec9dac
2014-07-30 00:09:35 +12: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
b967b647bf
Bug 952977: More gfx::Matrix cleanup in nsDisplayTransform r=nical
2014-07-29 19:18:50 -04:00
Matt Woodrow
bf15ddaf06
Bug 1039020
- Layerize background-attachment:fixed for all elements, not just the root one. r=roc
2014-07-25 20:37:50 +12:00
Timothy Nikkel
3ace971252
Bug 1041510. Allow z-index overrides of 0 to work correctly on display items. r=roc
2014-07-23 18:07:18 -05:00
Robert O'Callahan
91f1cc1251
Bug 1041200. Ensure nsDisplayZoom and friends compute mVisibleRect relative to their reference frame. r=mattwoodrow
2014-07-22 17:50:11 +12:00
Robert O'Callahan
37ae3ee79e
Bug 1003425. When opacity is delegated to an nsDisplayBoxShadowOuter via nsDisplayItem::ApplyOpacity, store the opacity in our geometry so we can invalidate if it changes. r=mattwoodrow
...
--HG--
extra : rebase_source : f4b44bad8537029b0e03d912b927686aa352d681
2014-07-22 01:59:10 +12:00
Robert O'Callahan
b55f535d57
Bug 1022612. Part 43: Fix up SuppressComponentAlpha to allow component alpha in inactive layers over opaque parts of the chrome window. r=mattwoodrow
...
--HG--
extra : rebase_source : d6489832ba0a14c38647e25bfe632d2efc698f80
2014-07-15 16:23:37 +12:00
Robert O'Callahan
88a4213214
Bug 1022612. Part 42: Add opaque regions of ThebesLayer content to the "exclude glass" region. r=mattwoodrow
...
--HG--
extra : rebase_source : 715df6c86b139aec7ad607e56c89dbfad3475380
2014-07-14 12:46:13 +12:00
Robert O'Callahan
815af71a46
Bug 1022612. Part 37: Remove aAllowVisibleRegionExpansion. r=mattwoodrow
...
This is no longer needed thanks to the readback simplification.
--HG--
extra : rebase_source : 659147670395fefe41647daab8af93f6c439a99c
2014-06-23 16:24:51 +12:00
Robert O'Callahan
06102a099d
Bug 1022612. Part 33: Remove InFixedPos code. r=mattwoodrow
...
This hasn't been used for a while I guess.
--HG--
extra : rebase_source : d59328f96a11cc65e141c75475c09edac5d42af2
2014-06-23 16:24:14 +12:00
Robert O'Callahan
b2460097a3
Bug 1022612. Part 32: Remove nsDisplayItem::SetVisibleRegionOnLayer. r=mattwoodrow
...
It is no longer called because FrameLayerBuilder always sets the visible
regions on layers now.
--HG--
extra : rebase_source : b6c375fbbaeb79e7332cb55bdda9943bc1ee7f3c
2014-06-23 16:24:14 +12:00
Robert O'Callahan
808792d22f
Bug 1022612. Part 30: Expose IsConstructingScrollLayerForScrolledFrame and IsDisplayPortOpaque on nsDisplayScrollLayer. r=mattwoodrow
...
--HG--
extra : rebase_source : 87d76ad3e9d560f34dad56c25cb96516871e280a
2014-06-23 16:23:58 +12:00