Commit Graph

848 Commits

Author SHA1 Message Date
Tom Tromey
b5d17b5a13 Bug 1113706 - move TimelineMarker to a new header; r=smaug 2015-01-05 09:39:16 -08:00
Benoit Girard
b3c662e770 Bug 1113781 - Only track layer decision with MOZ_DUMP_PAINTING and add a preference. r=mstange 2014-12-31 15:21:58 -05:00
Benoit Girard
2dd292c6c0 Bug 1113837 - Build display-list dumping without MOZ_DUMP_PAINTING. r=mstange 2014-12-31 15:17:39 -05:00
Kartikaya Gupta
6ad85ed629 Bug 1098654 - Improve layerization of display items when dealing with async scrollable layers. r=tnikkel
The function IsSubjectToAsyncTransforms() was not correctly reporting when a
layer was actually subject to async transforms. As a result, sometimes display
items from above such a layer would end up in a layer below. This could
manifest as page elements being improperly covered by async scrolling elements.
2014-12-30 09:39:39 -05:00
David Anderson
aa28e5e029 Allow containerless scrolling for root scroll frames, too. (bug 1076192, r=tn) 2014-12-17 15:37:28 -08:00
Wes Kocher
92d59d6f05 Merge m-c to inbound a=merge 2014-12-12 17:39:12 -08:00
Tom Tromey
eebc811428 Bug 1050770 - Add paint details to timeline. r=smaug, r=mattwoodrow 2014-12-11 10:40:00 -05:00
Jeff Muizelaar
91a475bf8a Bug 1110530. Use a rectangle instead of a region for layer bounds. r=roc
We only ever look at the bounds of this region so we can just track
that in a single rect instead of a region.
2014-12-12 11:25:36 -05:00
Kartikaya Gupta
ea29c193cd Bug 1105016 - Update tld to pld in debug logging. r=mstange
DONTBUILD because NPOTB
2014-11-26 13:58:15 -05:00
Kartikaya Gupta
3726eb2deb Bug 1104809 - Log accumulation of event regions into a PaintedLayer. r=mstange,tn 2014-11-25 17:05:39 -05:00
Jonathan Watt
0377162314 Bug 1103623 - Port most remaining gfxContext::Fill() calls to Moz2D. r=mattwoodrow 2014-11-24 00:04:33 +00:00
Bas Schouten
8988bf26a2 Bug 1099335: Base decision to use a complex clip on whether a DT supports regoin clipping. r=jrmuizel
DrawTargets that support region clipping are able to clip to regions effectively. Other DrawTargets go through expensive complex clip paths. When invalidating regions we have code that draws in multiple steps when using Direct2D to avoid this expense, we should base the decision to do this simply on whether the DrawTarget supports fast region clipping.
2014-11-16 19:17:40 +00:00
Jonathan Watt
b431664247 Bug 651021 - Make nsRenderingContext a stack class. r=jrmuizel 2014-10-31 20:08:49 +00:00
Jonathan Watt
b0311810e5 Bug 1090607 - Port FrameLayerBuilder.cpp's DebugPaintItem helper to Moz2D. r=Bas 2014-10-29 17:07:11 +00:00
Markus Stange
4ea470fc29 Bug 1055634 - Propagate font smoothing background colors to layers. r=roc 2014-10-24 18:32:23 +02:00
Benoit Girard
91881b27a7 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
a5472b2b25 Bug 961871 - Part 3: Implement will-change budgeting. r=roc 2014-10-21 21:54:32 -04:00
Benoit Girard
8ad6049025 Bug 961871 - Part 2: Refactor will-change scroll, pass through a nsDisplayListBuilder. r=mattwoodrow 2014-10-21 21:54:06 -04:00
Timothy Nikkel
85d5298ae4 Bug 1062792. Don't add clipped out parts of a layer to the opaque region. r=roc 2014-10-21 20:33:12 -05:00
Jonathan Watt
737ed37340 Bug 1085167, part 2 - Get rid of nsRenderingContext's DeviceContext and any need for it to know about app-units-per-device-pixel. r=mattwoodrow 2014-10-20 10:55:49 +01:00
Phil Ringnalda
f048fcc994 Back out 820188e039a0 (bug 1067748) for Android reftest-2 failures 2014-10-19 13:50:29 -07:00
Robert O'Callahan
fcc905ad59 Bug 1067748. When a solid-color display item covers everything else in its layer, make it a ColorLayer. r=tn 2014-09-16 16:27:14 +12:00
Jonathan Watt
44455cc40b 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
fa5188c412 Bug 1077961, part 2 - Stop doing lots of unnecessary and expensive Matrix4x4 multiplication. r=Bas 2014-10-08 04:43:00 +01:00
Jeff Muizelaar
f432439688 Bug 1074615. Remove DRAW_SNAPPED. r=mwoodrow
This doesn't seem to be necessary and doesn't really make sense to me. This
will help us moving region clipping into Moz2D
2014-10-01 01:25:25 -04:00
Botond Ballo
2a82b8776e Bug 1068961 - Reset clip rect for color layers. r=roc 2014-09-26 14:11:17 -04:00
Markus Stange
98daf9b983 Bug 1073103 - SReplace 'Thebes' with 'Painted' in some more places. r=roc 2014-09-26 13:07:06 -04:00
Markus Stange
a15e939a69 Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc 2014-09-26 13:06:08 -04:00
Robert O'Callahan
f80e8515de Bug 1062100. Part 3: When layers are flattened, let all the layers contribute opaqueness to the container layer, whatever their animated geometry roots are. r=tn 2014-09-17 18:45:47 +12:00
Robert O'Callahan
a180df7dde Bug 1062100. Part 2: Assign clip rects to non-async-scrollable scrolled layers, and hide clipped layers if some non-moving layer covers their entire clip rect. r=mattwoodrow 2014-09-06 16:16:33 +12:00
Wes Kocher
24ebd07843 Merge inbound to m-c a=merge 2014-09-16 17:06:43 -07:00
Benoit Girard
98247ee971 Bug 1056944 - Create an image layer if opaque image covers previous display items. r=mwoodrow 2014-09-04 01:02:27 -04:00
Carsten "Tomcat" Book
319b67181c Backed out changeset ec335dbccfbd (bug 1067748) for reftest failures 2014-09-16 09:31:20 +02:00
Robert O'Callahan
f220960adb Bug 1067748. When a solid-color display item covers everything else in its layer, make it a ColorLayer. r=tn 2014-09-16 16:27:14 +12:00
Robert O'Callahan
05406561b0 Bug 1066591. Backout c43865439dd9 (bug 1066211) to fix regression. 2014-09-13 11:56:16 +12:00
Kartikaya Gupta
7e8bbfa0f5 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
Jonathan Watt
96a5f5b9b8 Bug 1064084, part 1 - Convert all consumers of gfxContext::Translate() to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:57:38 +01:00
Jonathan Watt
727b0a4e88 Bug 1065031, part 2 - Changes to Moz2D consuming code to update callers of Moz2D Matrix's Translate, Scale and Rotate methods to use these methods' new names. r=Bas 2014-09-10 18:29:35 +01:00
Jonathan Watt
74357509dd Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas 2014-09-10 14:26:12 +01:00
Carsten "Tomcat" Book
fa3af35d11 Backed out changeset e6b766d8a815 (bug 1065127) for bustage 2014-09-10 14:30:36 +02:00
Jonathan Watt
b001556151 Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas 2014-09-10 11:45:42 +01:00
Robert O'Callahan
f76e10418d Bug 1062100. Part 2: Assign clip rects to non-async-scrollable scrolled layers, and hide clipped layers if some non-moving layer covers their entire clip rect. r=mattwoodrow 2014-09-06 16:16:33 +12:00
Robert O'Callahan
7b733c47e6 Bug 1062100. Part 1: Remove ItemCoversScrollableArea. r=mattwoodrow
This isn't really part of this bug but it simplifies related code.
2014-09-06 16:16:33 +12:00
Patrick Brosset
139e624711 Bug 1050376 - Record restyle/reflow/paint devtools timeline markers at docshell level; r=smaug 2014-09-09 20:54:08 +02:00
Carsten "Tomcat" Book
7aefac9a0a Backed out changeset 48816257a7b0 (bug 1050376) for bc2 test failures 2014-09-09 11:15:18 +02:00
Patrick Brosset
24eb056615 Bug 1050376 - Record restyle/reflow/paint devtools timeline markers at docshell level; r=smaug 2014-09-09 09:48:36 +02:00
Robert O'Callahan
5d6eae5feb Bug 967844. Part 3: Setup FrameMetrics from FrameLayerBuilder based on animated geometry roots. r=mattwoodrow 2014-08-31 15:29:24 +12:00
Phil Ringnalda
ef7af0d5d8 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
6f95837ff0 Bug 967844. Part 3: Setup FrameMetrics from FrameLayerBuilder based on animated geometry roots. r=mattwoodrow 2014-08-31 15:29:24 +12:00
Ehsan Akhgari
8bb87f8a27 Bug 1060985 - Fix more bad implicit constructors in layout; r=roc 2014-08-31 23:36:37 -04:00