Jeff Muizelaar
8092d036b1
Bug 8430335. Cache the current context on B2G. r=jgilbert
...
This avoids the call to EGLGetCurrentContext() which calls
EGLGetError which can be expensive.
2014-05-30 10:43:50 -04:00
Tatiana Meshkova
b6a219b8fc
Bug 994856 - Add support for Gecko rendering via GLScreenBuffer into external GL Context. r=bjacob,jgilbert
2014-04-15 07:57:26 -07: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
Benoit Jacob
c05eacad45
Bug 986836 - Don't destroy the native framebuffer's eglSurface on ICS - r=jrmuizel
2014-04-11 08:38:07 -04:00
Jukka Jylanki
4ee55c4601
Bug 987845 - Avoid unconditionally calling eglGetError() after each EGL MakeCurrent operation - r=bjacob,vlad,jgilbert - anyone else?
2014-03-25 20:23:58 -04:00
Jeff Muizelaar
14e55a8701
Bug 981856. Use an 888 config when creating a pbuffer. r=jgilbert
...
Old versions of llvmpipe (8.0.4) seem to give out 565 configs that it can't
actually make PBuffers for. Explicilty ask for 8,8,8 to avoid that problem.
2014-03-14 11:24:58 -04:00
Wes Kocher
d5099981d6
Backed out changeset 46d18be48bc4 (bug 981856) for b2g gl bustages
...
* * *
Backed out changeset a2ec4ab256e8 (bug 981856)
2014-03-14 17:33:54 -07:00
Jeff Muizelaar
e716f8b6e1
Bug 981856. Use an 888 config when creating a pbuffer. r=jgilbert
...
Old versions of llvmpipe (8.0.4) seem to give out 565 configs that it can't
actually make PBuffers for. Explicilty ask for 8,8,8 to avoid that problem.
2014-03-14 11:24:58 -04:00
Jeff Gilbert
6b9587cf72
Bug 978414 - Mark GLContext virtuals const and MOZ_OVERRIDE where appropriate. - r=bjacob
2014-03-03 18:47:43 -08:00
James Willcox
46f96df7e6
Bug 970096 - Try a 16 bit OpenGL context as a last result on Android r=bjacob
2014-02-24 16:17:34 -06:00
Oleg Romashin
82bfb9200b
Bug 974335 - Refactor Qt Widget Backend implementation. gl changes . r=bjacob
2014-02-20 18:08:50 -08:00
Benoit Girard
d0b53ae3e5
Bug 900033 - Don't rely on the driver to detect a bad MakeCurrent. r=jrmuizel
2014-01-17 18:10:54 -05:00
Benoit Jacob
6a59ba643d
Bug 958369 - 4/5 - remove the ContextFlags enum - r=jgilbert
2014-01-10 13:55:23 -05:00
Benoit Jacob
1e559f7857
Bug 950903 - 7/8 - Simplifications around EGLSurface override - r=jgilbert
2014-01-07 15:02:18 -05:00
Benoit Jacob
91642bcc6c
Bug 950903 - 6/8 - Remove GLContext::GetNativeData - r=jgilbert
2014-01-07 15:02:18 -05:00
Benoit Jacob
1493b74ec8
Bug 950903 - 1/8 - Expose GLContextEGL publicly - r=jgilbert
2014-01-07 15:02:18 -05:00
Benoit Jacob
01f888f740
Bug 949816 - Move override-EGLSurface feature out of GLContext - r=jgilbert
2014-01-02 10:17:28 -05:00
Benoit Jacob
0b5c655bb5
Bug 949814 - Remove GetEGLContext and GetLibraryEGL from GLContext - r=jgilbert
2014-01-02 10:17:25 -05:00
Benoit Jacob
cdff4fc2b8
Bug 877115 - some compilation fixes - no review, trivial build fix
2014-01-01 14:47:19 -05:00
Andreas Pehrson
e4ecc0c072
Bug 877115 - [Moz2Dify] Part 2. Moz2Dify GLContext::ResizeOffscreen signature. (carries r=nical)
2013-12-10 17:11:11 +01:00
Wes Kocher
c9c46b9443
Backed out 6 changesets (bug 877115) for mochitest-1 and reftest orange on this CLOSED TREE
...
Backed out changeset 65ad9d8860d6 (bug 877115)
Backed out changeset bf8095c168fb (bug 877115)
Backed out changeset 290ad5863615 (bug 877115)
Backed out changeset 4488ec28910e (bug 877115)
Backed out changeset 45f8859c6fd6 (bug 877115)
Backed out changeset 111cc426fa9e (bug 877115)
2013-12-16 16:33:07 -08:00
Andreas Pehrson
c9c255e004
Bug 877115 - [Moz2Dify] Part 2. Moz2Dify GLContext::ResizeOffscreen signature. (carries r=nical)
2013-12-10 17:11:11 +01:00
Benoit Jacob
ecd5bc4569
Bug 948406 - Append some zeros to EGL attrib lists to work around a bug in Android/B2G emulator - r=vladv
2013-12-13 15:15:07 -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
Birunthan Mohanathas
88a0348924
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
2013-12-08 21:52:54 -05:00
Benoit Jacob
9fdb12b5b1
Bug 942501 - Part 3: move CreateTextureImage and TileGenFunc out of GLContext - r=BenWa
2013-12-03 13:44:38 -05:00
Benoit Jacob
60c89f7fe7
Bug 942505 - Move everything SharedHandle-related out of GLContext - r=jgilbert
2013-12-03 13:44:38 -05:00
Nicolas Silva
b92d87a0eb
Bug 929506 - Check that the GLContext is not destroyed in MakeCurrent. r=bjacob
2013-12-03 11:44:37 +01:00
Mike Hommey
f5af8575a7
Bug 944830 - Fix non-unified build in gfx after bug 942492, bug 943293 and bug 944172. r=bjacob
2013-12-01 07:20:57 +09:00
Benoit Jacob
99ac4ce5ea
Bug 942503 - Move Blit* functions out of GLContext, except for BlitTextureImage - r=jgilbert
2013-11-28 15:57:19 -05:00
Benoit Jacob
2b814d387b
Bug 834243 - Add fatal assertions in CreateForWindow to get better crash reports - r=BenWa
2013-11-25 21:48:27 -05:00
Benoit Jacob
106223e586
Bug 919987 - pass surface as an EGLSurface, not a void* - r=jgilbert
2013-11-15 12:33:51 -05:00
Benoit Jacob
bece47d87f
Bug 925608 - 7/8: rename ProvideEGLSurface to CreateEGLSurfaceForCompositor - r=kats
2013-11-15 11:28:59 -05:00
Benoit Jacob
0f2f80b95e
Bug 925608 - 4/8: Consistently manage the client surface on the GLContext side. Java only provides the function to create a surface - r=kats,jgilbert
...
Also folded in the originally separate patch on bug 936968 because it didn't work on its own.
2013-11-15 11:28:54 -05:00
Benoit Jacob
38dfe56fae
Bug 919987 - Replace mCurSurface, which was redundant state, by a saner mSurfaceOverride that does nothing when it's EGL_NO_SURFACE - r=jgilbert
2013-11-15 11:28:38 -05:00
Benoit Jacob
3f57c955d8
Bug 937196 - Remove mPlatformContext from GLContextProviderEGL - r=jgilbert
2013-11-15 11:28:36 -05:00
Matt Woodrow
3b791daf65
Bug 887791 - Remove a bunch of now-unused SharedTextureHandle code. r=roc
2013-11-01 14:54:15 +13:00
Benoit Jacob
2ad7881fe3
Bug 814159 - Part 4: Split TextureImageEGL into separate files - r=benwa
2013-10-11 09:16:44 -04:00
Benoit Jacob
10e8b1aa88
Bug 814159 - Part 3: remove the backing surface code from GLContextProviderEGL.cpp - r=benwa
2013-10-11 09:16:44 -04:00
Benoit Jacob
aa6d1f57d5
Bug 814159 - Part 2: remove the global context code from GLContextProviderEGL.cpp - r=benwa
2013-10-11 09:16:44 -04:00
Benoit Jacob
d29f4673b0
Bug 814159 - Part 1: remove X11, Qt, and unused Gonk code from GLContextProviderEGL.cpp - r=benwa
2013-10-11 09:16:44 -04:00
Sushil Chauhan
606c7ccdee
Bug 919676 - Fix multiple hwc prepare calls with different layer lists. r=mwu, r=dwilson
2013-10-08 08:29:35 -07:00
Ryan VanderMeulen
3e55c98d80
Backed out changeset e02e1b107db7 (bug 919676) for causing bug 924129.
2013-10-08 09:39:07 -04:00
Jeff Gilbert
fba1a95b41
Bug 917160 - AssureBlitted before switching EGLSurfaces with MakeCurrent. - r=bjacob
2013-10-07 15:56:08 -07:00
Sushil Chauhan
4fcb897b94
Bug 919676 - Fix multiple hwc prepare calls with different layer lists. r=mwu, r=dwilson
2013-10-04 11:01:22 -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
Diego Wilson
7ebaf9285f
Bug 911391 - Add Jellybean support to HwcComposer2D. r=mwu
2013-09-11 15:10:33 +02: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
Doug Turner
7767c0773f
Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns
2013-08-25 16:56:53 -07:00
Edwin Flores
3d5d8a28dc
Bug 892934 - Pass RGB image format into CreateTextureImage r=mattwoodrow
2013-08-08 10:38:21 +12:00