James Willcox
a410996279
Bug 1322650 - Support a 'continuous' mode for SurfaceTexture r=jgilbert
...
This is needed to support Flash on Android
MozReview-Commit-ID: 5yNIoZHonla
2017-05-15 09:37:50 -05:00
James Willcox
d860d36ae0
Bug 1322650 - Use SurfaceTexture for WebGL on Android in E10S r=jgilbert
...
The main advantage here is that it works cross-process.
MozReview-Commit-ID: 7YUTVB4Bydg
2017-05-15 09:37:44 -05:00
Iris Hsiao
3cea13a680
Backed out 11 changesets (bug 1322650) for media test failures on android. a=backout
...
Backed out changeset 31bd912fba54 (bug 1322650)
Backed out changeset 4d486c7469eb (bug 1322650)
Backed out changeset 4cf8f4d5064c (bug 1322650)
Backed out changeset 3cb108f7492f (bug 1322650)
Backed out changeset bd53533c108e (bug 1322650)
Backed out changeset 3522917d8f10 (bug 1322650)
Backed out changeset 2c2c1e33eccc (bug 1322650)
Backed out changeset 2f19977cd6ab (bug 1322650)
Backed out changeset 4519296a323e (bug 1322650)
Backed out changeset e56e5e1c8786 (bug 1322650)
Backed out changeset 96fe52231b57 (bug 1322650)
2017-05-12 10:21:14 +08:00
James Willcox
ccb36b4158
Bug 1322650 - Support a 'continuous' mode for SurfaceTexture r=jgilbert
...
This is needed to support Flash on Android
MozReview-Commit-ID: 5yNIoZHonla
2017-05-11 15:42:44 -05:00
James Willcox
9f0c7ce5fc
Bug 1322650 - Use SurfaceTexture for WebGL on Android in E10S r=jgilbert
...
The main advantage here is that it works cross-process.
MozReview-Commit-ID: 7YUTVB4Bydg
2017-05-11 15:42:42 -05:00
Sebastian Hengst
7700b0dbdc
Backed out changeset 9badb2705567 (bug 1322650)
2017-05-05 18:54:09 +02:00
Sebastian Hengst
542e53c5ea
Backed out changeset 0c01bf8a1bd9 (bug 1322650)
2017-05-05 18:53:45 +02:00
James Willcox
cfc584ce3c
Bug 1322650 - Support a 'continuous' mode for SurfaceTexture r=jgilbert
...
This is needed to support Flash on Android
MozReview-Commit-ID: 5yNIoZHonla
2017-05-05 08:56:35 -05:00
James Willcox
c385f42ceb
Bug 1322650 - Use SurfaceTexture for WebGL on Android in E10S r=jgilbert
...
The main advantage here is that it works cross-process.
MozReview-Commit-ID: 7YUTVB4Bydg
2017-05-05 08:56:28 -05:00
sotaro
48000b28b4
Bug 1355743 - Fix empty Image case handling of ImageClientSingle::UpdateImage() r=mattwoodrow
2017-04-13 11:01:08 +09:00
David Anderson
3540bab7b9
Keep trying async video until PImageBridge is alive again. (bug 1331548 part 2, r=mattwoodrow)
2017-02-01 23:51:51 -08:00
David Anderson
0845de9239
Don't send stale GPUVideoTextures to in-process compositors. (bug 1331761, r=mattwoodrow)
2017-02-01 23:46:17 -08:00
David Anderson
31ae23d1eb
Replace async image container IDs with a typed struct. (bug 1323957 part 1, r=mattwoodrow)
2017-01-17 18:47:05 -08:00
Matt Woodrow
119dd875cb
Bug 1313281 - Part 1: Remove AsyncTransactionTracker. r=sotaro
2016-10-27 20:59:23 +13:00
Matt Woodrow
16f8a8bdeb
Bug 1308363 - Remove GONK specific code from gfx/. r=jrmuizel,sotaro
2016-10-27 13:17:10 +13:00
Sotaro Ikeda
14833ac920
Bug 1306521 - Handle VP9 colorspace BT.709 on BasicCompositor r=nical,jwwang,jya,jrmuizel
2016-10-11 19:46:28 -07:00
Matt Woodrow
9521ba27d8
Bug 1300682 - Part 1: Make sure we create a TextureClient for VideoBridge even if the layers::Image doesn't support GetTextureClient. r=nical
2016-10-07 21:13:32 +13:00
Matt Woodrow
2dabc216dc
Bug 1281456 - Decouple TextureForwarder and CompositableForwarder. r=gw280
2016-09-27 16:22:20 +13:00
Matt Woodrow
7b46c20b8f
Bug 1303897 - Part 1: Use TextureForwarder for Image::GetTextureClient. r=nical
2016-09-23 09:43:11 +12:00
Sotaro Ikeda
cc18201e0b
Bug 1252835 - Make TextureHost recycling implicit r=nical
2016-06-15 04:28:10 -07:00
Jonathan Watt
9c5b8de022
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Nicolas Silva
329b5544c1
Bug 1256693 - ISurfaceAllocator cleanup. r=sotaro
2016-03-17 14:58:58 +01:00
Sotaro Ikeda
9b7b68790a
Bug 1224833 - Check explicitly if image has TextureClient r=nical
2016-02-03 18:11:38 -08:00
Birunthan Mohanathas
bfee0fb40c
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Phil Ringnalda
d871b9515f
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
245cd6a02f
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Kartikaya Gupta
55e50282f0
Bug 1240867 - Add missing include. r=nical
2016-01-20 09:56:01 -05:00
Sotaro Ikeda
95a3db3b09
Bug 1240668 - Duplicate GonkNativeHandle::NhObj in ImageClientSingle::UpdateImage() r=nical
2016-01-20 01:47:05 -08:00
Sotaro Ikeda
e0e11a8fde
Bug 1234472 - Add gonk sideband stream handling to gfx ipc r=nical
2016-01-05 20:50:39 -08:00
Sotaro Ikeda
67ee026f82
Bug 1205713 - Merge ImageHostOverlay/ImageClientOverlay to ImageHost/ImageClient r=nical
2015-12-29 01:07:33 -08:00
Milan Sreckovic
f9a4fe7edd
Bug 1219494 - Part 4. gfx/layers and gfxCrash. r=mchang
2015-12-10 13:01:00 +01:00
Nicolas Silva
d64a3af402
Bug 1200595 - AndroidSurface TextureData implementation. r=mattwoodrow
2015-11-20 14:24:52 +01:00
Nicolas Silva
a7c3a8f216
Bug 1200595 - EGLImage TextureData implementation. r=mattwoodrow
2015-11-20 14:24:49 +01:00
Nicolas Silva
611cfab052
Bug 1200595 - Buffer TextureData implementation. r=mattwoodrow
2015-10-15 17:53:33 +02:00
Wes Kocher
76bed94f9a
Backed out 12 changesets (bug 1200595) for b2g mochitest crashes in SharedBufferManagerParent CLOSED TREE
...
Backed out changeset cf8cf1a039dd (bug 1200595)
Backed out changeset 65da564f952c (bug 1200595)
Backed out changeset 7663208f1582 (bug 1200595)
Backed out changeset fc1fbb97c8eb (bug 1200595)
Backed out changeset 3ad5a4c457fe (bug 1200595)
Backed out changeset add3fe9afc0c (bug 1200595)
Backed out changeset 68aba6b39588 (bug 1200595)
Backed out changeset ab326c34f1cf (bug 1200595)
Backed out changeset ed34bc528a1b (bug 1200595)
Backed out changeset 0dc93424546c (bug 1200595)
Backed out changeset 8cc12f12f3d1 (bug 1200595)
Backed out changeset bb84403701b7 (bug 1200595)
2015-11-24 10:07:02 -08:00
Nicolas Silva
a560723399
Bug 1200595 - AndroidSurface TextureData implementation. r=mattwoodrow
2015-11-20 14:24:52 +01:00
Nicolas Silva
1e3687efb8
Bug 1200595 - EGLImage TextureData implementation. r=mattwoodrow
2015-11-20 14:24:49 +01:00
Nicolas Silva
abb5d0f407
Bug 1200595 - Buffer TextureData implementation. r=mattwoodrow
2015-10-15 17:53:33 +02:00
Carsten "Tomcat" Book
f2da327ad7
Backed out 13 changesets (bug 1200595) for possibly breaking Reftest [TC] Crashtest tc-R on a CLOSED TREE
...
Backed out changeset e7278af0a484 (bug 1200595)
Backed out changeset c13228f84d85 (bug 1200595)
Backed out changeset 4b88e8a3d8af (bug 1200595)
Backed out changeset e55376bd2cf8 (bug 1200595)
Backed out changeset 9c27c8e2c021 (bug 1200595)
Backed out changeset a369a2983ceb (bug 1200595)
Backed out changeset 09e71ba15ea8 (bug 1200595)
Backed out changeset b555b130d439 (bug 1200595)
Backed out changeset 6819f6d82287 (bug 1200595)
Backed out changeset a8cdfbf443d8 (bug 1200595)
Backed out changeset 0092c9d7a86b (bug 1200595)
Backed out changeset 6dc38a1e6073 (bug 1200595)
Backed out changeset fe2164aa1468 (bug 1200595)
2015-11-20 16:55:26 +01:00
Nicolas Silva
ab844e4eb2
Bug 1200595 - AndroidSurface TextureData implementation. r=mattwoodrow
2015-11-20 14:24:52 +01:00
Nicolas Silva
7c76ec31b2
Bug 1200595 - EGLImage TextureData implementation. r=mattwoodrow
2015-11-20 14:24:49 +01:00
Nicolas Silva
75de75b2f5
Bug 1200595 - Buffer TextureData implementation. r=mattwoodrow
2015-10-15 17:53:33 +02:00
David Anderson
d02579864a
Remove CreateImage() from ImageContainer, ImageFactory, and ImageClient. (bug 1222910, r=roc)
2015-11-17 00:09:01 -08:00
David Anderson
0b40b8cdc2
Remove Gonk usage of ImageContainer::CreateImage. (bug 1222910, r=sotaro)
2015-11-17 00:09:01 -08:00
David Anderson
5f92d035c0
Decouple SharedRGBImage and PlanarYCbCrImage from ImageContainer. (bug 1222910, r=mattwoodrow)
2015-11-17 00:09:01 -08:00
David Anderson
177a33f0f5
Decouple SurfaceTextureImage from ImageContainer. (bug 1222910, r=snorp)
2015-11-17 00:09:00 -08:00
David Anderson
1a51373570
Decouple EGLImageImage from ImageContainer. (bug 1222910, r=snorp)
2015-11-17 00:09:00 -08:00
David Anderson
1bb3fc9e29
Use RAII for more TextureClient locking cases. (bug 1222863 part 2, r=nical)
2015-11-10 23:58:29 -08: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
Nathan Froyd
bf7f6dda03
Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
...
This commit was generated using the following script, executed at the
top level of a typical source code checkout.
# Don't modify select files in mfbt/ because it's not worth trying to
# tease out the dependencies currently.
#
# Don't modify anything in media/gmp-clearkey/0.1/ because those files
# use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
grep -v 'mfbt/RefPtr.h' | \
grep -v 'mfbt/nsRefPtr.h' | \
grep -v 'mfbt/RefCounted.h' | \
grep -v 'media/gmp-clearkey/0.1/' | \
xargs perl -p -i -e '
s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#; # handle strange #includes
'
# |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'
# RefPtr.h used |byRef| for dealing with COM-style outparams.
# nsRefPtr.h uses |getter_AddRefs|.
# Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00