Commit Graph

116 Commits

Author SHA1 Message Date
Morris Tseng
dd89d08d8e Bug 709490 - Part 6: Add frame ID to CanvasClient so compositor could update frame correctly, r=roc 2015-09-29 11:51:24 +01:00
Nicholas Nethercote
9b0389603b Bug 1208300 (part 4) - Remove gfxRGBA and some related things. r=jwatt.
Hooray!
2015-09-24 19:24:16 -07:00
Nicholas Nethercote
c279a5c60e 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.
2015-09-24 18:16:45 -07:00
Kearwood (Kip) Gilbert
0cac799a77 Bug 1157984 - Part 3: Correct bounding box transformations to support projections and correct clipping when transforming behind the camera,r=vlad
- Update callsites of Matrix4x4::TransformBounds to use
  Matrix4x4::TransformAndClipBounds.
2015-08-06 17:26:09 -07:00
Chris Peterson
8fd7fe0a98 Bug 1194954 - Fix -Wunreachable-code warnings in gfx/layers and gfx/thebes. r=BenWa 2015-06-03 23:13:42 -07:00
Bobby Holley
cb61f070bf Bug 1190117 - Track mLastProducerID and mLastFrameID explicitly in ImageLayerProperties. r=roc 2015-08-03 15:03:25 -07:00
Kearwood (Kip) Gilbert
d3ad55b783 Bug 1181240 - Part 3: Replace gfx3DMatrix with Matrix4x4 in gfx,r=vlad
- Refactored code to use Matrix4x4 instead of gfx3DMatrix.
- There is not expected to be any functional effect.
2015-07-10 17:06:35 -07:00
Robert O'Callahan
0503068c6c Bug 1143575. Make LayerTreeInvalidation invalidate when an ImageLayerComposite's current frame has changed. r=mattwoodrow 2015-06-07 12:27:06 +03:00
David Anderson
2511c6ca59 Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow 2015-06-21 12:27:31 -04:00
Markus Stange
3000f6c8eb Back out bug 1148582 for static analysis bustage. 2015-07-01 01:20:59 -04:00
David Anderson
38a60e1411 Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow 2015-06-21 12:27:31 -04:00
Markus Stange
6a63440575 Bug 1165185 - Try to avoid invalidations when scrolling transformed elements. r=roc 2015-06-15 19:20:59 -04:00
Nicolas Silva
d73f54cb00 Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
Ying-Ruei Liang (KK)
2c219b4aaf 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
2015-04-11 22:03:00 -04:00
Matt Woodrow
cf8efd08ca Bug 1124543 - Handle invalidating mask changes correctly. r=roc 2015-02-04 10:39:59 +13:00
Benoit Girard
c7311885a6 Bug 1098495 - Retain a container's intermediate surface's content. r=mattwoodrow 2014-11-18 17:33:36 -05:00
Jonathan Watt
549b278c72 Bug 1082477, part 1 - Convert Matrix4x4::TranslatePost/ScalePost callers to Matrix4x4::PostTranslate/PostScale. r=Bas 2014-10-16 10:51:12 +01:00
Sushil Chauhan
58d4d29ac0 Bug 1074099 - Use GetLocalTransform api in LayerTreeInvalidation class. r=mattwoodrow 2014-10-01 11:04:19 -07:00
Markus Stange
992a706b88 Bug 1050493 - Invalidate ColorLayer bounds changes. r=roc 2014-09-23 17:47:36 -04:00
David Zbarsky
dab4416cdc Bug 1060165: Remove gfxPoint3D r=nical 2014-08-29 14:47:30 -04:00
Jeff Muizelaar
d3bf2d4324 Bug 1048916. Convert a bunch of layers from nsAutoPtr to UniquePtr. r=roc
This makes the ownership of LayerProperties more clear.
2014-08-25 11:09:39 -04:00
Ehsan Akhgari
6ad78acff0 Bug 1050609 - Fix more bad implicit constructors in gfx/layers; r=roc 2014-08-20 00:55:14 -04:00
David Zbarsky
34be02bc1d Bug 952977: More gfx::Matrix cleanup in LayerTreeInvalidation r=nical 2014-08-01 08:31:47 -04:00
Wes Kocher
e230d2b1cf 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
86354f8d4e Bug 952977: More gfx::Matrix cleanup in LayerTreeInvalidation r=nical 2014-07-29 19:18:49 -04:00
Kartikaya Gupta
e480e44f68 Bug 1040906 - Replace the out-param on matrix conversion helpers with a return value. r=Bas 2014-07-22 09:12:14 -04:00
Sushil Chauhan
64a79bed75 Bug 1027343 - Geometry change flag needs to be set for modified layer tree. r=mattwoodrow 2014-07-07 12:58:26 -07:00
Matt Woodrow
a2f7841e5d Bug 1019164 - Invalidate the old visible region when we change mask layers since the visible region might have changed at the same time. r=tn 2014-06-10 17:46:42 -04:00
Jeff Muizelaar
a7700e5132 Bug 1018416. Inline TransformRegion. 2014-06-02 11:05:01 -04:00
Jeff Muizelaar
29134b6c34 Bug 1018416. Add Transform method to nsRegion. r=BenWa
Replace the open coded version with one that avoids
allocation and is O(n*log(n)) instead of O(n*2)
2014-05-31 00:39:18 -04:00
Matt Woodrow
6ae58a3acb Bug 1001845 - Simplify invalid regions to avoid spending excessive amounts of time in region code. r=roc 2014-04-28 16:17:31 +12:00
Markus Stange
df2594ebd3 Bug 1008301 - Invalidate when a layer's pre or post scale changes. r=roc 2014-05-12 21:37:20 +02:00
Markus Stange
8b6f7713cb Bug 1008301 - Don't invalidate when the visible region of a layer changes. r=roc 2014-05-12 21:37:20 +02:00
Wes Kocher
4bbc392aed Backed out 4 changesets (bug 1008301) for possibly breaking OSX 10.8 reftests on a CLOSED TREE
Backed out changeset 6a9b7a423db8 (bug 1008301)
Backed out changeset bd16c8833501 (bug 1008301)
Backed out changeset d1fab05aa5f5 (bug 1008301)
Backed out changeset 16ddb5b9eb6d (bug 1008301)
2014-05-12 14:35:46 -07:00
Markus Stange
032817bbf3 Bug 1008301 - Invalidate when a layer's pre or post scale changes. r=roc 2014-05-12 21:37:20 +02:00
Markus Stange
f7f4350136 Bug 1008301 - Don't invalidate when the visible region of a layer changes. r=roc 2014-05-12 21:37:20 +02:00
Carsten "Tomcat" Book
cd91e2820d Backed out changeset 6efbbdf09c63 (bug 1001845) for refest failures 2014-05-06 14:09:56 +02:00
Matt Woodrow
2765acf62a Bug 1001845 - Simplify invalid regions to avoid spending excessive amounts of time in region code. r=roc 2014-04-28 16:17:31 +12:00
Sushil Chauhan
1c7562babb Bug 965102 - Gecko changes to set HWC_GEOMETRY_CHANGED flag appropriately. r=mattwoodrow 2014-04-03 18:59:13 -07:00
Matt Woodrow
0831491917 Bug 976877 - Don't simplify invalidation regions since it leads to poor results. r=roc 2014-03-01 08:49:05 +13:00
L. David Baron
eccc6c3bd1 Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
Matt Woodrow
8ac4bf6d61 Bug 966679 - Make LayerProperties aware of RefLayers. r=roc 2014-02-11 17:00:46 +13:00
David Zbarsky
76af03653a Bug 952977: Convert GetTransform to gfx::Matrix4x4 r=nical 2014-01-27 10:28:47 -05:00
Tor Arvid Lund
c3137b71bb Bug 950677 - More gfxIntSize -> IntSize changes in Layer* classes. r=nical 2013-12-20 11:46:29 -05:00
David Anderson
bbb19b39f3 Only composite changed areas in the software compositor (bug 882447, r=mattwoodrow,nrc). 2013-11-21 11:25:16 -08:00
Ehsan Akhgari
a15756e3c9 Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Markus Stange
f48043185d Bug 912953 - Don't fluff out the invalidation region from the inactive layer manager. r=roc 2013-09-06 11:29:13 +02:00
Robert O'Callahan
51222bdd45 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg 2013-09-02 20:41:57 +12:00
Nicholas Cameron
6ff5d55180 Bug 903816. Include-what-you-use for gfx/layers. r=roc 2013-08-12 11:17:23 +12:00
David Zbarsky
1e45da28fc Bug 903819 - Don't include Layers.h everywhere, part 4 r=nrc 2013-08-20 15:45:30 -04:00