Nicholas Nethercote
6ee3666899
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
8413cc973c
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
3629781b69
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Seth Fowler
7d2a7a5455
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
d4b93595b2
Make debugging whole-layer invalidation slightly easier. (bug 1128752, r=mattwoodrow)
2015-02-03 14:18:44 -08:00
Timothy Nikkel
6c3cb83d4a
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
e46c893814
Bug 1124680 - add MOZ_OVERRIDE in subclasses of TimelineMarker. r=smaug
2015-01-22 07:35:00 +01:00
Kartikaya Gupta
791c89ebb6
Bug 1116586 - Fix hit region for items with rounded corners. r=tn
2015-01-21 09:16:38 -05:00
Kartikaya Gupta
b4cf97874e
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
8e244775ac
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
7ae9b13ba1
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
Tom Tromey
626168339b
Bug 1113706 - move TimelineMarker to a new header; r=smaug
2015-01-05 09:39:16 -08:00
Benoit Girard
9e4578658c
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
8d46226796
Bug 1113837 - Build display-list dumping without MOZ_DUMP_PAINTING. r=mstange
2014-12-31 15:17:39 -05:00
Kartikaya Gupta
b492715b7d
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
c6a362e7e4
Allow containerless scrolling for root scroll frames, too. (bug 1076192, r=tn)
...
--HG--
extra : rebase_source : 29d74a8734aabc0e583ad5e372f7b04bcc9e2b8f
2014-12-17 15:37:28 -08:00
Wes Kocher
e83bf23b26
Merge m-c to inbound a=merge
2014-12-12 17:39:12 -08:00
Tom Tromey
b07d94c0b7
Bug 1050770 - Add paint details to timeline. r=smaug, r=mattwoodrow
2014-12-11 10:40:00 -05:00
Jeff Muizelaar
93fa5b52e6
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.
--HG--
extra : rebase_source : 4cd84ab724d9dde1c578e71362cab8033af7a210
2014-12-12 11:25:36 -05:00
Kartikaya Gupta
5fad9ad99a
Bug 1105016 - Update tld to pld in debug logging. r=mstange
...
DONTBUILD because NPOTB
2014-11-26 13:58:15 -05:00
Kartikaya Gupta
b30e6b04cd
Bug 1104809 - Log accumulation of event regions into a PaintedLayer. r=mstange,tn
2014-11-25 17:05:39 -05:00
Jonathan Watt
cf91ac7a84
Bug 1103623 - Port most remaining gfxContext::Fill() calls to Moz2D. r=mattwoodrow
2014-11-24 00:04:33 +00:00
Bas Schouten
d4181f7c5f
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
1151d6d34f
Bug 651021 - Make nsRenderingContext a stack class. r=jrmuizel
2014-10-31 20:08:49 +00:00
Jonathan Watt
1c4344fe0a
Bug 1090607 - Port FrameLayerBuilder.cpp's DebugPaintItem helper to Moz2D. r=Bas
2014-10-29 17:07:11 +00:00
Markus Stange
dc285f3c81
Bug 1055634 - Propagate font smoothing background colors to layers. r=roc
2014-10-24 18:32:23 +02:00
Benoit Girard
73fd622865
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
9a6afcf765
Bug 961871 - Part 3: Implement will-change budgeting. r=roc
2014-10-21 21:54:32 -04:00
Benoit Girard
a5d50725ad
Bug 961871 - Part 2: Refactor will-change scroll, pass through a nsDisplayListBuilder. r=mattwoodrow
2014-10-21 21:54:06 -04:00
Timothy Nikkel
835e640a3f
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
134efbf1e5
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
...
--HG--
extra : rebase_source : d8fb804f03a1cc4635d6acd7f66f5f21962de6d3
2014-10-20 10:55:49 +01:00
Phil Ringnalda
97dd36eb4f
Back out 820188e039a0 (bug 1067748) for Android reftest-2 failures
2014-10-19 13:50:29 -07:00
Robert O'Callahan
e63ed307d0
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
f440265515
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
84e4023207
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
05d4c288be
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
--HG--
extra : rebase_source : 4a5987ce2a95eaba44a69233d1b7f461f5ec16ea
2014-10-01 01:25:25 -04:00
Botond Ballo
11cb81a983
Bug 1068961 - Reset clip rect for color layers. r=roc
2014-09-26 14:11:17 -04:00
Markus Stange
abdabfe784
Bug 1073103 - SReplace 'Thebes' with 'Painted' in some more places. r=roc
2014-09-26 13:07:06 -04:00
Markus Stange
131bfce4c5
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
Robert O'Callahan
392c6d258b
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
...
--HG--
extra : rebase_source : 255807b178162f62082da0fe2bed2315cf4c0581
2014-09-17 18:45:47 +12:00
Robert O'Callahan
140f2acdb4
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
...
--HG--
extra : rebase_source : bdc498a51f323d8536746e5a6faf6094a243a984
2014-09-06 16:16:33 +12:00
Wes Kocher
48ee047035
Merge inbound to m-c a=merge
2014-09-16 17:06:43 -07:00
Benoit Girard
37b549af2f
Bug 1056944 - Create an image layer if opaque image covers previous display items. r=mwoodrow
...
--HG--
extra : rebase_source : d561b6e215d654560f89acddec1663517ca4e8ce
2014-09-04 01:02:27 -04:00
Carsten "Tomcat" Book
8d4febe0fa
Backed out changeset ec335dbccfbd (bug 1067748) for reftest failures
2014-09-16 09:31:20 +02:00
Robert O'Callahan
9b4d6f2a19
Bug 1067748. When a solid-color display item covers everything else in its layer, make it a ColorLayer. r=tn
...
--HG--
extra : rebase_source : e0fdaddfd24c59531ffef865b46f948ba203acaa
2014-09-16 16:27:14 +12:00
Robert O'Callahan
c08d60faea
Bug 1066591
. Backout c43865439dd9 (bug 1066211) to fix regression.
...
--HG--
extra : rebase_source : bd821aade3b17d7eb4cd6acb5f56b46a343eb239
2014-09-13 11:56:16 +12:00
Kartikaya Gupta
6b0862f4b0
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
fa8c7ec8a5
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
b3072839ca
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
581078dcb7
Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas
2014-09-10 14:26:12 +01:00