Commit Graph

183 Commits

Author SHA1 Message Date
Benoit Jacob
5a16c8030b Bug 913872 - Take nested enums out of gfxASurface - 3/3 : remove the now-useless inclusions of gfxASurface.h - r=jrmuizel 2013-09-24 16:45:14 -04:00
Benoit Jacob
0f90257361 Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
Generated by these regexes:

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Ed Morley
0341739cfa Backed out changeset 505fe9841b16 (bug 915940) on suspicion of Windows PGO-only compilation failures 2013-09-24 16:49:11 +01:00
Nicholas Cameron
e2fcbff76b No bug. Fixbuild bustage in CanvasClient.cpp. r=bustage 2013-09-24 13:59:59 +12:00
Nicholas Cameron
446d7ab751 Bug 912766. Funky refcounting to keep the gfxWindowsSurface alive during transport. r=mattwoodrow 2013-09-24 13:14:12 +12:00
Nicholas Cameron
caf72f56bd Bug 912766. Use the DIB texture client/host. r=mattwoodrow 2013-09-24 13:14:12 +12:00
Nicholas Cameron
ddb224cd5c Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow 2013-09-24 10:59:26 +12:00
Matt Woodrow
1615dac212 Bug 750434 - Fix space before #include. CLOSED TREE 2013-09-23 15:19:38 +12:00
Matt Woodrow
776c085943 Bug 750434 - Followup to fix windows builds. r=bustage CLOSED TREE 2013-09-23 15:15:17 +12:00
Anthony Jones ext:(%2C%20George%20Wright%20%3Cgwright%40mozilla.com%3E)
039b5d7811 Bug 750434 - Add support for Azure content rendering to ClientTiledThebesLayer. r=mattwoodrow,BenWa 2013-08-14 16:31:05 +12:00
Nicholas Cameron
0ea0f5ebb7 Bug 902591. Check for Azure in ContentClientIncremental. r=mattwoodrow
--HG--
extra : rebase_source : 134ddc6a2fd891179b7531cea4222188b518f19a
2013-09-18 15:47:23 +12:00
Nicholas Cameron
1ca2ec9d39 Backed out changeset: 0ae388d62a87. r=me 2013-09-18 15:43:26 +12:00
Nicholas Cameron
afbd33c5ad Bug 907463. Backout OP_SOURCE optimisation from bug 907926. r=mattwoodrow
--HG--
extra : rebase_source : eac66979f88c7801bc19646cf81d7c94a77281c0
2013-09-18 15:39:34 +12:00
Nicholas Cameron
6d247d1353 Bug 915944. Don't set TEXTURE_DEALLOCATE_HOST for deprecated canvas clients. r=mattwoodrow 2013-09-13 14:33:07 +12:00
Nicolas Silva
f2973f89d7 Bug 913821 - Conservatively ensure that TextureClients/Hosts are removed at the end of a video. r=sotaro 2013-09-12 16:50:35 +02:00
Nicolas Silva
d196d86d68 Bug 901224 - Postpone deallocation of shared data to the end of the next transaction. r=sotaro 2013-09-12 16:50:28 +02:00
Matt Woodrow
afe792aec9 Bug 907926 - Don't ignore the composition operator in the Azure paths through ThebesLayerBuffer. r=roc 2013-09-11 17:08:53 +12:00
Matt Woodrow
a13d1d68bd Bug 914505 - Make sure that ThebesLayerBuffer::SupportsAzureContent is correct for the first frame. r=nrc 2013-09-12 16:53:46 +12:00
Vladan Djeric
7731d88199 Backed out changeset a2f85a996314 (bug 907926) for TART regressions 2013-09-11 13:31:53 -04:00
Matt Woodrow
130f818a0b Bug 907926 - Don't ignore the composition operator in the Azure paths through ThebesLayerBuffer. r=roc 2013-09-11 17:08:53 +12:00
Brad Lassey
599def879e bug 887819 - Investigate using the tiled layers backend, create pref to enable tiles r=BenWa 2013-09-10 14:21:37 -04:00
Matt Woodrow
fde62e307a Bug 912173 - Always AddRef and Release the GLContext when sharing a SurfaceStream to avoid mismatches. r=nrc 2013-09-09 14:35:20 +12:00
Nicolas Silva
4f81e6d0f1 Bug 912939 - Rename LayerTransaction.ipdlh into LayersMessages.ipdlh. r=kanru
--HG--
rename : gfx/layers/ipc/LayerTransaction.ipdlh => gfx/layers/ipc/LayersMessages.ipdlh
2013-09-06 17:41:00 +02:00
Nicolas Silva
a8cd16012b Bug 912040 - Make sure deallocating shared texture data doesn't race with TextureClient access. r=sotaro 2013-09-06 11:04:50 +02:00
Nicolas Silva
b14d7014f3 Bug 911941 - Prevent TextureClients to be shared by several ImageLayers. r=Bas 2013-09-06 11:03:12 +02:00
Benoit Jacob
94f74c705d Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel 2013-09-04 08:14:52 -04:00
Nicolas Silva
363a50c0c2 Bug 910921 - Wrong default texture flags when using ImageClient. r=sotaro 2013-09-02 13:36:42 +02:00
Nicholas Cameron
b6f3b6ba96 Bug 786412. Conslidate container layer methods. r=mattwoodrow 2013-09-02 10:19:18 +12:00
Nicolas Silva
ead42beefc Bug 907745 - Add comments to prepare for bug 908196. r=bjacob 2013-08-28 15:21:13 +02:00
Nicolas Silva
588e1f0ebd Bug 907745 - cleanup ImageClient::CreateImage. r=mattwoodrow 2013-08-28 15:21:05 +02:00
Matt Woodrow
d1463f4b25 Bug 907792 - Use SharedTextureClientOG for SharedTextureImage. r=nical 2013-08-28 08:16:54 +12:00
Matt Woodrow
00f7d4acb2 Bug 907792 - Refactor texture flags so that we set the deallocate flags based on the texture type. r=nical 2013-08-28 08:16:03 +12:00
Ryan VanderMeulen
76ad621e29 Backed out changeset a255d2d2b67f (bug 907792) for OSX mochitest asserts on a CLOSED TREE. 2013-08-27 13:07:33 -04:00
Matt Woodrow
711b716949 Bug 907792 - Use SharedTextureClientOGL when needed. r=nical 2013-08-27 11:50:24 +12:00
Nicolas Silva
7897f25f43 Bug 909765 - Make TextureClient and CompositableClient ref counting thread-safe. r=sotaro 2013-08-27 17:03:58 +02:00
Nicolas Silva
81ab7b7667 Bug 907745 - Prepare for texture locking support. r=mattwodrow 2013-08-26 14:50:16 +02:00
Matt Woodrow
f1907aafe6 Bug 907926 - Follow-up to make sure we only enable Azure on the platforms we meant to. 2013-08-23 20:12:30 +12:00
Matt Woodrow
1b896b5ba3 Bug 907926 - Make ContentClientBasic support Azure content. r=nrc 2013-08-23 18:13:55 +12:00
Nicholas Cameron
485fad14c4 Bug 902929. Assert that we don't have a compositable child for ImageBridgeClients. r=nical 2013-08-21 13:27:05 +12:00
Jan Beich
66c4b90185 Bug 907837 - Don't include SPS headers directly. r=nrc 2013-08-22 19:11:51 +12:00
Wes Kocher
a62887bc50 Backed out changeset 6356b67f6c87 (bug 902929) 2013-08-20 20:50:26 -07:00
Nicholas Cameron
1caed203b3 Bug 902929. Assert that we don't have a compositable child for ImageBridgeClients. r=nical 2013-08-21 13:27:05 +12:00
Nicholas Cameron
4f4d777bc8 Bug 907466. Support large canvases with d3d11. r=mattwoodrow 2013-08-21 13:13:57 +12:00
Nicholas Cameron
b5c77aec19 Bug 903816. Include-what-you-use for gfx/layers. r=roc 2013-08-12 11:17:23 +12:00
Matt Woodrow
9c51651626 Bug 906147 - Make sure we lock component alpha textures in the correct order to prevent deadlocks. r=nrc 2013-08-21 11:49:31 +12:00
Matt Woodrow
b58cfaa3e8 Bug 900133 - Make sure we always set TEXTURE_DEALLOCATE_HOST when required. r=nical 2013-08-20 11:39:56 +12:00
Matt Woodrow
d599f32005 Bug 900133 - Don't mark textures as being sent to the compositor until after we've drawn to them. r=nical 2013-08-20 11:39:55 +12:00
Matt Woodrow
4d9a2a8167 Bug 904620 - Always send a transaction when we get a WebGL update to ensure that we get a composite. r=nrc 2013-08-20 11:39:55 +12:00
Chris Lord
ce468943a9 Bug 747811 - Add gfxReusableImageSurfaceWrapper. r=BenWa
Add an implementation of gfxReusableSurfaceWrapper based on gfxImageSurface
and use it on Android to avoid the overhead of shared memory.
2013-08-19 14:59:27 +01:00
Chris Lord
53810eb0be Bug 747811 - Separate gfxReusableSurfaceWrapper into a base class and implementation. r=BenWa
Split gfxReusableSurfaceWrapper into gfxReusableSurfaceWrapper and
gfxReusableSharedImageSurfaceWrapper, to allow for non gfxSharedImage-based
implementations.

--HG--
rename : gfx/thebes/gfxReusableSurfaceWrapper.cpp => gfx/thebes/gfxReusableSharedImageSurfaceWrapper.cpp
2013-08-19 14:59:25 +01:00