Botond Ballo
c5fb5cdd95
Bug 1247452 - Use the effective visible region rather than the visible region where appropriate in the compositor. r=mattwoodrow
...
MozReview-Commit-ID: 6wbe0kUWh9h
--HG--
extra : rebase_source : 1263fcf02beb41bd8f7c6d6556b629f772fd955a
2016-02-12 20:24:38 -05:00
Michelangelo De Simone
ebffe910b0
Bug 1247445 - Rename Layer::GetEffectiveVisibleRegion GetLocalVisibleRegion. r=botond
...
--HG--
extra : amend_source : 375eedb2c6f3e7aec206071a0be0e5fbc0367e76
2016-02-13 16:50:51 -08:00
Matt Woodrow
c37f9c5c28
Bug 1224433 - Part 3: Compute the invalidation area for preserve-3d layers by accumulating the leaves. r=roc
...
--HG--
extra : rebase_source : 8c144c06bee84bd9bdcf99878eebe6e9c3fddfb9
2016-02-12 11:35:35 +13:00
Sotaro Ikeda
1fadea02c2
Bug 1161978 - Use GetEffectiveVisibleRegion() for Layer invalidation r=matt.woodrow
2016-02-07 16:43:16 -08:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Nicholas Nethercote
74831ef786
Bug 1239864 (part 4) - Use the new rect iterators in gfx/. r=nical.
...
--HG--
extra : rebase_source : 633ae2a881c15ae14d08e9ea9289e2b8f079a4b9
2016-01-18 17:20:58 -08:00
Sunny Sidhu
cfa8942015
Bug 1220873
- Make Layer::mVisibleRegion a LayerIntRegion. r=botond
...
--HG--
extra : source : dc46048f7a9e9cc008c97e2d9e0a100944743055
extra : amend_source : 63783bc076e5969ebacdc8c74f9b5194a1891d9e
2015-11-29 02:07:55 -05:00
Botond Ballo
a592a77364
Bug 1222661 - Replace ToUntyped(obj) calls with obj.ToUnknown*(). r=nical
...
--HG--
extra : rebase_source : 1cab46638599d8c4e6183c42a6fa9d41702392cb
extra : source : cabc28a2200b9b4e5e137d331ee5b86b3c09f065
2015-11-06 22:13:40 -05:00
Thinker K.F. Li
8f0e450b12
Bug 1210784 - Layer tree invalidation with Preserves3D. r=roc
...
--HG--
extra : rebase_source : 0272b4a05d8c502fcb8afa7bc9ad5ea168967fd2
2015-11-02 18:28:00 +01:00
David Anderson
7e275205ba
Use compositor clip rects, not client clip rects, when computing the compositor's backbuffer damage region. (bug 1189159, r=mattwoodrow)
2015-10-28 10:22:16 -07:00
Wes Kocher
312565be9b
Backed out changeset 2bc866307e4b (bug 1189159) for browser_animation_* permafail
2015-10-21 13:42:05 -07:00
David Anderson
7c417e6071
Layer tree invalidation should use the effective clip rect, not the base clip rect. (bug 1189159, r=mattwoodrow)
...
--HG--
extra : rebase_source : 46b7f5e0e8c7116577f541d82a2c58ce0743262c
2015-10-20 22:59:10 -07:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Morris Tseng
83252e218f
Bug 709490 - Part 6: Add frame ID to CanvasClient so compositor could update frame correctly. r=roc
...
--HG--
extra : rebase_source : 6bd6f11189fc431f24d5bdd1381ea5adc7ffcebe
2015-10-12 11:21:03 +08:00
Nicholas Nethercote
0f5722f4da
Bug 1211324 (part 5) - Remove GraphicsFilter and gfxGraphicsFilter. r=mattwoodrow.
2015-10-05 17:18:10 -07:00
Wes Kocher
c1750b75c7
Backed out 11 changesets (bug 709490) for webgl-color-test.html failures a=backout
...
Backed out changeset fc04c5d43550 (bug 709490)
Backed out changeset cd8f9410d335 (bug 709490)
Backed out changeset 6e687c9143c1 (bug 709490)
Backed out changeset 9b20f2c833c4 (bug 709490)
Backed out changeset f9d130aea88e (bug 709490)
Backed out changeset fc513b410949 (bug 709490)
Backed out changeset acf6220b431a (bug 709490)
Backed out changeset 9bceaf913791 (bug 709490)
Backed out changeset 37fba20111e2 (bug 709490)
Backed out changeset 2285ce1596b8 (bug 709490)
Backed out changeset fb4e09920569 (bug 709490)
2015-10-05 08:28:25 -07:00
Morris Tseng
d56ca7414d
Bug 709490 - Part 6: Add frame ID to CanvasClient so compositor could update frame correctly. r=roc
...
--HG--
extra : rebase_source : 1c2226028988ecc166152be7d567491de149d540
2015-10-05 10:50:16 +08:00
Wes Kocher
8631de9c2b
Backed out 13 changesets (bug 709490) for android webgl-color-test.html failures
...
Backed out changeset 5be7514914b6 (bug 709490)
Backed out changeset 04b6f94fbe8a (bug 709490)
Backed out changeset 00c0e85dd8cd (bug 709490)
Backed out changeset 221385b7b81a (bug 709490)
Backed out changeset ecc38c18734f (bug 709490)
Backed out changeset 22878c936384 (bug 709490)
Backed out changeset 0edcbb60eee3 (bug 709490)
Backed out changeset 5feceec2014b (bug 709490)
Backed out changeset 835b655cb873 (bug 709490)
Backed out changeset 6fbb4a3f8cf7 (bug 709490)
Backed out changeset a5f8646fa156 (bug 709490)
Backed out changeset 2ae1386916b3 (bug 709490)
Backed out changeset 6b29a2a0a8fb (bug 709490)
2015-09-29 08:57:36 -07:00
Morris Tseng
2b5f7394c9
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
d0c4a9db1b
Bug 1208300 (part 4) - Remove gfxRGBA and some related things. r=jwatt.
...
Hooray!
--HG--
extra : rebase_source : d691b55eef5a8655aa98b81b5398452a5ebe860d
2015-09-24 19:24:16 -07:00
Nicholas Nethercote
89189f2ced
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.
--HG--
extra : rebase_source : ba62db5204301e4ab57f05b9f9901f986f5b09aa
2015-09-24 18:16:45 -07:00
Kearwood (Kip) Gilbert
cbc7ba3ddb
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.
--HG--
extra : rebase_source : a1aa889af56e404b7ca5c7125021171e67a0b8bf
2015-08-06 17:26:09 -07:00
Chris Peterson
fa48ec17dc
Bug 1194954 - Fix -Wunreachable-code warnings in gfx/layers and gfx/thebes. r=BenWa
2015-06-03 23:13:42 -07:00
Bobby Holley
71c3de0d20
Bug 1190117 - Track mLastProducerID and mLastFrameID explicitly in ImageLayerProperties. r=roc
2015-08-03 15:03:25 -07:00
Kearwood (Kip) Gilbert
5b2ac66a0c
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
008359665e
Bug 1143575. Make LayerTreeInvalidation invalidate when an ImageLayerComposite's current frame has changed. r=mattwoodrow
...
--HG--
extra : commitid : 377gmcdr28S
extra : rebase_source : 2784e6664d1b87442a9045cbdfd82d65e2c8a431
2015-06-07 12:27:06 +03:00
David Anderson
55a0f8ee25
Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow
...
--HG--
extra : rebase_source : 9bf7a73b14e40972b3a5824b2f1344b7770ab789
extra : source : 745366787bcae737c0aec908554db2a3ec288908
2015-06-21 12:27:31 -04:00
Markus Stange
f1b62506d9
Back out bug 1148582 for static analysis bustage.
2015-07-01 01:20:59 -04:00
David Anderson
c29b4c6dfa
Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow
2015-06-21 12:27:31 -04:00
Markus Stange
8f3e1c59d9
Bug 1165185 - Try to avoid invalidations when scrolling transformed elements. r=roc
...
--HG--
extra : rebase_source : e044d64a50c6afff9e518cf53c51aa9658f3b41e
2015-06-15 19:20:59 -04:00
Nicolas Silva
cfff5e52c5
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)
f17daf9c2a
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
--HG--
extra : rebase_source : ca0c60404a28b7418df88104b863760033289910
2015-04-11 22:03:00 -04:00
Matt Woodrow
44031ffb78
Bug 1124543 - Handle invalidating mask changes correctly. r=roc
2015-02-04 10:39:59 +13:00
Benoit Girard
66c7911436
Bug 1098495 - Retain a container's intermediate surface's content. r=mattwoodrow
...
--HG--
extra : rebase_source : cdb691c1127445eeeb2e4fda5a0ef4f2223703fc
2014-11-18 17:33:36 -05:00
Jonathan Watt
c1c0f335ce
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
acab5ad5f9
Bug 1074099 - Use GetLocalTransform api in LayerTreeInvalidation class. r=mattwoodrow
...
--HG--
extra : rebase_source : 80970410b49552e61c0cf76d7953fdd825029bb4
2014-10-01 11:04:19 -07:00
Markus Stange
f705025184
Bug 1050493 - Invalidate ColorLayer bounds changes. r=roc
...
--HG--
extra : rebase_source : 2196e9cb32a41771b9078ec1e66dbb97ef430b71
2014-09-23 17:47:36 -04:00
David Zbarsky
205b93ba09
Bug 1060165: Remove gfxPoint3D r=nical
2014-08-29 14:47:30 -04:00
Jeff Muizelaar
ca08386811
Bug 1048916. Convert a bunch of layers from nsAutoPtr to UniquePtr. r=roc
...
This makes the ownership of LayerProperties more clear.
--HG--
extra : rebase_source : 5d786a246337353522fc1d6e2c252e98e673e936
2014-08-25 11:09:39 -04:00
Ehsan Akhgari
015ce11986
Bug 1050609 - Fix more bad implicit constructors in gfx/layers; r=roc
2014-08-20 00:55:14 -04:00
David Zbarsky
5574f09a04
Bug 952977: More gfx::Matrix cleanup in LayerTreeInvalidation r=nical
2014-08-01 08:31:47 -04: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
2ee4c027e9
Bug 952977: More gfx::Matrix cleanup in LayerTreeInvalidation r=nical
2014-07-29 19:18:49 -04:00
Kartikaya Gupta
0df3a31848
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
a19515ba19
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
831c42ff7a
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
90bfe7361a
Bug 1018416. Inline TransformRegion.
...
--HG--
rename : dom/datastore/tests/test_bug957086.html => dom/datastore/tests/test_basic.html
extra : rebase_source : ab175afb006c0f6ebb02863f510b6fdc6e578f3c
2014-06-02 11:05:01 -04:00
Jeff Muizelaar
4f0e7779e3
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)
--HG--
extra : rebase_source : 9d8de6089bc9fa74ba4b60c3eb3ccf3b3235ad54
2014-05-31 00:39:18 -04:00