Lee Salzman
cf7e6f61d8
Bug 1170390 - Use Optimal2DFormatForContent over OptimalFormatForContent to avoid enum conversions. r=jrmuizel
2015-07-06 22:27:19 -04:00
Robert O'Callahan
709fca5d74
Bug 1143575. Make ImageClientSingle handle multiple textures. r=nical
2015-07-03 22:37:03 +12:00
Nathan Froyd
92a8124fef
Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
...
This conversion was done with the script:
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
-e 's/TemporaryRef</already_AddRefed</g'
Manual fixups were performed in the following instances:
- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
into already_AddRefed.
- The following files had explicit Move() calls added to make up for the lack
of a copy constructor on already_AddRefed:
dom/base/ImageEncoder.cpp
dom/media/MediaTaskQueue.{h,cpp}
dom/media/webaudio/PannerNode.cpp
- A redundant overload for MediaTaskQueue::Dispatch was deleted.
- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.
- Comments, using declarations, and forward declarations relating to
TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
already_AddRefed.
2015-06-17 10:00:52 -04:00
Jeff Gilbert
b9ee920350
Bug 1144906 - Add accel E10S backend for WebGL compositing. - r=jrmuizel,mattwoodrow,nical,sotaro
2015-06-04 17:15:38 -07:00
Wes Kocher
c801883c90
Backed out changeset c4d1692d88ee (bug 1144906) for OSX m(gl) permaorange
2015-06-04 16:50:59 -07:00
Jeff Gilbert
f857abecd5
Bug 1144906 - Add accel E10S backend for WebGL compositing. - r=jrmuizel,mattwoodrow,nical,sotaro
2015-06-04 14:21:32 -07:00
Wes Kocher
e3c99b1002
Backed out changeset 29bd04fc57f0 (bug 1144906) for b2g m12 orange
2015-05-28 17:08:53 -07:00
Jeff Gilbert
1e6d621331
Bug 1144906 - Fast WebGL compositing on E10S. - r=jrmuizel,mattwoodrow,nical
2015-05-28 14:51:39 -07:00
Nathan Froyd
3c715f85db
Bug 1116905 - part 3 - remove dependence on implicit conversion from T* to TemporaryRef<T>, gfx changes; r=jrmuizel
2015-04-30 15:20:30 -04:00
Milan Sreckovic
926090f9de
Bug 1156058 - Null pointer check. r=jgilbert
2015-04-24 11:21:26 -07:00
Nicolas Silva
8d2e67b41a
Bug 1147894 - Remove the redundant OpUpdateTexture IPDL message. r=sotaro
2015-03-27 11:16:22 +01:00
Sotaro Ikeda
a6782ac1fa
Bug 1139935 - Re-enable RemoveTextureFromCompositableTracker r=nical
2015-03-11 06:53:43 -07:00
Sotaro Ikeda
3d26f2d7bb
Bug 1137251 - Disable RemoveTextureFromCompositableTracker except gonk r=nical
2015-03-03 08:51:05 -08:00
Ethan Lin
e1f52d8144
Bug 1127405 - Remove the ForceRemove in CanvasClientSharedSurface to prevent crash. r=nical
2015-02-03 18:15:00 +01:00
Milan Sreckovic
b574fb870d
Bug 1126918 - NewShSurfaceHandle can return null. Guard against it. r=jgilbert
2015-02-02 17:18:29 -05:00
Nicolas Silva
8b8e48c853
Bug 1119019 - Avoid destroying a SharedSurface before its TextureClient/Host pair. r=sotaro
2015-01-23 15:35:16 +01:00
Jeff Gilbert
e2b7d174dd
Bug 1100699 - Use OriginPos instead of isInverted. - r=mattwoodrow,snorp
2014-11-17 17:02:19 -08:00
Ethan Lin
0e3c3ed07d
Bug 1042696 - Set allocator to TextureClient from constructor. r=nical
2014-12-22 03:49:00 -05:00
Nicolas Silva
fceeb7a2e3
Bug 1110268 - avoid crashing in canvas code when failing to allocate a frame. r=Bas.
2014-12-18 19:28:16 +01:00
Bas Schouten
55948b2feb
Bug 1088414: Use a single synchronization texture for D3D11. r=jrmuizel
...
This patch adds a cross platform 'sync object' that is used to synchronize the drawing of individual textures. For the D3D11 implementation all textures that are written to will have one pixel copied into the D3D11 sync texture while holding its lock. The compositor will then, before composition acquire and release sync once, this should ensure all drawing on the content side has completed.
2014-12-13 01:50:47 +00:00
Wes Kocher
84deca1a09
Backed out changeset 2cd43e5ae2c1 (bug 1088414) for breaking non-Windows builds on a CLOSED TREE
2014-12-12 18:11:59 -08:00
Bas Schouten
0ca40e581f
Bug 1088414: Use a single synchronization texture for D3D11. r=jrmuizel
...
This patch adds a cross platform 'sync object' that is used to synchronize the drawing of individual textures. For the D3D11 implementation all textures that are written to will have one pixel copied into the D3D11 sync texture while holding its lock. The compositor will then, before composition acquire and release sync once, this should ensure all drawing on the content side has completed.
2014-12-13 01:50:47 +00:00
Nicolas Silva
36a576bead
Bug 1102917 - Remove the TextureInfo member from client compositables. r=sotaro
2014-11-25 20:19:13 +01:00
Sotaro Ikeda
578bd6996f
Bug 1093728 - Add AddTextureClient() to CanvasClientSharedSurface::Update() r=nical
2014-11-05 08:15:48 -08:00
Ehsan Akhgari
22d38b6803
Bug 1088838 - Don't export CompositorChild.h, CompositorParent.h and ShadowLayersManager.h twice; r=BenWa
2014-10-27 08:57:36 -04:00
jdashg
bc7e26ddd9
Bug 1066280 - Review fixes. - r=kamidphish,mattwoodrow
2014-10-08 13:04:19 -07:00
jdashg
7faaf9266c
Bug 1066280 - Fixes for SurfaceStream removal. - r=kamidphish,mattwoodrow
2014-10-07 21:16:14 -07:00
jdashg
f4e7d402a7
Bug 1066280 - Remove SurfaceStream. - r=kamidphish,mattwoodrow
2014-10-07 21:15:39 -07:00
jdashg
fd685b2322
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
jdashg
e48648f8ea
Bug 1066280 - Add TexClient for ShSurf. - r=kamidphish,mattwoodrow
...
From a7c09c0f17e19fd2254cb1d7a8ddd07b327151ad Mon Sep 17 00:00:00 2001
---
gfx/2d/HelpersCairo.h | 2 +
gfx/gl/GLContext.cpp | 3 +-
gfx/gl/GLContext.h | 2 -
gfx/gl/GLReadTexImageHelper.cpp | 21 +--
gfx/gl/GLReadTexImageHelper.h | 6 +
gfx/gl/GLScreenBuffer.h | 6 +-
gfx/gl/ScopedGLHelpers.cpp | 40 +++++
gfx/gl/ScopedGLHelpers.h | 26 ++-
gfx/gl/SharedSurface.cpp | 94 +++++++++++
gfx/gl/SharedSurface.h | 19 +++
gfx/gl/SharedSurfaceIO.h | 4 +
gfx/layers/CopyableCanvasLayer.cpp | 3 +-
gfx/layers/client/CanvasClient.cpp | 276 +++++++++++++++++++++++++++++---
gfx/layers/client/CanvasClient.h | 34 ++++
gfx/layers/client/ClientCanvasLayer.cpp | 21 ++-
gfx/layers/client/ClientCanvasLayer.h | 9 +-
gfx/layers/client/TextureClient.cpp | 35 ++++
gfx/layers/client/TextureClient.h | 85 +++++++++-
gfx/layers/composite/TextureHost.cpp | 131 ++++++++++++++-
gfx/layers/composite/TextureHost.h | 64 ++++++++
gfx/layers/d3d10/CanvasLayerD3D10.cpp | 5 +-
gfx/layers/ipc/LayersSurfaces.ipdlh | 5 +
22 files changed, 828 insertions(+), 63 deletions(-)
2014-10-07 21:01:51 -07:00
Jeff Gilbert
4237c2e5cb
Bug 1049957 - Use UniquePtr for SharedSurface, SurfaceFactory. - r=kamidphish
2014-08-15 17:38:08 -07:00
Jeff Gilbert
e9a9e7bc3d
Bug 1037151 - Merge SharedSurface_GL into SharedSurface. - r=mattwoodrow
2014-07-11 15:10:49 -07:00
Nicolas Silva
985c0c65af
Bug 1027601 - Create and allocate TextureClient in a single step in some of the cases. r=sotaro
2014-07-10 13:45:40 +02:00
Carsten "Tomcat" Book
7bf031036d
Backed out changeset e072a46f0b6a (bug 1027601) for test bustages on a CLOSED TREE
2014-07-09 13:23:08 +02:00
Carsten "Tomcat" Book
d9eddca0d3
Backed out changeset ba77f00867e8 (bug 1027601)
2014-07-09 13:22:47 +02:00
Nicolas Silva
329f071d17
Bug 1027601 - Build fix on a CLOSED TREE
2014-07-09 12:23:38 +02:00
Nicolas Silva
2b5d60e4a8
Bug 1027601 - Create and allocate TextureClients in a single step in some cases. r=sotaro
2014-07-09 11:59:49 +02:00
Jeff Gilbert
b8791ff2a1
Bug 1000640 - Crash if we try to use the Gralloc path in TextureHost. - r=mattwoodrow
2014-06-18 17:04:06 -07:00
Jeff Gilbert
6b722909fc
Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow
2014-06-18 17:04:06 -07:00
Sotaro Ikeda
3912807ace
Bug 1022167 - Ensure fence delivery of thebes layer in b2g process r=nical
2014-06-18 12:13:27 -07:00
Nicolas Silva
dc075c6966
Bug 1023350 - Rename TextureClient::GetAsDrawTarget into TextureClient::BorrowDrawTarget and fix TextureClientX11. r=bjacob
2014-06-11 14:57:58 -04:00
Nicolas Silva
2b19aa2a5a
Bug 1008211 - Don't use CreateBufferTextureClient with CanvasClient2D on Windows. r=bas
2014-06-10 14:02:16 -04:00
Sotaro Ikeda
998892d3ad
Bug 1001417 - Forward fence objects in SharedSurfaceGralloc to Compositor r=jgilbert,nical
2014-06-08 06:18:53 -07:00
Sotaro Ikeda
bfb70c0a66
Bug 1019877 - fix deadlock at AsyncTransactionTrackersHolder r=nical
2014-06-05 07:24:05 -07:00
Wes Kocher
5de84ad908
Backed out changeset 3a764e34c366 (bug 1000640)
2014-06-04 18:27:22 -07:00
Jeff Gilbert
c1ad500e63
Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow
2014-06-04 15:20:26 -07:00
Sotaro Ikeda
272c9282a9
Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical
2014-05-24 09:14:45 -07:00
Steve Fink
278d129227
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
e3ea215fb9
Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical
2014-05-23 17:52:43 -07:00
Nicolas Silva
d206f42072
Bug 1010969 - Call RemoveTextureFromCompositable at the end of updates. r=sotaro
2014-05-16 17:25:23 +02:00