Commit Graph

66 Commits

Author SHA1 Message Date
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
Vladimir Vukicevic
a17e712696 b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel 2013-05-27 10:12:13 -04:00
Jeff Gilbert
fe69fe87cc Bug 874823 - Support unknown consumer for ShSurf_GLTex. - r=mattwoodrow 2013-06-04 17:05:28 -07:00
Nicolas Silva
d2e27c8460 Bug 875211 - use one global gl texture per texture unit rather than one per GrallocTextureHostOGL. r=bjacob 2013-06-04 20:44:37 +02:00
Nicolas Silva
d2d7b1dfc0 Bug 868946 - Make GrallocTextureHostOGL not crash when it doesn't have a GL context. r=bjacob 2013-05-07 16:19:15 -04:00
Nicolas Silva
ca1eef4bc6 Bug 867656 - Part 1. Implement GetAsSurface for GL TextureHosts. r=bjacob 2013-05-26 04:43:43 +02:00
Vladimir Vukicevic
d7e199b3a7 Backed out changeset fd25fb9e951e and 0f0c080ed1ba (bug 843599) for mac debug assertion failures on a CLOSED TREE 2013-05-27 11:45:59 -04:00
Vladimir Vukicevic
41bde486b6 b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel 2013-05-27 10:12:13 -04:00
Nicolas Silva
57d16c5a7a Bug 874726 -split ShmemYCbCrImage into YCbCrImageDataSerializer and YCbCrImageDataDeserializer. r=jrmuizel 2013-05-23 09:17:10 +02:00