Commit Graph
311 Commits
Author SHA1 Message Date
Nicolas Silva 424585a724 Bug 1238743 - remove a bogus assertion in TextureClient.cpp. r=kats 2016-01-12 16:00:24 +01:00
Alfredo Yang 7c0e6ccb7c Bug 1224889 - OpenMax IL video decoding for PDM. r=sotaro, r=nical 2016-01-08 06:24:00 -05:00
Nicolas Silva 0061e505e2 Bug 1221056 - Make the destroy messages for PTexture and PCompositable part of the current transaction when applicable. r=sotaro 2016-01-07 11:17:40 +01:00
Johan Lorenzo d74e322301 Backout Bug 1221056 - make the destroy messages for PTexture and PCompositable part of the current transaction when applicable. r=sotaro
For breaking Firefox OS boot startup (see bug 1237197)
2016-01-06 14:59:35 +01:00
Nicolas Silva 6d9176802f Bug 1221056 - make the destroy messages for PTexture and PCompositable part of the current transaction when applicable. r=sotaro 2016-01-05 14:03:26 +01:00
Nicolas Silva 099b91b0aa Bug 1176024 - Have TextureClient::Lock check that it can expose a DrawTarget when it makes sense. r=Bas 2015-12-30 13:23:01 +01:00
Carsten "Tomcat" Book b4bb16a075 Backed out changeset c1f17f489417 (bug 1176024) for crashes 2015-12-29 14:29:09 +01:00
Nicolas Silva 003a76aa96 Bug 1176024 - Have TextureClient::Lock check that it can expose a DrawTarget when it makes sense. r=Bas 2015-12-29 13:05:50 +01:00
Carsten "Tomcat" Book 876cf022d7 Backed out changeset d569d015069d (bug 1176024) for crashes 2015-12-28 12:07:16 +01:00
Nicolas Silva f61ddc0ae4 Bug 1176024 - Have TextureClient::Lock check that it can expose a DrawTarget when it makes sense. r=Bas 2015-12-28 10:46:25 +01:00
Bas Schouten 9468a1eb39 Bug 1072501: Unmap file mapping on source surface destruction. r=jrmuizel 2015-12-01 16:41:08 +01:00
Nicolas Silva 360f6becaa Bug 1228952 - Move texture metadata out of the BufferTextureClient/Host's buffer. r=Sotaro 2015-12-16 19:50:58 +01:00
Bogdan Postelnicu bbd9c27578 Bug 1230913 - modified assert in order to prevent null pointer dereference. r=roc 2015-12-14 00:01:00 +01:00
Bogdan Postelnicu ece0d1335a Bug 1230911 - modified asseert in order to prevent null pointer dereference. r=roc 2015-12-13 23:59:00 +01:00
Wes Kocher 90d3105ec8 Backed out changeset a52fb149b9ee (bug 1072501) for talos e10s failures resulting in crashes with UpdateFromSurface in the signature CLOSED TREE 2015-12-02 11:59:07 -08:00
David Anderson 5727af88b1 Allow asynchronous D3D11 TextureClients on the main thread. (bug 1217665 part 5, r=nical) 2015-12-02 11:31:17 -08:00
David Anderson 7a339d604b Add a new Image class that wraps drawable TextureClients. (bug 1217665 part 4, r=nical) 2015-12-02 11:31:17 -08:00
Bas Schouten e037e69b61 Bug 1072501: Unmap file mapping on source surface destruction. r=milan 2015-12-01 16:41:08 +01:00
Wes Kocher 3dd76c4eb2 Backed out changeset b336ed16226d (bug 1072501) for windows t-e10s failures 2015-12-01 12:45:17 -08:00
Bas Schouten 362d5aae60 Bug 1072501: Unmap file mapping on source surface destruction. r=milan 2015-12-01 16:41:08 +01:00
Nicolas Silva 5267fdf32a Bug 1200595 - Consolidate the TextureClient's destruction logic. r=mattwoodrow 2015-11-20 14:25:03 +01:00
Nicolas Silva 4b993ad22a Bug 1200595 - Merge TextureClient and ClientTexture back into TextureClient. r=mattwoodrow 2015-11-20 14:25:00 +01:00
Nicolas Silva 48ad872a01 Bug 1200595 - DIB TextureData implementation. r=Bas 2015-11-20 14:24:58 +01:00
Nicolas Silva ce66166e35 Bug 1200595 - D3D9 TextureData implementation. r=Bas 2015-10-19 14:46:17 +02:00
Nicolas Silva 4458f336bd Bug 1200595 - D3D11 TextureData implementation. r=Bas 2015-10-15 17:53:37 +02:00
Nicolas Silva 256c6f41e1 Bug 1200595 - Gralloc TextureData implementation. r=sotaro 2015-10-15 17:53:37 +02:00
Nicolas Silva 611cfab052 Bug 1200595 - Buffer TextureData implementation. r=mattwoodrow 2015-10-15 17:53:33 +02:00
Nicolas Silva dec04bdb5a Bug 1200595 - Introduce TextureData and implement it for X11. r=mattwoodrow, Bas, sotaro 2015-10-13 18:48:48 +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 114bb1661a Bug 1200595 - Consolidate the TextureClient's destruction logic. r=mattwoodrow 2015-11-20 14:25:03 +01:00
Nicolas Silva c419224832 Bug 1200595 - Merge TextureClient and ClientTexture back into TextureClient. r=mattwoodrow 2015-11-20 14:25:00 +01:00
Nicolas Silva 0282e4f959 Bug 1200595 - DIB TextureData implementation. r=Bas 2015-11-20 14:24:58 +01:00
Nicolas Silva a177bf0ab9 Bug 1200595 - D3D9 TextureData implementation. r=Bas 2015-10-19 14:46:17 +02:00
Nicolas Silva 8a5c76842a Bug 1200595 - D3D11 TextureData implementation. r=Bas 2015-10-15 17:53:37 +02:00
Nicolas Silva 87c9127e1e Bug 1200595 - Gralloc TextureData implementation. r=sotaro 2015-10-15 17:53:37 +02:00
Nicolas Silva abb5d0f407 Bug 1200595 - Buffer TextureData implementation. r=mattwoodrow 2015-10-15 17:53:33 +02:00
Nicolas Silva c305610bef Bug 1200595 - Introduce TextureData and implement it for X11. r=mattwoodrow, Bas, sotaro 2015-10-13 18:48:48 +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 51da7ff08c Bug 1200595 - Consolidate the TextureClient's destruction logic. r=mattwoodrow
* * *
Bug 1200595 - Rebase fixes
2015-11-20 14:25:03 +01:00
Nicolas Silva 5aa757715e Bug 1200595 - Merge TextureClient and ClientTexture back into TextureClient. r=mattwoodrow 2015-11-20 14:25:00 +01:00
Nicolas Silva 012900d93d Bug 1200595 - DIB TextureData implementation. r=Bas 2015-11-20 14:24:58 +01:00
Nicolas Silva ffa9170bd0 Bug 1200595 - D3D9 TextureData implementation. r=Bas 2015-10-19 14:46:17 +02:00
Nicolas Silva f94e0f4978 Bug 1200595 - D3D11 TextureData implementation. r=Bas 2015-10-15 17:53:37 +02:00
Nicolas Silva bd5414e7ad Bug 1200595 - Gralloc TextureData implementation. r=sotaro 2015-10-15 17:53:37 +02:00
Nicolas Silva 75de75b2f5 Bug 1200595 - Buffer TextureData implementation. r=mattwoodrow 2015-10-15 17:53:33 +02:00
Nicolas Silva e2ae37b6d3 Bug 1200595 - Introduce TextureData and implement it for X11. r=mattwoodrow, Bas, sotaro 2015-10-13 18:48:48 +02:00
Nicolas Silva 742c6fadca Bug 1224254 - Don't try to allocate unreasonably large textures. r=Bas 2015-11-18 16:59:11 +01:00
Nicolas Silva b3bca19faa 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 a1b1560746 Bug 1219330 - Prevent the creation of TextureClient after shutdown. r=mattwoodrow 2015-10-30 13:25:29 +01: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