bd339
1f362e61d3
Bug 1258758 - rename GetEffectiveClipRect to GetLocalClipRect. r=kats
...
MozReview-Commit-ID: HNErexDE1Xo
2016-05-02 17:27:35 +02:00
Gregor Wagner
acecad8f82
Bug 1267577 - Move nsRunnable to mozilla::Runnable. r=gsvelto
2016-04-27 12:05:40 +02:00
David Anderson
f3dc22db8d
Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow)
...
--HG--
rename : gfx/layers/ipc/CompositorChild.cpp => gfx/layers/ipc/CompositorBridgeChild.cpp
rename : gfx/layers/ipc/CompositorChild.h => gfx/layers/ipc/CompositorBridgeChild.h
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/ipc/CompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/ipc/CompositorBridgeParent.h
2016-03-22 14:08:38 -04: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
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
Sotaro Ikeda
4f26117e33
Bug 1049296 - Handle Sideband stream compositing in HwcComposer2D r=mwu,nical
2016-01-18 20:52:32 -08:00
Sotaro Ikeda
22854d8a96
Bug 1234472 - Add gonk sideband stream handling to gfx ipc r=nical
2016-01-05 20:50:39 -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
Nicholas Nethercote
d5fcd40f2f
Bug 1224403 (part 10) - Make nsScreenGonk::GetNaturalBoundsUntyped() typed. r=kats.
...
--HG--
extra : rebase_source : 5f07908c287af3e6e272047a72837641a4d6824e
2015-11-12 05:44:43 -08: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
Nicholas Nethercote
ad0dd8414a
Bug 1223310
(part 2) - Use LayoutDeviceIntRect for bounds-related functions in nsIWidget. r=kats.
...
The patch renames the existing functions (GetBounds(), GetClientBounds(), etc)
by adding an |Untyped| suffix. It then adds typed equivalents, and uses those
typed equivalents in all the call sites where it's easy to do so. The trickier
remaining call sites are converted to use the Untyped-suffix version.
--HG--
extra : rebase_source : 6bfb15bfc4698e2eba7d4db55497299d3dffcd51
2015-11-09 21:37:32 -08: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
Sotaro Ikeda
fe61debc64
Bug 1205725 - Add basic SidebandStream handling to HwcComposer2D r=mwu,nical
2015-09-28 06:55:48 -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
Mason Chang
696de26763
Bug 1197201. Delete hardware vsync and vsync compositor prefs. r=kats
2015-08-24 11:27:23 -04:00
Sotaro Ikeda
499f383427
Bug 1186000 - Support screen mirroring to HDMI display on gonk r=mwu,mattwoodrow
2015-08-08 13:50:47 -07:00
Boris Chiou
2abd17130d
Bug 1180657 - Use hwc directly on GonkDisplayICS. r=sotaro
2015-08-03 19:43:00 +02:00
Sotaro Ikeda
232b70eeff
Bug 1188877 - Fix LayerComposite::SetClearRect() calling r=mwu
2015-07-30 11:50:16 -07:00
Sotaro Ikeda
7905fa06eb
Bug 1187048 - Code clean up around nsScreenGonk's EGLSurface handling r=mwu
2015-07-24 10:56:05 -07:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Boris Chiou
b595350fe5
Bug 1170061 - ClearOnShutdown for hwcomposer, r=sotaro
...
Call ClearOnShutdown while creaing HwcComposer2D object.
2015-06-24 17:51:00 +02:00
Boris Chiou
cfe9c42db4
Bug 1144012 - Part 4: Remove the usage of mHwc from GonkDisplayICS. r=sotaro
2015-06-23 15:06:00 +02:00
Boris Chiou
a92b13f8f5
Bug 1144012 - Part 3: Wrap vsync code. r=sotaro
2015-06-23 15:05:00 +02:00
Boris Chiou
62c2a9cf9c
Bug 1144012 - Part 2: Use wrapper in HwcComposer2D. r=sotaro
...
Use UniquePtr to access HwcHAL Object becasue only HwcComposer2D
takes the responsibility of HwcHAL.
2015-06-23 15:03:00 +02:00
Shelly Lin
fba7c0fcc2
Bug 1138287 - Part 2: Support multi-screen on Gonk platform. r=mwu, r=sotaro, r=jgilbert, r=mattwoodrow
...
--HG--
extra : histedit_source : 02c96bba0e933c85d9af2566d1c9c8d04d120a31
2015-06-05 11:29:30 +08:00
Sotaro Ikeda
2e1a40399a
Bug 1169093 - Do not use HWC when a region of layer is too small r=mattwoodrow
2015-06-04 07:07:36 -07:00
Jeremy Chen
dedec71f0f
Bug 1155495 - Part 2: Remove unnecessary class inheritance and casting. r=nical, r=sotaro
2015-05-20 01:43:00 -04:00
JerryShih
b90f6b5dcc
Bug 1155797 - P3: turn on vsync for kk, l and up. r=mwu
...
--HG--
extra : rebase_source : 6fb3d2c7c1c94fe8bbffb8d1e1e7a87049068738
2015-05-17 18:12:00 +02:00
Ethan Lin
cdc345235c
Bug 1155498 - Part 3 - Use new FenceHandle to handle the fence in Compositor. r=sotaro
...
--HG--
extra : rebase_source : cca9aa2fbb07f2c00741fb33ce33d7e2db1ba0f2
2015-05-13 00:37:00 +02:00
Sotaro Ikeda
5879b59690
Bug 1152370 part 3 - Use DisplaySurface r=mwu
2015-04-23 06:49:40 -07: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
Sotaro Ikeda
053aaa45c3
Bug 1152135 - Split EGLSurface buffer swap and HWC buffer swap r=mwu,nical,jgilbert
2015-04-17 09:28:41 -07:00
Carsten "Tomcat" Book
eba45dcee4
Backed out changeset abe6234be8a3 (bug 1152135) for Android 4 opt/debug perma failure
2015-04-17 12:04:55 +02:00
Sotaro Ikeda
7078be3faa
Bug 1152135 - Split EGLSurface buffer swap and HWC buffer swap r=mwu,nical,jgilbert
2015-04-16 18:15:26 -07:00
Ying-Ruei Liang (KK)
bc847b0369
Bug 1143522 - Convert cliprect coordinate in gonk code. r=botond
...
--HG--
extra : rebase_source : c9e042c65d9d5d2bb8fbc72c8b12f87de2c40192
2015-04-11 22:06:00 -04:00
Mason Chang
0608d80c6e
Bug 1153395 - Disable Hardware Vsync on Non Kit-Kat devices. r=mwu
2015-04-14 10:31:58 -04:00
Sotaro Ikeda
a3181c2cc5
Backed out changeset 29d01ad10d0b (bug 1152135)
2015-04-13 12:28:06 -07:00
Sotaro Ikeda
1a785adc42
Bug 1152135 - Split EGLSurface buffer swap and HWC buffer swap r=mwu,nical,jgilbert
2015-04-12 11:23:46 -07:00
Sotaro Ikeda
034f019f32
Bug 1150518 - Remove glClear() on blit composition r=Sushil
2015-04-02 20:26:47 -07:00
Mason Chang
a3bcbbc0c6
Bug 1149646 - Delete non-uniform vsync interval warning. r=kats
2015-03-31 14:38:51 -07:00
Kartikaya Gupta
c4fce7246b
Bug 1139541 - Make HWC skip opacity=0 layers. r=sotaro
2015-03-06 16:52:34 -05:00
Sushil Chauhan
88116be583
Bug 1127585 - Update HWC_BLIT composition-type value. r=sotaro
2015-02-03 10:38:21 -08:00
JerryShih
837bd03db3
Bug 1123734 - Notify global VsyncSource in hwc. r=mwu, r=mchang
2015-01-20 08:21:00 -05:00
Mason Chang
61fabafd0d
Bug 1095242. Part 1: Ensure Vsync Is Enabled on b2g. r=mwu
2015-01-20 08:31:10 -08:00
Mason Chang
5ee7bd3f46
Bug 1120753 - Fallback to software vsync if hardware vsync fails to initialize on b2g. r=kats,mwu
2015-01-15 07:56:12 -08:00
Jeff Gilbert
a76e617dd0
Bug 1100699 - Use OriginPos instead of isInverted. - r=mattwoodrow,snorp
2014-11-17 17:02:19 -08:00
Mason Chang
3027d1493e
Bug 1101974. Part 6. Create VsyncSource on b2g. r=kats
2014-12-18 08:30:06 -08:00
Mason Chang
2ceec663c3
bug 1102453. Read HwcComposer vsync status on main thread. r=mwu
2014-12-17 21:25:09 -08:00