Commit Graph

292 Commits

Author SHA1 Message Date
Nicolas Silva
8ecfa5414c Bug 950235 - Pick the TextureHost backend in function of the surface descriptor type. r=mattwoodrow 2014-02-05 14:34:16 +01:00
Ryan VanderMeulen
fac919cd13 Backed out changesets fce6b2c04bab and db5a4ed50de4 (bug 947045) and changeset bef65fd678a4 (bug 950235) for IPC test crashes on a CLOSED TREE. 2014-02-05 15:45:03 -05:00
Bill McCloskey
c77b177981 Bug 947045 - Fix breakage from bug 950235 (rs=evilpie) 2014-02-05 11:57:54 -08:00
Nicolas Silva
76221ec46e Bug 950235 - Pick the TextureHost backend in function of the surface descriptor type. r=mattwoodrow 2014-02-05 14:34:16 +01:00
Benoit Jacob
49238a878d Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Oleg Romashin
d69a0d2386 Bug 962978 - TextureHost leaking mBuffer with OMTC on Linux. r=nical 2014-01-23 07:26:59 -08:00
Botond Ballo
93703ea954 Bug 916813 - Fix a crash during a layer dump. r=nical 2014-01-21 16:27:01 -05:00
Nicolas Silva
069b800972 Bug 959615 - Initialize the TextureChild/Parent at creation time. r= bjacob 2014-01-21 23:06:18 +01: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
Nicolas Silva
6fd420766e Bug 938591 - Use texture flags in DataTextureSource + D3D9/11 fixes. r=nrc 2014-01-07 17:20:11 +01:00
Nicolas Silva
79322a3721 Bug 900244 - New D3D9 Textures for BufferTextures. r=nrc 2014-01-07 17:20:03 +01:00
Nicolas Silva
2daf583f89 Bug 938591 - New D3D11 TextureClient/Host. r=nrc 2014-01-07 17:19:52 +01:00
Tor Arvid Lund
8f62bfc81e Bug 950677 - Change all remaining gfxIntSize -> IntSize refs. r=nical 2013-12-20 11:46:30 -05:00
Phil Ringnalda
0de80dcc12 Back out b6f9dbc91dc4 (bug 947038) for Cipc crashes 2013-12-12 23:33:50 -08:00
David Anderson
4938791393 Ensure that the software compositor never uses deprecated textures (bug 947038, r=mattwoodrow). 2013-12-12 20:29:14 -08:00
Benoit Jacob
30e39f3b36 Bug 897452 - Part 15 - Introduce a AtomicRefCountedWithFinalize class to factor our custom-refcounting needs - r=nical 2013-12-11 20:45:11 -05:00
Benoit Jacob
c183241559 Bug 897452 - Part 13 - Host-side cleanup: remove OnActorDestroy and DestroyTextureHost* - r=nrc 2013-12-11 20:45:07 -05:00
Benoit Jacob
2b759cb5d9 Bug 897452 - Part 10 - adapt post landing of bug 893301 - r=nical,nrc 2013-12-11 20:45:01 -05:00
Benoit Jacob
b7d35ec2ae Bug 897452 - Part 9 - Check for null buffer in BufferTextureHost::Upload - r=nical 2013-12-11 20:44:59 -05:00
Benoit Jacob
fe8d8ad39d Bug 897452 - Part 8 - fix TextureParent::ActorDestroy - r=nical 2013-12-11 20:44:57 -05:00
Nicolas Silva
a396770d0a Bug 897452 - Part 3 - Clean up some unused code after PTexture change - r=mattwoodrow 2013-12-11 20:44:47 -05:00
Nicolas Silva
f7cec039bc Bug 897452 - Part 2 - PTexture deallocation logic - r=sotaro,bjacob 2013-12-11 20:44:45 -05:00
Nicolas Silva
7b1119166c Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow 2013-12-11 20:44:44 -05:00
Nicolas Silva
f08ee6809e Bug 897452 - Part 0.2 - Make sure the texture host has a compositor - r=mattwoodrow 2013-12-11 20:44:41 -05:00
Ryan VanderMeulen
cfb8c81a5f Backed out 17 changesets (bug 897452) for OSX crashes on a CLOSED TREE.
Backed out changeset 11ad8608bc27 (bug 897452)
Backed out changeset 6bcc629e76f9 (bug 897452)
Backed out changeset b91c858a43f5 (bug 897452)
Backed out changeset 38ba49ee3e97 (bug 897452)
Backed out changeset ea184ef84762 (bug 897452)
Backed out changeset 686cc5122149 (bug 897452)
Backed out changeset 3685a8018e49 (bug 897452)
Backed out changeset be7ef6240068 (bug 897452)
Backed out changeset f95c20e70947 (bug 897452)
Backed out changeset 4a370d2a1c62 (bug 897452)
Backed out changeset 1222f6ab66d2 (bug 897452)
Backed out changeset 5e9d3c681ee9 (bug 897452)
Backed out changeset 3b9ddce12b7a (bug 897452)
Backed out changeset 7aec6387f3e9 (bug 897452)
Backed out changeset eb1fe464fdaf (bug 897452)
Backed out changeset 07deaa53b6fd (bug 897452)
Backed out changeset ddab7d071d69 (bug 897452)
2013-12-11 14:52:50 -05:00
Benoit Jacob
082c440950 Bug 897452 - Part 15 - Introduce a AtomicRefCountedWithFinalize class to factor our custom-refcounting needs - r=nical 2013-12-11 13:05:37 -05:00
Benoit Jacob
d6b5ed94c0 Bug 897452 - Part 13 - Host-side cleanup: remove OnActorDestroy and DestroyTextureHost* - r=nrc 2013-12-11 13:05:34 -05:00
Benoit Jacob
ffca76ae8c Bug 897452 - Part 10 - adapt post landing of bug 893301 - r=nical,nrc 2013-12-11 13:05:27 -05:00
Benoit Jacob
43c2c9fa9c Bug 897452 - Part 9 - Check for null buffer in BufferTextureHost::Upload - r=nical 2013-12-11 13:05:25 -05:00
Benoit Jacob
5d06c1cf46 Bug 897452 - Part 8 - fix TextureParent::ActorDestroy - r=nical 2013-12-11 13:05:23 -05:00
Nicolas Silva
f3c5b2d7ce Bug 897452 - Part 3 - Clean up some unused code after PTexture change - r=mattwoodrow 2013-12-11 13:05:13 -05:00
Nicolas Silva
1667466f01 Bug 897452 - Part 2 - PTexture deallocation logic - r=sotaro,bjacob 2013-12-11 13:05:11 -05:00
Nicolas Silva
bca10982d6 Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow 2013-12-11 13:05:09 -05:00
Nicolas Silva
4f3dcb424c Bug 897452 - Part 0.2 - Make sure the texture host has a compositor - r=mattwoodrow 2013-12-11 13:05:07 -05:00
Nicholas Cameron
77c9f10ee1 Bug 945632. Assert we've released memory which the host should have released. r=nical 2013-12-04 22:03:29 -05:00
Ryan VanderMeulen
813c6f0db7 Merge m-c to inbound. 2013-12-05 17:56:44 -05:00
Sotaro Ikeda
132d3d6282 Bug 944420 - Create TextureHostOGL when Compositor is not present on gonk. r=nical 2013-12-04 17:46:03 -05:00
Nicholas Cameron
818c119be5 Bug 893301. Rollup patch - new textures content. r=nical,nrc 2013-12-06 07:39:22 +13:00
Ryan VanderMeulen
1aa67b7d4b Backed out changeset 8b33af450fc6 (bug 945632) for OSX asserts.
CLOSED TREE
2013-12-04 22:03:29 -05:00
Nicholas Cameron
0cb82a3162 Bug 945632. Assert we don't leak on the host side. r=nical 2013-12-05 14:21:15 +13:00
Benoit Jacob
83f54fc533 Back out bug 893301 for accidentally disabling gralloc for thebes layers on B2G - no review, bustage fix on a CLOSED TREE 2013-12-04 12:19:50 -05:00
David Anderson
e1a44617e0 Support MacIOSurface textures in the basic compositor (bug 942358, r=mattwoodrow). 2013-12-03 16:20:04 -08:00
Benoit Jacob
7b88a2c7c7 Bug 944703 - Part 3: make TextureHost hold a strong reference to its ISurfaceAllocator - r=nical 2013-12-03 13:44:38 -05:00
Nicholas Cameron
3ef4db03fd Bug 893301. Tweeks to TextureHost. r=nical 2013-11-28 10:16:34 +13:00
Andreas Pehrson
543ad6de03 Bug 907292 - Change gfxImageSurface to gfx::DataSourceSurface in TextureHost et al 2013-11-27 10:59:01 +01:00
Nicholas Cameron
b198ef2c80 Backout bug 893301 for b2g bustage r=me 2013-11-28 12:31:31 +13:00
Nicholas Cameron
d9ca1def52 Bug 893301. Tweeks to TextureHost. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
46ccc7f01d Bug 907463. Dealloc shmem on ActorDestroy. r=nical 2013-09-27 21:48:42 +12:00
Benoit Girard
64d7fffdfd Bug 936511 - Add layers.dump to dump layer tree. r=bas,nrc 2013-11-17 16:47:40 -05:00
Nicholas Cameron
dd2ce29258 Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow This might even help diagnose the problems causing a CLOSED TREE. 2013-11-15 10:54:25 +13:00