Commit Graph

146 Commits

Author SHA1 Message Date
Matt Woodrow
3b784c5247 Bug 1060114 - Fix partial surface uploading through BufferTextureClient. r=Bas 2014-08-29 15:06:26 +12:00
Milan Sreckovic
735f45f426 Bug 1033310: Handle CreateDataSourceSurface* returning nullptr. f=nsilva, r=bschouten 2014-08-27 11:57:43 -04:00
Bas Schouten
d0d5ac91bf Bug 1040187: Combine update regions properly when upload hasn't executed yet. r=nical 2014-08-26 13:06:17 +00:00
Sotaro Ikeda
3a2500deb7 Bug 1053927 - Add memory leak check to GrallocTextureHostOGL r=nical 2014-08-25 06:45:26 -07:00
Ehsan Akhgari
3bffba3b99 Bug 1050609 - Fix more bad implicit constructors in gfx/layers; r=roc 2014-08-20 00:55:14 -04:00
Nicolas Silva
feaa5c6996 Bug 1043929 - Ensure that a locked TextureHost can give access to a valid TextureSource for some of the texture types. r=Bas 2014-07-28 14:58:38 +02:00
Jeff Muizelaar
9eacaec104 Bug 1041690. ShmTextureHost: Remove unnecessary manual deletion
--HG--
extra : rebase_source : b236e7ca49271518e5f9dfe5313475419a7b6250
2014-07-22 16:55:19 -04:00
Jeff Muizelaar
2cfb959a9f Bug 1041690. Make ShmemTextureHost's mShmem member a UniquePtr. r=nical
This makes the ownership clear and removes some code.

--HG--
extra : rebase_source : fca529c3e5dd224be090876a6f4528ed8686e4e5
2014-07-21 18:55:02 -04:00
Bas Schouten
4e29e2f6f9 Bug 1036785: Use DIBs for drawing when not using opaque surfaces. r=nical 2014-07-10 23:29:40 +02:00
Jeff Gilbert
28df0dd6c9 Bug 1037151 - Merge SharedSurface_GL into SharedSurface. - r=mattwoodrow 2014-07-11 15:10:49 -07:00
Jeff Gilbert
b7315c889d Bug 1030934 - Handle a null-frame update. - r=bas 2014-06-30 15:09:55 -07:00
Benoit Girard
c1e4a09735 Bug 1027496 - Stream display list and layers dump. r=mattwoodrow 2014-06-19 18:36:25 -04:00
Jeff Gilbert
f50b8dc737 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
bde621b73d Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow 2014-06-18 17:04:06 -07:00
Wes Kocher
4fe99a4e72 Backed out changeset 3a764e34c366 (bug 1000640) 2014-06-04 18:27:22 -07:00
Jeff Gilbert
1379df57d8 Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow 2014-06-04 15:20:26 -07:00
Sotaro Ikeda
e56f055a37 Bug 1006957 - WebRTC crash fix r=nical 2014-05-26 10:09:25 -07:00
Sotaro Ikeda
cb17692178 Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical 2014-05-24 09:14:45 -07:00
Steve Fink
ea69951aea 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
e66ebd661d Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical 2014-05-23 17:52:43 -07:00
Sotaro Ikeda
12f85ecb9a Bug 950079 - Add release Fence handling to SurfaceStream on gonk 2014-05-14 15:40:15 -07:00
Sotaro Ikeda
704286c61e Bug 1000660 - Remove TextureParent::RecvRemoveTextureSync() r=nical 2014-05-12 18:18:22 -07:00
Sotaro Ikeda
bd5187a291 Bug 984434 - Change ImageBridgeChild::FlushAllImages() to use async ipc r=nical 2014-05-12 07:39:25 -07:00
Sotaro Ikeda
56320456e0 Bug 1000525 - Defer Fence release until IPC delivery complete r=nical 2014-05-05 18:56:40 -07:00
Benoit Jacob
dd92d414d0 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
a7d77dbf30 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
3b0373f215 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
1eb595b102 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
b7bee0617e Bug 987311 - 2/6 - Make TextureFlags a typed enum, auto regex changes - r=nical 2014-04-25 22:34:05 -04:00
Jonathan Watt
0a0470e24e 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
Sotaro Ikeda
b7840a582d Bug 990080 - Prepare for the next reycle, only if TextureClient request it r=BenWa 2014-04-11 17:42:35 -07:00
Matt Woodrow
f67caf0664 Bug 904890 - Part 5: Add a d3d9 texture host for DXGI surfaces. r=nical 2014-04-07 15:23:06 +12:00
Matt Woodrow
b93f84571b Bug 991028 - Remove deprecated IPDL SurfaceDescriptor types. r=nical 2014-04-07 13:32:49 +12:00
Phil Ringnalda
18f873ac9e 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
0851e5c863 Bug 991028 - Remove deprecated IPDL SurfaceDescriptor types. r=nical 2014-04-07 13:32:49 +12:00
Nicolas Silva
e3b0430659 Bug 989904 - Remove the remaining deprecated textures code. r=mattwoodrow 2014-04-03 14:04:04 +08:00
Ryan VanderMeulen
6a3fa988ca Merge inbound to m-c. 2014-04-01 16:45:00 -04:00
Sotaro Ikeda
718f48c2ff Bug 989215 - clear recycle callback in TextureParent::ActorDestroy() r=nical 2014-03-31 20:24:55 -07:00
Nicolas Silva
1087c3b4d4 Bug 989904 - Remove the deprecated basic textures. r=mattwoodrow 2014-04-01 14:28:27 +08:00
Nicolas Silva
d1a5b2c8bd Bug 989904 - Remove deprecated d3d textures. r=mattwoodrow 2014-04-01 14:28:14 +08:00
Sotaro Ikeda
f0adcd4de5 Bug 977880 - Handle ReleaseFence on tiled thebes layer r=cwiiis,nical,BenWa 2014-03-26 18:01:15 -07:00
Nicolas Silva
2dd050e551 Bug 984437 - Remove GrallocDeprecatedTextureHostOGL. r=sortaro 2014-03-19 18:21:44 +01:00
Vladimir Vukicevic
4a91df6014 b=979489; Implement SimpleTiledContentClient and friends; r=jrmuizel 2014-03-10 14:34:57 -04:00
Vladimir Vukicevic
4646ced960 backout of rev 1a52e0063440 b=979489 2014-03-10 21:03:02 -04:00
Vladimir Vukicevic
6a1c3e6135 b=979489; Implement SimpleTiledContentClient and friends; r=jrmuizel 2014-03-10 14:34:57 -04:00
Carsten "Tomcat" Book
8f2d51be14 Merge mozilla-central to mozilla-inbound 2014-02-25 15:18:06 +01:00
Benoit Jacob
d1d70df9d5 Bug 974356 - 4/4 - make CreateIPDLActor error out if TextureParent::Init() failed - r=nical 2014-02-25 08:12:50 -05:00
Benoit Jacob
02886c3f05 Bug 974356 - 3/4 - Make TextureHost::CreateIPDLActor check for bad MemoryTextures - r=nical 2014-02-25 08:12:49 -05:00
Sotaro Ikeda
94c74f3ae6 Bug 957323 - Handle android's fence on gonk r=nical,doublec,pchang 2014-02-24 20:23:41 -08:00
Benoit Jacob
be25d16da4 Bug 971695 - 2/2 - make YCbCrImageDataSerializer check data size - r=nical 2014-02-20 16:04:13 -05:00