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
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
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
Sotaro Ikeda
e9f22928b0
Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical
2014-07-19 05:33:12 -07:00
Wes Kocher
a38cfddcd3
Backed out changeset 9b764e12796d (bug 1039883) for b2g m7 failures
2014-07-18 14:21:44 -07:00
Sotaro Ikeda
010ff9062f
Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical
2014-07-18 12:40:35 -07:00
Carsten "Tomcat" Book
dbc1e7e9d8
Backed out changeset 79d65a1bbb01 (bug 1039883) for assertion failures on a CLOSED TREE
2014-07-18 16:09:15 +02:00
Sotaro Ikeda
493aa8441b
Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical
2014-07-18 06:21:24 -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
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
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
Sotaro Ikeda
b8bd77162f
Bug 1012737 - Add erro check to GrallocTextureClientOGL::GetAsDrawTarget() r=nical
2014-05-22 06:17:03 -07:00
Sotaro Ikeda
6d56e6a846
Bug 1011327 - Add checks around SharedBufferManagerParent
2014-05-20 13:50:25 -07:00
Sotaro Ikeda
49e7b8aab1
Bug 971946 - Remove TextureClientData r=nical
2014-05-14 06:29:52 -07:00
chiajung hung
6d989dc8a2
Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical
2014-04-30 21:52:00 -04:00
Benoit Jacob
6f2d2f66cd
Bug 987311 - 5/6 - Convert the rest of CompositorTypes.h to typed enums, auto regex changes - r=nical
...
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)DIAGNOSTIC_\(NONE\|TILE_BORDERS\|LAYER_BORDERS\|BIGIMAGE_BORDERS\|FLASH_BORDERS\)\($\|[^A-Za-z0-9_]\)/\1DiagnosticTypes::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/DiagnosticTypes\:\:NONE/DiagosticTypes::NO_DIAGNOSTIC/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)DIAGNOSTIC_\(IMAGE\|CONTENT\|CANVAS\|COLOR\|CONTAINER\|TILE\|BIGIMAGE\|COMPONENT_ALPHA\|REGION_RECT\)\($\|[^A-Za-z0-9_]\)/\1DiagnosticFlags::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)EFFECT_\(MASK\|MAX_SECONDARY\|RGB\|YCBCR\|COMPONENT_ALPHA\|SOLID_COLOR\|RENDER_TARGET\|MAX\)\($\|[^A-Za-z0-9_]\)/\1EffectTypes::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_\(CONTENT\|SHMEM\|YCBCR\|SHARED_GL\|SHARED_GL_EXTERNAL\|STREAM_GL\|FALLBACK\)\($\|[^A-Za-z0-9_]\)/\1DeprecatedTextureClientType::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(BUFFER_UNKNOWN\|BUFFER_IMAGE_SINGLE\|BUFFER_IMAGE_BUFFERED\|BUFFER_BRIDGE\|BUFFER_CONTENT\|BUFFER_CONTENT_DIRECT\|BUFFER_CONTENT_INC\|BUFFER_TILED\|BUFFER_SIMPLE_TILED\|COMPOSITABLE_IMAGE\|COMPOSITABLE_CONTENT_SINGLE\|COMPOSITABLE_CONTENT_DOUBLE\|BUFFER_COUNT\)\($\|[^A-Za-z0-9_]\)/\1CompositableType::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/CompositableType\:\:COMPOSITABLE_/CompositableType::/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_HOST_\(DEFAULT\|TILED\|COPY_PREVIOUS\)\($\|[^A-Za-z0-9_]\)/\1DeprecatedTextureHostFlags::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)Texture\(Front\|Back\|OnWhiteFront\|OnWhiteBack\)\($\|[^A-Za-z0-9_]\)/\1TextureIdentifier::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(OPEN_NONE\|OPEN_READ\|OPEN_WRITE\|OPEN_READ_WRITE\|OPEN_READ_ONLY\|OPEN_WRITE_ONLY\)\($\|[^A-Za-z0-9_]\)/\1OpenMode::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(MaskNone\|Mask2d\|Mask3d\|NumMaskTypes\)\($\|[^A-Za-z0-9_]\)/\1MaskType::\2\3/g'
find gfx -type f | xargs sed -i 's/Diagostic/Diagnostic/g'
2014-04-25 22:34:06 -04:00
Benoit Jacob
3de8fa4fb5
Bug 987311 - 2/6 - Make TextureFlags a typed enum, auto regex changes - r=nical
...
find gfx/layers -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_\(USE_NEAREST_FILTER\|NEEDS_Y_FLIP\|DISALLOW_BIGIMAGE\|ALLOW_REPEAT\|NEW_TILE\|COMPONENT_ALPHA\|RB_SWAPPED\|FRONT\|ON_WHITE\|ON_BLACK\|TILE\|RECYCLE\|COPY_PREVIOUS\|DEALLOCATE_CLIENT\|IMMUTABLE\|IMMEDIATE_UPLOAD\|DOUBLE_BUFFERED\|ALLOC_FALLBACK\)\($\|[^A-Za-z0-9_]\)/\1TextureFlags::\2\3/g'
find gfx/layers -type f | xargs sed -i 's/TEXTURE_FLAGS_DEFAULT/TextureFlags::DEFAULT/g'
2014-04-25 22:34:05 -04:00
Blair McBride
2628f554b1
Backed out 9 changesets (bug 987311, bug 989027, bug 989144). r=sheriff
...
Backed out changeset 046c061d91c2 (bug 989144)
Backed out changeset 3f1b41adeaef (bug 987311)
Backed out changeset 8d5a171564bd (bug 987311)
Backed out changeset dcc0d016de7a (bug 987311)
Backed out changeset 27f338fbc835 (bug 989027)
Backed out changeset 4a67f5144ea4 (bug 989027)
Backed out changeset 62ba0a377450 (bug 987311)
Backed out changeset 6a2542a5c865 (bug 987311)
Backed out changeset 1dfd9a457f34 (bug 987311)
2014-04-27 19:45:08 +12:00
Benoit Jacob
3b4f604917
Bug 987311 - 5/6 - Convert the rest of CompositorTypes.h to typed enums, auto regex changes - r=nical
2014-04-25 22:34:06 -04:00
Benoit Jacob
1960158bd9
Bug 987311 - 2/6 - Make TextureFlags a typed enum, auto regex changes - r=nical
2014-04-25 22:34:05 -04:00
Ed Morley
d7140486ee
Backed out changeset d58403b60c77 (bug 959089)
2014-04-25 17:51:11 +01:00
chiajung hung
219670ffd0
Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical
2014-04-25 02:29:00 -04:00
Jonathan Watt
55c20bd03b
Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow
2014-04-16 01:41:40 +01:00
Jonathan Watt
d8822322a9
Bug 995454 - Kill off TextureClientSurface's GetAsSurface and UpdateSurface methods (Moz2D migration). r=mattwoodrow
2014-04-13 11:07:12 +01:00
Matt Woodrow
ea5c198fb6
Bug 991028 - Remove deprecated IPDL SurfaceDescriptor types. r=nical
2014-04-07 13:32:49 +12:00
Phil Ringnalda
9724e72fe9
Backed out 4 changesets (bug 991028) for nonunified bustage
...
CLOSED TREE
Backed out changeset 147581a518c3 (bug 991028)
Backed out changeset e5bacc566e58 (bug 991028)
Backed out changeset 6dc852777a4d (bug 991028)
Backed out changeset 780bec5571b9 (bug 991028)
2014-04-06 21:21:38 -07:00
Matt Woodrow
f63bc4cb77
Bug 991028 - Remove deprecated IPDL SurfaceDescriptor types. r=nical
2014-04-07 13:32:49 +12:00
Sotaro Ikeda
51568625ac
Bug 985772 - Remove SurfaceDescriptor around GonkNativeWindow r=nical,pchang,schiu,mikeh,gal
2014-03-31 08:24:28 -07:00
Sotaro Ikeda
6b249a1804
Bug 977880 - Handle ReleaseFence on tiled thebes layer r=cwiiis,nical,BenWa
2014-03-26 18:01:15 -07:00
Jonathan Watt
3ad3cf73a4
Bug 985049 - Remove gfxPlatform::SupportsAzureContent() and kill of the resulting dead code. r=mattwoodrow
2014-03-19 10:36:58 +08:00
Nicolas Silva
9f4cea356c
Bug 973892 - Make TextureClient::GetAsDrawTarget work with canvas. r=bas
2014-03-17 22:35:20 +01:00
Bas Schouten
bcf9cda593
Bug 963073 - Merge tiling branch. r=Bas,jrmuizel,BenWa
...
http://hg.mozilla.org/users/bschouten_mozilla.com/tiling/summary
This work is mainly porting tiled layers to new textures, implementing
double-buffered tiles and implementing a texture client pool, to be used by
tiled content clients.
Any questions regarding this patch should go to:
Bas Schouten <bschouten@mozilla.com >
Chris Lord <clord@mozilla.com >
Nicolas Silva <nsilva@mozilla.com >
In their absence questions can be directed to:
Jeff Muizelaar <jmuizelaar@mozilla.com >
Benoit Girard <bgirard@mozilla.com >
2014-03-07 22:34:04 +01:00
Sotaro Ikeda
a20fea9d9b
Bug 977596 - Fix build failure on flatfish r=jmuizelaar
2014-02-27 13:26:22 -08:00
Sotaro Ikeda
5c8314f18d
Bug 957323 - Handle android's fence on gonk r=nical,doublec,pchang
2014-02-24 20:23:41 -08:00
Ryan VanderMeulen
37e0da581d
Backed out changesets a6831c02d8cf, 5ab4f97a3220, 2784838dbc94, and 6364146ddb19 (bug 973892) for B2G bustage.
...
CLOSED TREE
2014-02-19 14:28:05 -05:00
Nicolas Silva
e99186913f
Bug 973892 - Fix b2g bustage on a CLOSED TREE.
2014-02-19 20:00:50 +01:00
Sotaro Ikeda
3cd6d8d8f1
Bug 946720 - Enable new textures at ContentClient/ContentHost classes on gonk. r=nical
2014-02-13 09:46:59 -05:00
Nicolas Silva
33945ba0f6
Bug 952507 - Fix locking in double buffered ContentClient. r=nrc
2014-01-24 15:25:04 +01:00
Sotaro Ikeda
aa705dd60b
Bug 961405 - Change GraphicBufferLocked as to use AtomicRefCountedWithFinalize. r=nical, r=pchang, r=doublec, r=mikeh
2014-01-21 13:53:48 -05:00
Solomon Chiu
09bf2c4a29
Bug 958420 - The follow up bug for removing one additional PIXEL_FORMAT_A_8. r=mwu.
2014-01-15 18:06:53 +08:00
Solomon Chiu
4f8000c1fe
Bug 958420 - Remove obsolete code trying to use PIXEL_FORMAT_A_8 with gralloc. r=gal, r=pchang
2014-01-13 10:00:34 +08:00
Benoit Jacob
f634d4797a
Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Morris Tseng
f35fda7f31
Bug 893304 - Convert CanvasClient to new TextureClint/Host and replace SurfaceDescriptors with TextureClients inside SharedSurfaces. r=nical, r=snorp, r=jgilbert, r=bjacob
2014-01-10 08:06:06 -05:00
Nicolas Silva
6fd420766e
Bug 938591 - Use texture flags in DataTextureSource + D3D9/11 fixes. r=nrc
2014-01-07 17:20:11 +01:00
Ryan VanderMeulen
41dbf5dae8
Backed out changeset 403ab3213879 (bug 893304) for bustage.
2014-01-07 10:07:32 -05:00
Morris Tseng
8b900aa427
Bug 893304 - Convert CanvasClient to new TextureClint/Host and replace SurfaceDescriptors with TextureClients inside SharedSurfaces. r=nical, r=snorp, r=jgilbert, r=bjacob
2014-01-07 09:58:03 -05:00
Ms2ger
c767890297
Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc
2013-12-31 10:06:12 +01:00
Tor Arvid Lund
231aac51ee
Bug 950677 - Change gfxIntSize -> gfx::IntSize some places in layers/ipc. r=nical
2013-12-20 11:46:28 -05:00