Commit Graph

920 Commits

Author SHA1 Message Date
Markus Stange
adcd6aa6fb Bug 961887 - Find uniform opaque background colors under ContainerLayers. r=roc 2015-02-25 11:47:22 -05:00
Markus Stange
2504af3be6 Bug 961887 - Make FindOpaqueBackgroundColorFor take a region instead of a PaintedLayerData. r=roc 2015-02-20 14:46:09 -05:00
Markus Stange
365303483d Bug 961887 - Refactor mVisibleAboveRegion management. r=roc 2015-02-18 17:37:19 -05:00
Timothy Nikkel
297df3c72d Bug 1102896. Save and restore the subpixel AA settings of the draw target when drawing an inactive layer manager so they don't get clobbered. r=mattwoodrow 2015-02-24 22:59:43 -06:00
Wes Kocher
a618220ed2 Backed out 3 changesets (bug 961887) for reftest failures on a CLOSED TREE
Backed out changeset 1684d29858e1 (bug 961887)
Backed out changeset 97c8184c3058 (bug 961887)
Backed out changeset f02c5c1f7704 (bug 961887)
2015-02-24 17:32:37 -08:00
Markus Stange
b85b50f73d Bug 961887 - Find uniform opaque background colors under ContainerLayers. r=roc 2015-02-24 14:35:46 -05:00
Markus Stange
c846d6ed36 Bug 961887 - Make FindOpaqueBackgroundColorFor take a region instead of a PaintedLayerData. r=roc 2015-02-20 14:46:09 -05:00
Markus Stange
08ed4ed4a0 Bug 961887 - Refactor mVisibleAboveRegion management. r=roc 2015-02-18 17:37:19 -05:00
Markus Stange
c8d750abfe Bug 1134311 - Get rid of the draw region and always only use the visible region. r=roc 2015-02-18 13:01:40 -05:00
Timothy Nikkel
1c9359863c Bug 1118051. Report layer event regions items as having empty bounds so they don't expand the visible region of layers. r=roc
When choosing a painted layer for the event region item we must report the bounds of the hit regions as the bounds so that we don't fall through to the bottom most painted layer.
2015-02-11 17:06:47 -06:00
David Anderson
df5272c487 Disable layers flattening if APZ is enabled. (bug 1131389, r=mattwoodrow) 2015-02-10 20:54:18 -08:00
Nicholas Nethercote
0247de46d8 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo. 2015-02-09 14:34:50 -08:00
Andrew McCreight
e048a7df33 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote
40ab0270d5 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo. 2015-02-04 20:05:36 -08:00
Seth Fowler
7644349ed2 Bug 1128225 (Part 3) - Add infrastructure for tracking draw results in geometry items. r=tn 2015-02-04 13:50:56 -08:00
David Anderson
4b58174a83 Make debugging whole-layer invalidation slightly easier. (bug 1128752, r=mattwoodrow) 2015-02-03 14:18:44 -08:00
Timothy Nikkel
eb21db8a7f Bug 1120431. Ensure that the draw region of a painted layer always includes the visible region, even if simplication of the region might try to change that. r=matt.woodrow
Sometimes, in very specific cases,  the visible region gets simplified to one rect and is thus much bigger than the draw region. This becomes a problem if we decide to pull an opaque background color from a lower layer so that we are opaque. In which case we draw the background color over the whole visible region. But we use the draw region to determine if we can place items below this layer, so that background color could cover them incorrectly.
2015-01-25 17:28:51 -06:00
Tom Tromey
425da38fcc Bug 1124680 - add MOZ_OVERRIDE in subclasses of TimelineMarker. r=smaug 2015-01-22 07:35:00 +01:00
Kartikaya Gupta
8c19091b25 Bug 1116586 - Fix hit region for items with rounded corners. r=tn 2015-01-21 09:16:38 -05:00
Kartikaya Gupta
1f5f8b9295 Bug 1119942 - Hoist nsDisplayScrollInfoLayer items out of inactive layermanagers into their parent. r=tnikkel,mattwoodrow 2015-01-20 09:49:30 -05:00
Kartikaya Gupta
091503d58e Bug 1119942 - Add some missing logging for which display items end up on which layer. r=BenWa,mattwoodrow 2015-01-20 09:49:30 -05:00
David Anderson
077e04d5dc Fix classic scrollbars getting occluded with containerless scrolling. (bug 1100756, r=roc) 2015-01-13 23:55:17 -08:00
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