Nicolas Silva
d0bc2a62fe
Bug 916116 - Rename CompositableQuirks. r=bjacob
2013-09-30 14:14:38 +02:00
Robert O'Callahan
e41893be08
Bug 914426. Don't try to dump DeprecatedTextureHost contents unless HTML tree dumping is enabled. Also, be lenient about null values and unknown formats. r=nrc
2013-09-09 17:08:42 -07:00
Benoit Jacob
f6f57bbbb4
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
Benoit Jacob
e40a8afbe7
Bug 915869 - Let the GrallocBufferActor keep an _array_ of backrefs to TextureHosts referencing it - r=nical
2013-09-17 14:48:08 -04:00
Sotaro Ikeda
f9b461032a
Bug 916264 - Delete texture to unbound from texture. r=nical
2013-09-17 11:10:25 -04:00
Ryan VanderMeulen
84866377a9
Backed out changeset 41f37e48b6e7 (bug 916264) for landing with the wrong bug # in the commit message.
...
Landed as bug 909746.
2013-09-17 14:28:29 -04:00
Sotaro Ikeda
42d954bd18
Bug 909746 - Delete texture to unbound from texture. r=nical
2013-09-17 11:10:25 -04:00
Nicolas Silva
68aab4cd57
Bug 916116 - Avoid some code duplication in Gralloc textures. r=sotaro
2013-09-17 15:29:19 +02:00
Nicolas Silva
8922b729b8
Bug 916116 - Remove useless #if 1. r=bjacob
2013-09-16 19:04:36 +02:00
Sotaro Ikeda
db0e41a87a
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
Sotaro Ikeda
b5278b2979
Bug 871364 - Support GonkNativeWindow on gonk-JB r=jmuizelaar,mwu,doublec,mikeh,glandium
2013-09-12 11:40:26 +02:00
Benoit Jacob
12dfb02b1f
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
Benoit Girard
9397d1cdc5
Bug 914656 - Annotate the compositor thread for profiling. r=jrmuizel
2013-09-10 15:56:49 -04:00
Matt Woodrow
9bee634e6e
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
Benoit Jacob
1d1ff70757
Bug 912974 - Split two classes out of GLContext.h, and remove many #includes in GLContext.h - r=jrmuizel
2013-09-06 22:13:37 -04:00
Benoit Jacob
8b1ffe319e
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
76b2047e4a
Bug 907745 - Gralloc implementaion of the new texture client/host. r=pchang, bjacob
2013-08-09 17:23:46 +02:00
Nicholas Nethercote
e1ef44c0c1
Bug 831193 (part 10) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in parts of gfx/. r=bjacob.
2013-01-17 16:45:11 -08:00
Matt Woodrow
8b2b2e484b
Bug 907792 - Use SharedTextureClientOG for SharedTextureImage. r=nical
2013-08-28 08:16:54 +12:00
Ryan VanderMeulen
b5d245f9a6
Backed out changeset a255d2d2b67f (bug 907792) for OSX mochitest asserts on a CLOSED TREE.
2013-08-27 13:07:33 -04:00
Matt Woodrow
85ac66ae1d
Bug 907792 - Use SharedTextureClientOGL when needed. r=nical
2013-08-27 11:50:24 +12:00
Nicholas Cameron
6ff5d55180
Bug 903816. Include-what-you-use for gfx/layers. r=roc
2013-08-12 11:17:23 +12:00
Matt Woodrow
edcc6bbd1a
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
Nicolas Silva
86064316f3
Bug 858914 - Various TextureClient/Host cleanups. r=nrc.
2013-08-08 14:53:12 +02:00
Adrian May
4194c6f863
Bug 877115 - Moz2Dify GLContext and GLTextureImage. r=nical
2013-08-13 15:44:53 +02:00
Phil Ringnalda
06a2cbfa32
Back out d393cfeb5dbf:9f82224bb8a3 (bug 903816) for Android reftest failures
...
CLOSED TREE
2013-08-11 19:21:17 -07:00
Nicholas Cameron
b2b3fa4f0b
Bug 903816. Include-what-you-use for gfx/layers. r=roc
2013-08-12 11:17:23 +12:00
Edwin Flores
3d5d8a28dc
Bug 892934 - Pass RGB image format into CreateTextureImage r=mattwoodrow
2013-08-08 10:38:21 +12:00
Milan Sreckovic
c2140cd0ba
Bug 900729: Make TextureFlags constant names (UseNearestFilter, NeedsYFlip, AllowRepeat, NewTile, ComponentAlpha) all caps in CompositorTypes.h and prefix them with TEXTURE_ for consistency and uniqueness. r=nsilva.
2013-08-06 13:36:35 -04:00
Matt Woodrow
ad14f0f924
Bug 900133 - Support MaskLayers that are backed by a NewTextureHost. r=nical
2013-08-01 21:12:16 -04:00
Matt Woodrow
ae903ef11c
Bug 900188 - Correctly treat WebGL as being single buffered when we share it across ipdl. r=nrc
2013-08-01 21:12:15 -04:00
Ryan VanderMeulen
7c7f150a17
Backed out changeset 9a5f4bbd4fcb (bug 900188) to see if it fixes the OSX crashtest and reftest asserts.
...
CLOSED TREE
2013-08-02 00:45:09 -04:00
Matt Woodrow
1c926d61cb
Bug 900188 - Correctly treat WebGL as being single buffered when we share it across ipdl. r=nrc
2013-08-01 21:12:15 -04:00
Nicolas Silva
500da44280
Bug 899583 - Disallow BigImage with YCbCr compositing. r=BenWa
2013-08-02 01:02:06 +02:00
Nicolas Silva
c039b2a50f
Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc
2013-07-30 11:59:51 +02:00
Nicolas Silva
dcaed8655e
Bug 858914 - Mark some Image related classes deprecated. r=jrmuizel DONTBUILD
2013-07-24 18:08:35 +02:00
Nicolas Silva
9422ae869c
Backed out changeset 9089fe288899
2013-07-24 18:01:39 +02:00
Nicolas Silva
0df86844d5
Bug 868914 - Mark some Image related classes deprecated. r=jrmuizel
2013-07-24 17:43:35 +02:00
James Willcox
f2bcf66b73
Bug 894405 - fix leaks on a CLOSED TREE
2013-07-19 00:23:07 -04:00
James Willcox
1bac7cae11
Bug 894405 - Ref GLContext before sending SurfaceStream to compositor r=jgilbert
2013-07-17 13:03:18 -04:00
Matt Woodrow
4473e0d572
Bug 875232 - Add SharedSurface_IOSurface for sharing textures on OSX. r=jgilbert
2013-07-17 23:24:15 -04:00
Peter Chang
967cd15e7b
Bug 885345 - HwcComposer2D doesn't render Camera or Video frames. r=nrc
...
Correct the buffer validation inside GetRenderState() to pass gralloc
buffer to composer module
2013-07-12 09:06:26 -04:00
Nicolas Silva
d9acf2e7f6
Bug 858914 - Mark all TextureHost and TextureClient classes deprecated. r=mattwoodrow
2013-07-08 23:30:44 +02:00
Andreas Gal
cc4fcded13
Bug 867460: remove notion of ShaderProgramTypes from gfx/gl. Carry r=bas. r=bgirard for the changes.
2013-07-04 13:25:50 -04:00
Justin Lebar
8cc88f21ce
Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
de89040a2c
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Ehsan Akhgari
5c293abae0
Backed out changeset 1bf0cdeacb22 (bug 867460) for assertions in various test suites
...
Landed on a CLOSED TREE
2013-06-25 21:39:07 -04:00
Andreas Gal
0b9f23e900
Bug 867460 - Remove notion of ShaderProgramTypes from gfx/gl. r=bschouten, sr=joe
2013-06-24 13:05:13 -04:00
Peter Chang
fcca422b27
Bug 881460 - Drawing color of CrystallSkull is not correct in master. r=vlad, r=nrc
2013-06-11 18:14:33 +08:00
Nicholas Cameron
8b82c0bda5
Bug 862952, Re-enable Composer2D after layers refactoring. r=bjacob,f=diego
2013-06-06 10:14:51 +12:00