Nicolas Silva
be9ee98a4c
Bug 1200595 - DIB TextureData implementation. r=Bas
2015-11-20 14:24:58 +01:00
Nicolas Silva
df6e210dc0
Bug 1200595 - D3D9 TextureData implementation. r=Bas
2015-10-19 14:46:17 +02:00
Nicolas Silva
a3f38d948e
Bug 1200595 - D3D11 TextureData implementation. r=Bas
2015-10-15 17:53:37 +02:00
Nicolas Silva
48c889335e
Bug 1200595 - Gralloc TextureData implementation. r=sotaro
2015-10-15 17:53:37 +02:00
Nicolas Silva
53a1d987f4
Bug 1200595 - Buffer TextureData implementation. r=mattwoodrow
2015-10-15 17:53:33 +02:00
Nicolas Silva
380cf2ea18
Bug 1200595 - Introduce TextureData and implement it for X11. r=mattwoodrow, Bas, sotaro
2015-10-13 18:48:48 +02:00
Wes Kocher
72261b4523
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)
--HG--
extra : commitid : AMC6i05xyTh
2015-11-24 10:07:02 -08:00
Nicolas Silva
c89268e8b1
Bug 1200595 - Consolidate the TextureClient's destruction logic. r=mattwoodrow
2015-11-20 14:25:03 +01:00
Nicolas Silva
c1b94d01e8
Bug 1200595 - Merge TextureClient and ClientTexture back into TextureClient. r=mattwoodrow
2015-11-20 14:25:00 +01:00
Nicolas Silva
f1aba3b421
Bug 1200595 - DIB TextureData implementation. r=Bas
2015-11-20 14:24:58 +01:00
Nicolas Silva
51dd6c34c2
Bug 1200595 - D3D9 TextureData implementation. r=Bas
2015-10-19 14:46:17 +02:00
Nicolas Silva
2eea103a37
Bug 1200595 - D3D11 TextureData implementation. r=Bas
2015-10-15 17:53:37 +02:00
Nicolas Silva
318de9bd3b
Bug 1200595 - Gralloc TextureData implementation. r=sotaro
2015-10-15 17:53:37 +02:00
Nicolas Silva
e2196598ae
Bug 1200595 - Buffer TextureData implementation. r=mattwoodrow
2015-10-15 17:53:33 +02:00
Nicolas Silva
c3df7801f0
Bug 1200595 - Introduce TextureData and implement it for X11. r=mattwoodrow, Bas, sotaro
2015-10-13 18:48:48 +02:00
Carsten "Tomcat" Book
1a584aca79
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
4b5d77112d
Bug 1200595 - Consolidate the TextureClient's destruction logic. r=mattwoodrow
...
* * *
Bug 1200595 - Rebase fixes
2015-11-20 14:25:03 +01:00
Nicolas Silva
25167273f1
Bug 1200595 - Merge TextureClient and ClientTexture back into TextureClient. r=mattwoodrow
2015-11-20 14:25:00 +01:00
Nicolas Silva
5e347979e8
Bug 1200595 - DIB TextureData implementation. r=Bas
2015-11-20 14:24:58 +01:00
Nicolas Silva
24e78db7d5
Bug 1200595 - D3D9 TextureData implementation. r=Bas
2015-10-19 14:46:17 +02:00
Nicolas Silva
943fe8686e
Bug 1200595 - D3D11 TextureData implementation. r=Bas
2015-10-15 17:53:37 +02:00
Nicolas Silva
94c7acf9ef
Bug 1200595 - Gralloc TextureData implementation. r=sotaro
2015-10-15 17:53:37 +02:00
Nicolas Silva
71d9215e93
Bug 1200595 - Buffer TextureData implementation. r=mattwoodrow
2015-10-15 17:53:33 +02:00
Nicolas Silva
62fdc49f48
Bug 1200595 - Introduce TextureData and implement it for X11. r=mattwoodrow, Bas, sotaro
2015-10-13 18:48:48 +02:00
Nicolas Silva
578a8ccc95
Bug 1224254 - Don't try to allocate unreasonably large textures. r=Bas
2015-11-18 16:59:11 +01:00
Nicolas Silva
8b09e3bc14
Bug 121976 - Add a destruction handshake to PCompositable so as to avoid races between messages and the protocol. r=sotaro
2015-11-06 16:56:03 +01:00
Nicolas Silva
07d26fbeb6
Bug 1219330 - Prevent the creation of TextureClient after shutdown. r=mattwoodrow
2015-10-30 13:25:29 +01: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
Nathan Froyd
583afa0965
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
Nicolas Silva
bbb1b9b970
Bug 1205559 - WError build fix on a CLOSED TREE
2015-10-16 15:22:06 +02:00
Jean-Yves Avenard
70773dbaa0
Bug 1205559: Make TextureChild/TextureClient thread-safe. r=nical
2015-10-16 14:46:33 +02:00
Morris Tseng
acf60f0d3e
Bug 709490 - Part 1: Let ImageBridge transfer CanvasClient async. r=nical
...
Thanks Jon Morton [:jmorton] (jonanin@gmail.com ) for polishing patches.
--HG--
extra : rebase_source : f4ec56dc106357e30660343166ff51e7d9dc0c62
2015-10-12 11:21:02 +08:00
David Anderson
2f7c2f2b2f
Remove ISurfaceAllocator::GetCompositorBackend. (bug 1211109 part 4, r=mattwoodrow)
2015-10-05 23:40:13 -07:00
David Anderson
3716363c72
Remove the static compositor backend variable. (bug 1211109 part 2, r=mattwoodrow)
2015-10-05 23:39:00 -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
298e6642c3
Bug 709490 - Part 1: Let ImageBridge transfer CanvasClient async. r=nical
...
Thanks Jon Morton [:jmorton] (jonanin@gmail.com ) for polishing patches.
--HG--
extra : rebase_source : 9833dd57592081737ce74ad5b6ba8441a243ca0b
2015-10-05 10:50:15 +08:00
David Anderson
1befc42825
Don't use Direct2D if CompositorD3D11::Initialize fails. (bug 1208638, r=jrmuizel)
2015-10-01 23:06:43 -07:00
Wes Kocher
eff494e681
Backed out changeset 919a831786f1 (bug 1208638) for windows build failures
2015-09-30 16:43:26 -07:00
David Anderson
b0e2473678
Don't use Direct2D if CompositorD3D11::Initialize fails. (bug 1208638, r=jrmuizel)
...
--HG--
extra : rebase_source : 2c0b1febd9bcc3a52f48a98243ab853f5b58848d
2015-09-30 16:16:16 -07:00
Nicolas Silva
3f970ed6d0
Bug 1208071
- Ensure that only valid texture actors are added to ImageBridge tarnsactions. r=sotaro
2015-09-30 18:17:30 +02: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
6c605d106d
Bug 709490 - Part 1: Let ImageBridge transfer CanvasClient async, r=nical
2015-09-29 11:51:23 +01:00
Nicolas Silva
953150ec3d
Bug 1072313 - Never call TextureClient::KeepUntilFullDeallocation off the ipdl thread. r=mattwoodrow
2015-09-21 16:54:40 +02:00
Wes Kocher
c6aa53d157
Backed out changeset 09c2a214244b (bug 1072313) for Windows textureclient crashes CLOSED TREE
2015-09-21 10:37:07 -07:00
Nicolas Silva
554272fa7f
Bug 1072313 - Never call TextureClient::KeepUntilFullDeallocation off the ipdl thread. r=mattwoodrow
2015-09-21 16:54:40 +02:00
Milan Sreckovic
d7bc700e96
Bug 1200021 - crash in mozilla::layers::ContentClientDoubleBuffered::FinalizeFrame(nsIntRegion const&): Diagnostics to get more data. r=bas
2015-09-19 11:19:07 +02:00
Matt Woodrow
1ea4b7e961
Bug 1197534 - Send RecycleTexture messages from the ImageBridge thread. r=sotaro
2015-09-14 14:17:39 -04:00
Matt Woodrow
224fe499c5
Bug 1135935 - Part 6: Wait for the compositor to stop using textures before recycling them. r=jrmuizel
...
--HG--
extra : rebase_source : 9b24d6a0299cf50063c4ebcf7ca4322e62e182ad
2015-08-13 15:18:53 -04:00
David Anderson
1af4366a28
Remove the backend flag to TextureClient::CreateForDrawing. (bug 1183910 part 9, r=mattwoodrow)
2015-08-06 17:27:36 -07:00
Carsten "Tomcat" Book
26f2018b57
Backed out 2 changesets (bug 1183910) for bustage on a CLOSED TREE
...
Backed out changeset 9617a34de78f (bug 1183910)
Backed out changeset d8f79432c768 (bug 1183910)
2015-08-06 12:09:52 +02:00