Commit Graph

80 Commits

Author SHA1 Message Date
Tor Arvid Lund
a9bab1983c Bug 950677 - Change all remaining gfxIntSize -> IntSize refs. r=nical 2013-12-20 11:46:30 -05:00
Phil Ringnalda
ef063fb0d4 Back out b6f9dbc91dc4 (bug 947038) for Cipc crashes 2013-12-12 23:33:50 -08:00
David Anderson
f853c97cb8 Ensure that the software compositor never uses deprecated textures (bug 947038, r=mattwoodrow). 2013-12-12 20:29:14 -08:00
Benoit Jacob
9f063375a9 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
01bec9054e Bug 897452 - Part 13 - Host-side cleanup: remove OnActorDestroy and DestroyTextureHost* - r=nrc 2013-12-11 20:45:07 -05:00
Benoit Jacob
94263041e6 Bug 897452 - Part 10 - adapt post landing of bug 893301 - r=nical,nrc 2013-12-11 20:45:01 -05:00
Benoit Jacob
67fcd5e48f Bug 897452 - Part 9 - Check for null buffer in BufferTextureHost::Upload - r=nical 2013-12-11 20:44:59 -05:00
Benoit Jacob
0d718a571c Bug 897452 - Part 8 - fix TextureParent::ActorDestroy - r=nical 2013-12-11 20:44:57 -05:00
Nicolas Silva
3629fbc964 Bug 897452 - Part 3 - Clean up some unused code after PTexture change - r=mattwoodrow 2013-12-11 20:44:47 -05:00
Nicolas Silva
21bd46b628 Bug 897452 - Part 2 - PTexture deallocation logic - r=sotaro,bjacob 2013-12-11 20:44:45 -05:00
Nicolas Silva
6d4b3e3b43 Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow 2013-12-11 20:44:44 -05:00
Nicolas Silva
bf82b9d838 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
c269bf8ea6 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
42e7c9fc5a 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
e0cf389a4b Bug 897452 - Part 13 - Host-side cleanup: remove OnActorDestroy and DestroyTextureHost* - r=nrc 2013-12-11 13:05:34 -05:00
Benoit Jacob
2c56c71b5c Bug 897452 - Part 10 - adapt post landing of bug 893301 - r=nical,nrc 2013-12-11 13:05:27 -05:00
Benoit Jacob
3f6accaff7 Bug 897452 - Part 9 - Check for null buffer in BufferTextureHost::Upload - r=nical 2013-12-11 13:05:25 -05:00
Benoit Jacob
c99996909d Bug 897452 - Part 8 - fix TextureParent::ActorDestroy - r=nical 2013-12-11 13:05:23 -05:00
Nicolas Silva
e3132d6da3 Bug 897452 - Part 3 - Clean up some unused code after PTexture change - r=mattwoodrow 2013-12-11 13:05:13 -05:00
Nicolas Silva
d624f90dd5 Bug 897452 - Part 2 - PTexture deallocation logic - r=sotaro,bjacob 2013-12-11 13:05:11 -05:00
Nicolas Silva
01cd073429 Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow 2013-12-11 13:05:09 -05:00
Nicolas Silva
171c6f13c2 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
0f60f8b600 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
92933e2af0 Merge m-c to inbound. 2013-12-05 17:56:44 -05:00
Sotaro Ikeda
cd9b41c6cb Bug 944420 - Create TextureHostOGL when Compositor is not present on gonk. r=nical
--HG--
extra : rebase_source : 289bb433a863d22c16ad8aacb727f2f52f7a81f3
2013-12-04 17:46:03 -05:00
Nicholas Cameron
6083fff067 Bug 893301. Rollup patch - new textures content. r=nical,nrc 2013-12-06 07:39:22 +13:00
Ryan VanderMeulen
b641f5ee20 Backed out changeset 8b33af450fc6 (bug 945632) for OSX asserts.
CLOSED TREE
2013-12-04 22:03:29 -05:00
Nicholas Cameron
054d6a53e6 Bug 945632. Assert we don't leak on the host side. r=nical 2013-12-05 14:21:15 +13:00
Benoit Jacob
12ae30d582 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
15ea1ba33f Support MacIOSurface textures in the basic compositor (bug 942358, r=mattwoodrow). 2013-12-03 16:20:04 -08:00
Benoit Jacob
5d67536954 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
fa531df385 Bug 893301. Tweeks to TextureHost. r=nical 2013-11-28 10:16:34 +13:00
Andreas Pehrson
22bc27eb6f Bug 907292 - Change gfxImageSurface to gfx::DataSourceSurface in TextureHost et al 2013-11-27 10:59:01 +01:00
Nicholas Cameron
0a2a18e774 Backout bug 893301 for b2g bustage r=me 2013-11-28 12:31:31 +13:00
Nicholas Cameron
54312ee7d4 Bug 893301. Tweeks to TextureHost. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
9928f8e67c Bug 907463. Dealloc shmem on ActorDestroy. r=nical 2013-09-27 21:48:42 +12:00
Benoit Girard
5aa117f19b Bug 936511 - Add layers.dump to dump layer tree. r=bas,nrc 2013-11-17 16:47:40 -05:00
Nicholas Cameron
69478b80a7 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
Gregor Wagner
9e82d05232 Backout Bug 907463 for causing bug 930575 2013-10-25 09:25:17 -07:00
Nicholas Cameron
e59c5a9ee9 Bug 907463. Dealloc shmem on ActorDestroy. r=nical 2013-09-27 21:48:42 +12:00
Nicolas Silva
302198d77d Bug 916116 - Rename CompositableQuirks. r=bjacob 2013-09-30 14:14:38 +02:00
Ed Morley
0e5b0cebbd Backed out changeset 08d9bbb1044f (bug 907463) 2013-09-27 11:37:00 +01:00
Nicholas Cameron
99372e1e41 Bug 907463. Dealloc shmem on ActorDestroy. r=nical 2013-09-27 21:48:42 +12:00
Benoit Jacob
55d6cf1e20 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
f1a11dfd16 Backed out changeset 505fe9841b16 (bug 915940) on suspicion of Windows PGO-only compilation failures 2013-09-24 16:49:11 +01:00
Nicholas Cameron
abd5b28be1 Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow 2013-09-24 10:59:26 +12:00
Nicolas Silva
32a2e7bb30 Bug 918078 - Do not require locking in TextureHost::PrintInfo. r=BenWa 2013-09-23 13:28:40 +02:00
Sotaro Ikeda
59015a6eb6 Bug 912134 - allocate texture per CompositableHost. r=jmuizelaar,bjacob
The fundamental change of approach in this patch is that now the temporary
texture is per-compositable.

Originally, the temporary texture was per-TextureHost. That was too many
temporary textures.  With Nical's work in bug 875211, that switched to having a
temporary texture per compositor only. That's what turned out to be too few.
Now we have one per compositable which is fewer than one per TextureHost,
because e.g. a ContentHost, which is a single Compositable, may have 2
TextureHosts to implement double-buffering.
2013-09-12 22:39:26 -04:00
Benoit Jacob
e77507fa87 Bug 912725 - Do the registration of the TextureHost with the mBuffer exactly when we overwrite *mBuffer, so that in particular we don't do a bogus registration in the single-buffered case - r=nical 2013-09-11 13:39:04 -04:00
Nicholas Cameron
73aeda1397 Bug 903816. Include-what-you-use for gfx/layers. r=roc 2013-08-12 11:17:23 +12:00