Ethan Lin
599b82f649
Bug 1322079 - Set CreateBorderLayer to pure virtual function and let nsDisplayBorder return LAYER_ACTIVE. r=mattwoodrow
...
MozReview-Commit-ID: 6zGq7ymIkO0
2016-12-27 11:40:40 +08:00
Tomislav Jurin
9ff3007b90
Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj
2016-12-02 13:46:53 -08:00
Matt Woodrow
268a08de7a
Bug 1317862 - Part 1: Add TextLayer class and basic support for them. r=mstange
2016-11-24 18:11:29 +13:00
Bas Schouten
cd0155b68f
Bug 1317843 - Split LayerManagerComposite into two classes. r=jrmuizel
2016-11-24 18:11:27 +13:00
David Anderson
5feb03aaa4
Do not paint if a BeginTransaction fails. (bug 1313770 part 1, r=mattwoodrow)
2016-10-28 15:48:34 -07:00
Nathan Froyd
4b6d64b3be
Bug 1272398 - use UniquePtr instead of nsAutoPtr for {Layer,LayerData}::RemoveUserData return type; r=jrmuizel
2016-05-24 18:17:27 -04:00
Daniel Holbert
9da6003b29
Backed out changeset 3d201ae294f8 (bug 1272398), on a hunch that it might have inadvertantly triggered a latent Win PGO crash in layers code
...
CLOSED TREE
MozReview-Commit-ID: 87w8DC3JEM8
2016-05-19 22:50:15 -07:00
Nathan Froyd
d02a31ad83
Bug 1272398 - use UniquePtr instead of nsAutoPtr for {Layer,LayerData}::RemoveUserData return type; r=jrmuizel
2016-05-19 21:48:59 -04:00
Botond Ballo
4b6e207842
Bug 1219296 - Make ScrollMetadata::sNullMetadata a StaticAutoPtr so that ScrollMetadata can admit nsTArray members. r=kats
...
MozReview-Commit-ID: LOZdnAhL5xH
2016-03-30 17:04:10 -04:00
Botond Ballo
aa2fd58a6a
Bug 1219296 - Split fields not needed for repaints out from FrameMetrics. r=kats
...
MozReview-Commit-ID: DymHOSI6yYK
2016-03-28 19:14:52 -04:00
David Anderson
7b7cd394cc
Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow)
2016-03-22 14:08:38 -04:00
Sunny Sidhu
2ba69faae0
Bug 1220873 - Make Layer::mVisibleRegion a LayerIntRegion. r=botond
2015-11-29 02:07:55 -05:00
Nathan Froyd
ac8d913f89
Bug 1217662 - part 2 - move mozilla::layers::LayerUserData to a separate header; r=mattwoodrow
...
Having to include all of Layers.h just to get at the definition of
LayerUserData is inconvenient, especially as most of the interesting
things in Layers.h can be forward-declared. Let's move LayerUserData to
its own header, so clients can include a small header for that,
forward-declare anything else they need from Layers.h, and reduce header
bloat.
2015-10-22 16:04:35 -04:00
Nathan Froyd
4e6d8f6705
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
2015-10-18 01:24:48 -04:00
Thibaud Backenstrass
de3d7846ad
Bug 1158122 - Remove most occurences of nsIntRect in gfx/tests. r=nical
2015-05-07 11:08:01 +02:00
Nicolas Silva
d9b3a8b276
Bug 1142659 - Fix coverity warning in Layers::UserData test. r=jrmuizel
2015-03-17 15:50:06 +01:00
Benoit Girard
e1b6890aa0
Bug 1068190 - Part 1: Add foundation for compositor unit tests. r=mstange
2015-01-14 17:24:09 -05:00
Kartikaya Gupta
6d705577ee
Bug 1109677 - Ensure that the hit region is populated for layer trees in gtests. r=botond
2014-12-14 21:37:52 -05: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
Ehsan Akhgari
8894982f2a
Bug 1060802 - Fix some more bad implicit constructors in gfx; r=roc
2014-08-31 23:31:20 -04:00
Kartikaya Gupta
e6aa3370d1
Bug 1055760 - Add some basic gtests for LayerMetricsWrapper tree-walking. r=BenWa
2014-08-27 22:13:43 -04:00
David Zbarsky
81f2205f92
Bug 952977: More gfx::Matrix cleanup in tests r=nical
2014-08-01 08:31:48 -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
9a7552c7a8
Bug 952977: More gfx::Matrix cleanup in tests r=nical
2014-07-29 19:18:50 -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
Kartikaya Gupta
eb53e44708
Bug 969483 - Fix the RepositionChild function and add a test for it. r=BenWa
2014-02-18 16:38:30 -05:00
Kartikaya Gupta
aa176d12a2
Bug 969483 - Remove stub test code that is inferior to the real code. r=BenWa
2014-02-18 16:38:29 -05:00
David Zbarsky
76af03653a
Bug 952977: Convert GetTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:28:47 -05:00
David Zbarsky
a76cd8cfcd
Bug 952977: Convert SetBaseTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:28:33 -05:00
David Zbarsky
b8816e2953
Bug 952977: Convert ComputeEffectiveTransforms to gfx::Matrix4x4 r=nical
2014-01-27 10:28:04 -05:00
Benoit Jacob
49238a878d
Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
...
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'
find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'
find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'
find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'
find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Kartikaya Gupta
b23442c9c1
Bug 866232 - Update and re-enable the test for hit detection in the APZC tree. r=BenWa
2013-07-30 14:03:41 -04:00
Benoit Girard
d5f66c9121
Bug 775459 - Implement hit testing on layer tree + tests. r=kats
2013-07-02 12:27:17 -04:00
Benoit Girard
dd00ec6422
Bug 865824 - Add Layers unit test. r=milan
2013-04-25 15:54:59 -04:00