Sotaro Ikeda
9596e36b59
Bug 1012740 - Change as not to abort in GrallocTextureHostOGL::GrallocTextureHostOGL() r=nical
2014-05-22 06:23:12 -07:00
Sotaro Ikeda
846351a281
Bug 1005908 - Avoid unnecessary fEGLImageTargetTexture2D'ing r=nical
2014-05-14 09:59:25 -07:00
chiajung hung
6d989dc8a2
Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical
2014-04-30 21:52:00 -04:00
Benoit Jacob
bb05c9b5e7
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
7609892fd1
Bug 989027 - 1/2 - Make LayerRenderStateFlags a typed enum, manual changes - r=nical
2014-04-25 22:34:05 -04:00
Benoit Jacob
849b6bea23
Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical
2014-04-25 22:34:05 -04:00
Benoit Jacob
3de8fa4fb5
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
2628f554b1
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
1bc49bbfea
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
f85f01f2e6
Bug 989027 - 1/2 - Make LayerRenderStateFlags a typed enum, manual changes - r=nical
2014-04-25 22:34:05 -04:00
Benoit Jacob
dc2f2c47c0
Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical
2014-04-25 22:34:05 -04:00
Benoit Jacob
1960158bd9
Bug 987311 - 2/6 - Make TextureFlags a typed enum, auto regex changes - r=nical
2014-04-25 22:34:05 -04:00
Ed Morley
d7140486ee
Backed out changeset d58403b60c77 (bug 959089)
2014-04-25 17:51:11 +01:00
chiajung hung
219670ffd0
Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical
2014-04-25 02:29:00 -04:00
Jonathan Watt
55c20bd03b
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
9e137dee91
Bug 993067 - Fix crash in GrallocTextureSourceOGL::GetAsSurface. r=Cwiiis
2014-04-08 10:04:08 +02:00
Chris Lord
6cf5ebb6f7
Backout 941bee559cd7 (Bug 980647) due to critical regressions on b2g
2014-04-07 13:09:44 +01:00
Nicolas Silva
cdfed888f3
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
542c380dce
Bug 984823 - Use clamp to edges with tiles on b2g. r=Cwiiis
2014-03-21 13:54:13 +01:00
Chris Lord
46327c9944
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
e68d6219e8
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
22c5629b78
Bug 950050 - Use EXTERNAL for gralloc texture targets on SGX. r=nical
2014-03-18 08:12:40 +00:00
Bas Schouten
d7eeb725df
Bug 983157: Backout bug 980647 (31844306c2f1, dcd632ee9a3e). r=backout
2014-03-13 18:55:52 +01:00
Matt Woodrow
c3d1f9c2f4
Bug 971914 - Make TextureSourceOGL responsible for tracking filter state. r=nical
2014-03-13 13:37:17 +13:00
Nicolas Silva
24c9de2e69
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
b8b1cfaac0
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
bcf9cda593
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
04285969f8
Bug 975384 - Add pointer check to GrallocTextureHostOGL r=nical
2014-02-27 06:40:48 -08:00
Sotaro Ikeda
5c8314f18d
Bug 957323 - Handle android's fence on gonk r=nical,doublec,pchang
2014-02-24 20:23:41 -08:00
Sotaro Ikeda
11792369d4
Bug 962101 - Handle Remove Texture in Compositable level. r=nical
2014-02-10 15:52:35 -05:00
Sotaro Ikeda
749b3f5585
Bug 966446 - Handle GrallocBufferActor::ActorDestroy for new texture. r=nical
2014-02-06 20:32:29 -05:00
Sotaro Ikeda
478d27d1a1
Bug 959171 - Fix how to bind EGLImage in GrallocTextureHostOGL. r=nical
2014-01-24 08:30:41 -05:00
Ryan VanderMeulen
69a296fd02
Backed out changeset 60698fb6579b (bug 959171) for B2G mochitest-3 crashes.
2014-01-21 15:07:48 -05:00
Sotaro Ikeda
c94cbd17c3
Bug 959171 - Fix how to bind EGLImage in GrallocTextureHostOGL. r=nical
2014-01-21 11:49:38 -05:00
Solomon Chiu
4f8000c1fe
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
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
Daniel Holbert
5aa6e0d6ef
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
221d75d7c4
Bug 949819 - Move remaining ReadPixels and GetTexImage helpers out of GLContext - r=jgilbert
2014-01-02 10:17:29 -05:00
Dan Glastonbury
520493d0d0
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
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
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
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
Andreas Pehrson
543ad6de03
Bug 907292 - Change gfxImageSurface to gfx::DataSourceSurface in TextureHost et al
2013-11-27 10:59:01 +01:00
Nicolas Silva
d0bc2a62fe
Bug 916116 - Rename CompositableQuirks. r=bjacob
2013-09-30 14:14:38 +02:00
Nicolas Silva
68aab4cd57
Bug 916116 - Avoid some code duplication in Gralloc textures. r=sotaro
2013-09-17 15:29:19 +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
Sotaro Ikeda
539632b712
Bug 910928 - Fix build and class function override for new gralloc textures. r=nical
2013-08-30 10:24:05 -04:00