Jeff Gilbert
ef930cf580
Bug 1224199 - Destroy SharedSurfaces before ~GLContext(). - r=jrmuizel
2016-04-14 13:50:04 -07:00
Nicolas Silva
644321f6b6
Bug 1256693 - Refer to ClientIPCAllocator instead of ISurfaceAllocator where it makes sense. r=sotaro
2016-03-21 15:18:20 +01:00
Jeff Gilbert
b66e705f39
Bug 1236762 - Simplify locking APIs for SharedSurface. - r=jrmuizel
2016-01-05 15:57:44 -08:00
Nicolas Silva
8baf8f2c04
Bug 1200595 - Consolidate the TextureClient's destruction logic. r=mattwoodrow
2015-11-20 14:25:03 +01:00
Nicolas Silva
ce2636044e
Bug 1200595 - Merge TextureClient and ClientTexture back into TextureClient. r=mattwoodrow
2015-11-20 14:25:00 +01:00
Nicolas Silva
48c889335e
Bug 1200595 - Gralloc TextureData implementation. r=sotaro
2015-10-15 17:53:37 +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
318de9bd3b
Bug 1200595 - Gralloc TextureData implementation. r=sotaro
2015-10-15 17:53:37 +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
94c7acf9ef
Bug 1200595 - Gralloc TextureData implementation. r=sotaro
2015-10-15 17:53:37 +02: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
Morris Tseng
dd98b66ab0
Bug 709490 - Part 9: Readback without blocking main thread. r=jgilbert
...
--HG--
extra : rebase_source : 83fe8ec524c061622465221f51e15747e30420fa
2015-10-12 11:21:03 +08: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
27bcae10e8
Bug 709490 - Part 9: Readback without blocking main thread. r=jgilbert
...
--HG--
extra : rebase_source : a8fc936aa9a9096f70f5e58b3b0450943f7215ba
2015-10-05 10:50:16 +08: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
7c548ee466
Bug 709490 - Part 9: Readback without blocking main thread, r=jgilbert
2015-09-29 11:51:25 +01:00
Lee Salzman
f79b8c9c9a
Bug 1170390 - Use Optimal2DFormatForContent over OptimalFormatForContent to avoid enum conversions. r=jrmuizel
2015-07-06 22:27:19 -04:00
Jeff Gilbert
ee12c03986
Bug 1144906 - Add accel E10S backend for WebGL compositing. - r=jrmuizel,mattwoodrow,nical,sotaro
2015-06-04 17:15:38 -07:00
Wes Kocher
77bc735a23
Backed out changeset c4d1692d88ee (bug 1144906) for OSX m(gl) permaorange
2015-06-04 16:50:59 -07:00
Jeff Gilbert
891a5c7f86
Bug 1144906 - Add accel E10S backend for WebGL compositing. - r=jrmuizel,mattwoodrow,nical,sotaro
2015-06-04 14:21:32 -07:00
Wes Kocher
5ee1a8327e
Backed out changeset 29bd04fc57f0 (bug 1144906) for b2g m12 orange
...
--HG--
extra : amend_source : 79faafb4230715cf6af79b452d121d1e7b58e665
2015-05-28 17:08:53 -07:00
Jeff Gilbert
ec631286de
Bug 1144906 - Fast WebGL compositing on E10S. - r=jrmuizel,mattwoodrow,nical
2015-05-28 14:51:39 -07:00
Ethan Lin
7980550521
Bug 1155498 - Part 4 - Use new FenceHandle to handle the fence in TextureClient. r=sotaro
...
--HG--
extra : rebase_source : 06a799fbabfccd00c4baf7b9d98c967b4432bb73
2015-05-13 01:42:00 +02:00
jdashg
fbd3252fc0
Bug 1066280 - Fixes for SurfaceStream removal. - r=kamidphish,mattwoodrow
2014-10-07 21:16:14 -07:00
jdashg
97fbd15434
Bug 1066280 - Fixes. - r=kamidphish,mattwoodrow
...
From 4e9f52ab105333e8b1120342e9583b2d833a4465 Mon Sep 17 00:00:00 2001
---
dom/canvas/WebGLContext.cpp | 10 +++++--
gfx/gl/GLContext.cpp | 20 --------------
gfx/gl/GLContext.h | 3 --
gfx/gl/GLReadTexImageHelper.cpp | 5 +++-
gfx/gl/GLScreenBuffer.cpp | 13 +++++++--
gfx/gl/GLUploadHelpers.cpp | 27 ++++++++++++++++++
gfx/gl/SharedSurfaceGralloc.cpp | 14 ++++------
gfx/gl/SharedSurfaceGralloc.h | 10 +++++--
gfx/gl/SurfaceTypes.cpp | 2 ++
gfx/gl/SurfaceTypes.h | 1 +
gfx/layers/client/CanvasClient.cpp | 44 ++++++++++++++++++------------
gfx/layers/client/CanvasClient.h | 8 +++---
gfx/layers/client/ClientCanvasLayer.cpp | 6 ++++
gfx/layers/client/ClientCanvasLayer.h | 2 +-
gfx/layers/client/TextureClient.cpp | 11 ++++----
gfx/layers/client/TextureClient.h | 6 ++--
gfx/layers/composite/TextureHost.cpp | 15 +++++-----
gfx/layers/composite/TextureHost.h | 10 +++----
gfx/layers/d3d10/CanvasLayerD3D10.cpp | 9 ++++--
gfx/layers/d3d9/CanvasLayerD3D9.cpp | 8 ++++--
gfx/layers/ipc/LayersSurfaces.ipdlh | 4 +--
gfx/layers/moz.build | 4 ++-
gfx/layers/opengl/GrallocTextureClient.cpp | 26 +++++++++++++++++-
gfx/layers/opengl/GrallocTextureClient.h | 3 ++
24 files changed, 171 insertions(+), 90 deletions(-)
2014-10-07 21:11:54 -07:00
Jeff Gilbert
462da9f9df
Bug 1049957 - Fix compilation errors. - r=kamidphish
2014-08-15 17:38:08 -07:00
Jeff Gilbert
ebe1200d76
Bug 1049957 - Use UniquePtr for SharedSurface, SurfaceFactory. - r=kamidphish
2014-08-15 17:38:08 -07:00
Jeff Gilbert
11ccb72d46
Bug 1037704 - Add polling support to ShSurf. - r=mattwoodrow
2014-08-04 22:10:47 -07:00
Jeff Walden
6508a03596
Bleh, forgot to qref, still fixing bug 1037100. r=bustage
2014-07-11 21:05:59 -07:00
Jeff Walden
1b5c950fe4
Minor bustage fixes for bug 1037609 and bug 1037100. r=bustage
...
--HG--
extra : rebase_source : 72083f1ec1036497a4d6a93ee614ea60794ae749
2014-07-11 21:03:07 -07:00
Jeff Walden
cdc3a731cf
Bug 1037100 - Remove all ScopedDeleteArray uses from gfx/gl/. r=jgilbert
...
--HG--
extra : rebase_source : fff244a14da1605f8c6db552925f5bc4b34fb106
2014-07-10 17:43:01 -07:00
Jeff Gilbert
f032a2a672
Bug 1037151 - Merge SharedSurface_GL into SharedSurface. - r=mattwoodrow
2014-07-11 15:10:49 -07:00
Sotaro Ikeda
3feadaf7d6
Bug 1022205
- disable sync fence on AdrenoTM200 r=jgilbert
2014-06-24 08:59:59 -07:00
Jeff Gilbert
7975417def
Bug 1000640 - Update Gralloc and ANGLE ShSurf backends. - r=mattwoodrow
2014-06-18 17:04:05 -07:00
Sotaro Ikeda
539d95f87e
Bug 1001417 - Forward fence objects in SharedSurfaceGralloc to Compositor r=jgilbert,nical
2014-06-08 06:18:53 -07:00
Wes Kocher
6d7b8049c9
Backed out changeset cb1ea8162165 (bug 1000640)
2014-06-04 18:27:31 -07:00
Jeff Gilbert
418da95c47
Bug 1000640 - Update Gralloc and ANGLE ShSurf backends. - r=mattwoodrow
2014-06-04 15:20:25 -07:00
Sotaro Ikeda
afdf8e01dd
Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical
2014-05-24 09:14:45 -07:00
Steve Fink
12ba3a7a2a
Backed out changeset 171edffe0641 (bug 1006957) for crash at BaseAutoLock<mozilla::Mutex>::BaseAutoLock(mozilla::Mutex&) from layers::AsyncTransactionTrackersHolder::ClearAllAsyncTransactionTrackers on a CLOSED TREE
2014-05-23 21:16:02 -07:00
Sotaro Ikeda
ac5d74bdb6
Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical
2014-05-23 17:52:43 -07:00
Nicolas Silva
69c73e6b6b
Bug 1013292 - Fix some using namespace + unified build issues in gfx code. r=kats
2014-05-22 12:11:45 +02:00
Michael Wu
d57a64bf38
Bug 999694 - Use fence objects in SharedSurfaceGralloc, r=jgilbert
2014-04-21 19:59:30 -04:00
Sotaro Ikeda
582a7928b4
Bug 950079 - Add release Fence handling to SurfaceStream on gonk
2014-05-14 15:40:15 -07:00
Benoit Jacob
f789513539
Bug 1005658 - Don't pass stack pointers to the GL for buffers, and have GLContext try to guard against it - r=jgilbert
2014-05-08 21:03:37 -04:00
Benoit Jacob
3b123f8333
Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical
2014-04-25 22:34:05 -04:00