Matt Woodrow
4bba997b2e
Bug 1128170 - Use UniquePtr for TextureClient KeepAlive objects to make sure we don't leak them. r=jrmuizel
2015-02-18 13:35:30 +13:00
Matt Woodrow
8b1a65c884
Bug 1131808 - Avoid trying to allocate a buffer for 0 sized YCbCr images. r=nical
2015-02-12 11:23:56 +13:00
Benoit Girard
96e89bec1d
Bug 1131462 - Remove buggy GetAsSurface override. r=jrmuizel
2015-02-10 23:03:15 +08:00
James Willcox
dffa2edbb3
Bug 1123084 - Always deallocate SharedSurface on the client r=jgilbert
2015-02-02 15:25:22 -06:00
Mike Hommey
715db83e04
Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
2015-02-02 09:56:13 +09: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
Nicolas Silva
4056738f05
Bug 1120645 - Use MOZ_PERFORMANCE_WARNING with TextureClients that must be destroyed synchronously. r=BenWa
2015-01-12 23:00:08 +01:00
Ehsan Akhgari
2b0bc024d5
Bug 1117263 - Mark virtual overridden functions as MOZ_OVERRIDE in graphics layers code; r=roc
2015-01-03 12:21:23 -05:00
Ethan Lin
0e3c3ed07d
Bug 1042696 - Set allocator to TextureClient from constructor. r=nical
2014-12-22 03:49:00 -05:00
Milan Sreckovic
64bf344a02
Bug 1072871 - Make sure the targets don't disappear under us. r=benwa
2014-12-15 12:10:06 -05:00
Benoit Girard
63a5b13dee
Bug 1112476 - Support dumping texture data on the ClientLayerManager. r=mstange
2014-12-18 13:32:45 -05:00
Sotaro Ikeda
a4a74b6d14
Bug 1043558 - Use gralloc for WebRTC camera preview r=jesup,nical
2014-12-16 07:11:48 -08: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
Milan Sreckovic
0ad696bf3e
Bug 1099437 - Part 1: Protect against negative sizes and overflow. r=nical
2014-12-09 13:19:29 -05:00
Ryan VanderMeulen
1e6003a24b
Backed out changesets 258ac2909d6e and 55252aebf52d (bug 1099437) for bustage.
...
CLOSED TREE
2014-11-26 14:14:16 -05:00
Milan Sreckovic
530e74983d
Bug 1099437 - Part 1: Protect against negative sizes and overflow. r=nical
2014-11-20 15:07:22 -05:00
Milan Sreckovic
5e24a9f5ca
Bug 1104837: Add warnings and assertions when our assumptions about tile pools fail. r=nical
2014-11-25 14:54:29 -05:00
Milan Sreckovic
3658f9726d
Bug 1095925: Propagate the error up the chain. r=jmuizelaar
2014-11-14 16:11:02 -05:00
Sotaro Ikeda
c035b4f8c3
Bug 1091777 - Add TextureClient recycling to CairoImag r=nical
2014-11-13 07:53:49 -08:00
Ryan VanderMeulen
86e0ade867
Backed out changeset 92295f515d2d (bug 1091777) for bustage.
2014-11-12 21:09:40 -05:00
Sotaro Ikeda
62eaf2a790
Bug 1091777 - Add TextureClient recycling to CairoImag r=nical
2014-11-12 17:47:10 -08:00
Jeff Muizelaar
3c55dc87ae
Bug 1070308. Add Acquire and Release semantics to SharedSurface. r=jgilbert
...
This is needed for D3D11 keyed mutex support. The added assertions
also ensure we're doing things at the right times.
2014-10-09 16:33:22 -04:00
Chris Jones
11ed66efba
Bug 1082895 - Don't use gralloc surfaces when layers.gralloc.disable is set. r=mattwoodrow
2014-10-14 18:30:13 -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
Nicolas Silva
469c52e3f9
Bug 1061699 - Only crash debug builds if BorrowDrawTarget is called on an unlocked TextureClient. r=Bas
2014-09-16 14:32:24 +02:00
Jeff Muizelaar
15cef6b1bb
Bug 1062492. Only use DIBTextureClient with cairo drawing. r=bas
...
We don't want DIBTextureClient unless we're going to be using cairo for
drawing.
2014-09-08 17:18:04 -04:00
Matt Woodrow
059026bca8
Bug 1059033 - Part 4: Avoid recreating DrawTargets too often. r=nical
2014-09-03 09:20:56 +12:00
Phil Ringnalda
c4fecf2e67
Backed out 8 changesets (bug 982338, bug 1057212, bug 1059033) for build bustage
...
CLOSED TREE
Backed out changeset 4df1bd30364d (bug 982338)
Backed out changeset b68664a02904 (bug 1057212)
Backed out changeset 07b3695aa02f (bug 1059033)
Backed out changeset bb3885b57d48 (bug 1059033)
Backed out changeset 76897f52ac2c (bug 1059033)
Backed out changeset 31e89a2a409f (bug 1059033)
Backed out changeset 8e81f6f74182 (bug 1059033)
Backed out changeset c5bbf22f2f28 (bug 1059033)
2014-09-01 18:07:57 -07:00
Matt Woodrow
28c78475e8
Bug 1059033 - Part 4: Avoid recreating DrawTargets too often. r=nical
2014-09-02 12:35:10 +12:00
Phil Ringnalda
f22588c601
Backed out 8 changesets (bug 1057212, bug 1059033) for Windows build bustage
...
CLOSED TREE
Backed out changeset a54dbdca597b (bug 1059033)
Backed out changeset d8d79e4fbfc4 (bug 1059033)
Backed out changeset 87494588e493 (bug 1057212)
Backed out changeset 3e4105ea0a73 (bug 1059033)
Backed out changeset e59430ea4256 (bug 1059033)
Backed out changeset 301fdfea8fbf (bug 1059033)
Backed out changeset 1ef5a3a9bb06 (bug 1059033)
Backed out changeset a7eaac164c36 (bug 1059033)
2014-08-31 23:55:31 -07:00
Matt Woodrow
31a3d01eed
Bug 1059033 - Part 4: Avoid recreating DrawTargets too often. r=nical
2014-09-01 15:22:57 +12:00
Kartikaya Gupta
2383d93a79
Bug 1055605 - Replace MOZ_ANDROID_OMTC with MOZ_WIDGET_ANDROID. r=BenWa
2014-08-22 15:26:56 -04:00
Bas Schouten
94f8ce2d0c
Bug 947781 - Part 2: Add the ability to readback texture data to TextureClient. r=nical
2014-07-30 15:38:46 +02:00
Ed Morley
01f678a316
Backed out changeset c4ecea1452e9 (bug 947781)
2014-07-30 14:54:08 +01:00
Bas Schouten
fba89a7b36
Bug 947781 - Part 2: Add the ability to readback texture data to TextureClient. r=nical
2014-07-30 15:38:46 +02:00
Nicolas Silva
1d8fc4d3aa
Bug 1043389 - Remove TextureFlags::ALLOC_FALLBACK and handle fallback in the creation function directly. r=sotaro
2014-07-29 13:16:57 +02:00
Nicolas Silva
f8d771a884
Bug 1042052 - Add TextureClient::CreateSimilar and have component alpha buffer be of the same type. r=sotaro
2014-07-25 11:24:46 +02:00
Nicolas Silva
6c15014118
Bug 1015718 - Keep the client-side D3D11 texture alive longer so that its destruction does not race with its deserialization. r=bas
2014-07-22 17:49:05 +02:00
Nicolas Silva
208aa83c35
Bug 1040028 - Create and allocate in one step when we used to call CreateBufferTextureClient and CreateTextureClientForDrawing. r=sotaro
2014-07-22 14:17:31 +02:00
Bas Schouten
8f04d976d0
Bug 1036785: Use DIBs for drawing when not using opaque surfaces. r=nical
2014-07-10 23:29:40 +02:00
Corentin Wallez
e481199fca
Bug 1021637: remove unnecessary includes in TextureClient.cpp. r=nical
2014-07-15 09:59:34 +02:00
Jeff Gilbert
e9a9e7bc3d
Bug 1037151 - Merge SharedSurface_GL into SharedSurface. - r=mattwoodrow
2014-07-11 15:10:49 -07:00
Nicolas Silva
369e329cca
Bug 1027601 - Create and Allocate TextureClients in a single step in SharedPlanarYCbCrImage. r=sotaro
2014-07-10 13:48:29 +02: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
425aa7ee75
Backed out changeset ef24cd472cfb (bug 1027601)
2014-07-09 13:22:50 +02:00