Commit Graph

64 Commits

Author SHA1 Message Date
Nicolas Silva
9024a64423 Bug 1072491 - Make GrallocTextureHost more robust against some invalid states. r=sotaro 2014-09-26 10:32:59 -04:00
Sotaro Ikeda
a9bf07a253 Bug 1017351 - Handle Sharing GrallocTextureHostOGL among ImageHosts r=nical 2014-09-26 04:30:11 -07:00
Sotaro Ikeda
f9084025e5 Bug 1053927 - Add memory leak check to GrallocTextureHostOGL r=nical 2014-08-25 06:45:26 -07:00
Sotaro Ikeda
d168c2f58f Bug 1037360 - Fix SharedBufferManagerParent's destruction r=jrmuizel,jbacob 2014-07-16 13:05:42 -07:00
Wes Kocher
44de45db40 Backed out changeset f4592864c982 (bug 1037360) for b2g mochitest-9 failures 2014-07-15 15:45:38 -07:00
Sotaro Ikeda
3f39d56087 Bug 1037360 - Fix SharedBufferManagerParent's destruction r=jmuizelaar 2014-07-15 13:33:26 -07:00
CJKu
44e4554b88 Bug 1023928 - [System][UX] The waiting icon now comes with a dirty dot. r=nical 2014-07-07 07:36:00 -04:00
Sotaro Ikeda
22c6f6e9c4 Bug 1031553 - Create GrallocTextureSourceOGL only when GrallocTextureHostOGL has a gralloc buffer r=nical 2014-07-04 06:16:13 -07:00
Sotaro Ikeda
14194a18db Bug 1024144 - Deliver acquire fence to HwComposer r=sushil,nical 2014-06-12 18:46:25 -07:00
Sotaro Ikeda
998892d3ad Bug 1001417 - Forward fence objects in SharedSurfaceGralloc to Compositor r=jgilbert,nical 2014-06-08 06:18:53 -07:00
Sotaro Ikeda
272c9282a9 Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical 2014-05-24 09:14:45 -07:00
Steve Fink
278d129227 Backed out changeset 171edffe0641 (bug 1006957) for crash at BaseAutoLock<mozilla::Mutex>::BaseAutoLock(mozilla::Mutex&) from layers::AsyncTransactionTrackersHolder::ClearAllAsyncTransactionTrackers on a CLOSED TREE 2014-05-23 21:16:02 -07:00
Sotaro Ikeda
e3ea215fb9 Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical 2014-05-23 17:52:43 -07:00
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