chiajung hung
098a829ab1
Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical
2014-04-30 21:52:00 -04:00
Benoit Jacob
c712e9ddfd
Bug 989027 - 2/2 - Make LayerRenderStateFlags a typed enum, auto regex changes - r=nical
...
find gfx -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYER_RENDER_STATE_\(Y_FLIPPED\|BUFFER_ROTATION\|FORMAT_RB_SWAP\)\($\|[^A-Za-z0-9_]\)/\1LayerRenderStateFlags::\2\3/g'
2014-04-25 22:34:05 -04:00
Benoit Jacob
8c2ef6b4fe
Bug 989027 - 1/2 - Make LayerRenderStateFlags a typed enum, manual changes - r=nical
2014-04-25 22:34:05 -04:00
Benoit Jacob
3b123f8333
Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical
2014-04-25 22:34:05 -04:00
Benoit Jacob
dd9a0850b3
Bug 987311 - 2/6 - Make TextureFlags a typed enum, auto regex changes - r=nical
...
find gfx/layers -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_\(USE_NEAREST_FILTER\|NEEDS_Y_FLIP\|DISALLOW_BIGIMAGE\|ALLOW_REPEAT\|NEW_TILE\|COMPONENT_ALPHA\|RB_SWAPPED\|FRONT\|ON_WHITE\|ON_BLACK\|TILE\|RECYCLE\|COPY_PREVIOUS\|DEALLOCATE_CLIENT\|IMMUTABLE\|IMMEDIATE_UPLOAD\|DOUBLE_BUFFERED\|ALLOC_FALLBACK\)\($\|[^A-Za-z0-9_]\)/\1TextureFlags::\2\3/g'
find gfx/layers -type f | xargs sed -i 's/TEXTURE_FLAGS_DEFAULT/TextureFlags::DEFAULT/g'
2014-04-25 22:34:05 -04:00
Blair McBride
24b74a2af7
Backed out 9 changesets (bug 987311, bug 989027, bug 989144). r=sheriff
...
Backed out changeset 046c061d91c2 (bug 989144)
Backed out changeset 3f1b41adeaef (bug 987311)
Backed out changeset 8d5a171564bd (bug 987311)
Backed out changeset dcc0d016de7a (bug 987311)
Backed out changeset 27f338fbc835 (bug 989027)
Backed out changeset 4a67f5144ea4 (bug 989027)
Backed out changeset 62ba0a377450 (bug 987311)
Backed out changeset 6a2542a5c865 (bug 987311)
Backed out changeset 1dfd9a457f34 (bug 987311)
2014-04-27 19:45:08 +12:00
Benoit Jacob
fa32d42d95
Bug 989027 - 2/2 - Make LayerRenderStateFlags a typed enum, auto regex changes - r=nical
...
find gfx -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYER_RENDER_STATE_\(Y_FLIPPED\|BUFFER_ROTATION\|FORMAT_RB_SWAP\)\($\|[^A-Za-z0-9_]\)/\1LayerRenderStateFlags::\2\3/g'
2014-04-25 22:34:05 -04:00
Benoit Jacob
328fe66606
Bug 989027 - 1/2 - Make LayerRenderStateFlags a typed enum, manual changes - r=nical
2014-04-25 22:34:05 -04:00
Benoit Jacob
49dd7d0c3f
Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical
2014-04-25 22:34:05 -04:00
Benoit Jacob
45875b18ee
Bug 987311 - 2/6 - Make TextureFlags a typed enum, auto regex changes - r=nical
2014-04-25 22:34:05 -04:00
Ed Morley
1ce229a50b
Backed out changeset d58403b60c77 (bug 959089)
2014-04-25 17:51:11 +01:00
chiajung hung
59edff0d8f
Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical
2014-04-25 02:29:00 -04:00
Jonathan Watt
200e95e9eb
Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow
2014-04-16 01:41:40 +01:00
Nicolas Silva
683d2e7c77
Bug 993067 - Fix crash in GrallocTextureSourceOGL::GetAsSurface. r=Cwiiis
2014-04-08 10:04:08 +02:00
Chris Lord
a4ce071c4d
Backout 941bee559cd7 (Bug 980647) due to critical regressions on b2g
2014-04-07 13:09:44 +01:00
Nicolas Silva
039348f258
Bug 980647 - Part 2 - Use the PerFrame pool with all layer types on b2g. r=Cwiiis
2014-04-02 10:37:49 +08:00
Nicolas Silva
8178319bae
Bug 984823 - Use clamp to edges with tiles on b2g. r=Cwiiis
2014-03-21 13:54:13 +01:00
Chris Lord
0cd6b453f9
Bug 985322 - Return RGBA instead of BGRA for external gralloc textures. r=nical
...
Before bug 950050, we'd calculate a format of BGRA, then ignore it and return
RGBA in GetFormat. This just calculates RGBA and returns the format directly.
2014-03-19 13:24:06 +00:00
Nicolas Silva
8ffce5061a
Bug 980647 - Part 1 - Move the compositor's texture recycling startegy behind a pool interface. r=Cwiiis
2014-03-12 17:28:47 +01:00
Chris Lord
4e5989ae37
Bug 950050 - Use EXTERNAL for gralloc texture targets on SGX. r=nical
2014-03-18 08:12:40 +00:00
Bas Schouten
75c94ab14f
Bug 983157: Backout bug 980647 (31844306c2f1, dcd632ee9a3e). r=backout
2014-03-13 18:55:52 +01:00
Matt Woodrow
2f0784d0c0
Bug 971914 - Make TextureSourceOGL responsible for tracking filter state. r=nical
2014-03-13 13:37:17 +13:00
Nicolas Silva
0ae506a6f6
Bug 980647 - Part 2 - Use the PerFrame pool with all layer types on b2g. r=Cwiiis
2014-03-12 17:29:36 +01:00
Nicolas Silva
7d15ed1003
Bug 980647 - Part 1 - Move the compositor's texture recycling startegy behind a pool interface. r=Cwiiis
2014-03-12 17:28:47 +01:00
Bas Schouten
d301df5d45
Bug 963073 - Merge tiling branch. r=Bas,jrmuizel,BenWa
...
http://hg.mozilla.org/users/bschouten_mozilla.com/tiling/summary
This work is mainly porting tiled layers to new textures, implementing
double-buffered tiles and implementing a texture client pool, to be used by
tiled content clients.
Any questions regarding this patch should go to:
Bas Schouten <bschouten@mozilla.com>
Chris Lord <clord@mozilla.com>
Nicolas Silva <nsilva@mozilla.com>
In their absence questions can be directed to:
Jeff Muizelaar <jmuizelaar@mozilla.com>
Benoit Girard <bgirard@mozilla.com>
2014-03-07 22:34:04 +01:00
Sotaro Ikeda
35e512d271
Bug 975384 - Add pointer check to GrallocTextureHostOGL r=nical
2014-02-27 06:40:48 -08:00
Sotaro Ikeda
c5c7a00346
Bug 957323 - Handle android's fence on gonk r=nical,doublec,pchang
2014-02-24 20:23:41 -08:00
Sotaro Ikeda
6c3be1e5b5
Bug 962101 - Handle Remove Texture in Compositable level. r=nical
2014-02-10 15:52:35 -05:00
Sotaro Ikeda
23c4f9b1c3
Bug 966446 - Handle GrallocBufferActor::ActorDestroy for new texture. r=nical
2014-02-06 20:32:29 -05:00
Sotaro Ikeda
49020f300b
Bug 959171 - Fix how to bind EGLImage in GrallocTextureHostOGL. r=nical
2014-01-24 08:30:41 -05:00
Ryan VanderMeulen
c8b84421d2
Backed out changeset 60698fb6579b (bug 959171) for B2G mochitest-3 crashes.
2014-01-21 15:07:48 -05:00
Sotaro Ikeda
1bc5f7e8bc
Bug 959171 - Fix how to bind EGLImage in GrallocTextureHostOGL. r=nical
2014-01-21 11:49:38 -05:00
Solomon Chiu
becc2c86b9
Bug 958420 - Remove obsolete code trying to use PIXEL_FORMAT_A_8 with gralloc. r=gal, r=pchang
2014-01-13 10:00:34 +08:00
Benoit Jacob
a1e7c32630
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
Daniel Holbert
8ecfc7aeb8
Bug 957499: Fix SetCompositor() signature in subclasses of NewTextureSource, to actually override the parent's impl (and to fix -Woverloaded-virtual build warnings). r=nical
2014-01-08 11:25:52 -08:00
Benoit Jacob
1c4c105204
Bug 949819 - Move remaining ReadPixels and GetTexImage helpers out of GLContext - r=jgilbert
2014-01-02 10:17:29 -05:00
Dan Glastonbury
eb13a35408
Bug 942502 - Move EGLImage/GraphicBuffer-specific helpers out of GLContext - r=bjacob
...
Extracted methods CreateEGLImageForNativeBuffer and DestroyEGLImage from
GLContext and moved to EGLImageHelpers.[h|cpp]. Renamed to
EGLImageCreateFromNativeBuffer and EGLImageDestroy.
2013-12-10 15:47:19 +10: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
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
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
Andreas Pehrson
22bc27eb6f
Bug 907292 - Change gfxImageSurface to gfx::DataSourceSurface in TextureHost et al
2013-11-27 10:59:01 +01:00
Nicolas Silva
302198d77d
Bug 916116 - Rename CompositableQuirks. r=bjacob
2013-09-30 14:14:38 +02:00
Nicolas Silva
fbfc359172
Bug 916116 - Avoid some code duplication in Gralloc textures. r=sotaro
2013-09-17 15:29:19 +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
Sotaro Ikeda
422e8f19e2
Bug 871364 - Support GonkNativeWindow on gonk-JB r=jmuizelaar,mwu,doublec,mikeh,glandium
2013-09-12 11:40:26 +02:00
Sotaro Ikeda
5c91bc50ef
Bug 910928 - Fix build and class function override for new gralloc textures. r=nical
2013-08-30 10:24:05 -04:00
Nicolas Silva
a9764d8417
Bug 907745 - Gralloc implementaion of the new texture client/host. r=pchang, bjacob
2013-08-09 17:23:46 +02:00