Граф коммитов

218 Коммитов

Автор SHA1 Сообщение Дата
Jukka Jylanki 85788aa2c5 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 9e503fd30d 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 6c8846b330 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 8cbfbdc3ad 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.

--HG--
extra : rebase_source : 2a667cc002b5ff4ad279e9483701eaf7952aeda8
2014-03-14 11:24:58 -04:00
Jeff Gilbert ecac7faae3 Bug 978414 - Mark GLContext virtuals const and MOZ_OVERRIDE where appropriate. - r=bjacob 2014-03-03 18:47:43 -08:00
James Willcox fb3ec81132 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 630ac326a5 Bug 974335 - Refactor Qt Widget Backend implementation. gl changes . r=bjacob 2014-02-20 18:08:50 -08:00
Benoit Girard 400396fb82 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 f2062e25d7 Bug 958369 - 4/5 - remove the ContextFlags enum - r=jgilbert 2014-01-10 13:55:23 -05:00
Benoit Jacob 3b48c14b33 Bug 950903 - 7/8 - Simplifications around EGLSurface override - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob ba93ad0ec2 Bug 950903 - 6/8 - Remove GLContext::GetNativeData - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob dc6702ddaf Bug 950903 - 1/8 - Expose GLContextEGL publicly - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob 277b7c507a Bug 949816 - Move override-EGLSurface feature out of GLContext - r=jgilbert 2014-01-02 10:17:28 -05:00
Benoit Jacob 62c75299c9 Bug 949814 - Remove GetEGLContext and GetLibraryEGL from GLContext - r=jgilbert 2014-01-02 10:17:25 -05:00
Benoit Jacob bd21578d7f Bug 877115 - some compilation fixes - no review, trivial build fix 2014-01-01 14:47:19 -05:00
Andreas Pehrson 2439a8eef5 Bug 877115 - [Moz2Dify] Part 2. Moz2Dify GLContext::ResizeOffscreen signature. (carries r=nical) 2013-12-10 17:11:11 +01:00
Wes Kocher df8b1437b6 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 99e812a782 Bug 877115 - [Moz2Dify] Part 2. Moz2Dify GLContext::ResizeOffscreen signature. (carries r=nical) 2013-12-10 17:11:11 +01:00
Benoit Jacob fad917b723 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 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
Birunthan Mohanathas 3440613a39 Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Benoit Jacob 988099a6e9 Bug 942501 - Part 3: move CreateTextureImage and TileGenFunc out of GLContext - r=BenWa 2013-12-03 13:44:38 -05:00
Benoit Jacob 41b5c423b1 Bug 942505 - Move everything SharedHandle-related out of GLContext - r=jgilbert 2013-12-03 13:44:38 -05:00
Nicolas Silva da4c52ba6c Bug 929506 - Check that the GLContext is not destroyed in MakeCurrent. r=bjacob 2013-12-03 11:44:37 +01:00
Mike Hommey 8f35911c9c 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 cbc3e900a8 Bug 942503 - Move Blit* functions out of GLContext, except for BlitTextureImage - r=jgilbert 2013-11-28 15:57:19 -05:00
Benoit Jacob a6c63323bb Bug 834243 - Add fatal assertions in CreateForWindow to get better crash reports - r=BenWa 2013-11-25 21:48:27 -05:00
Benoit Jacob e7edf66119 Bug 919987 - pass surface as an EGLSurface, not a void* - r=jgilbert 2013-11-15 12:33:51 -05:00
Benoit Jacob 8c1260ea32 Bug 925608 - 7/8: rename ProvideEGLSurface to CreateEGLSurfaceForCompositor - r=kats 2013-11-15 11:28:59 -05:00
Benoit Jacob 5703ee4082 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 26b2b9594f 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 d782fe1f99 Bug 937196 - Remove mPlatformContext from GLContextProviderEGL - r=jgilbert 2013-11-15 11:28:36 -05:00
Matt Woodrow c3b05bed48 Bug 887791 - Remove a bunch of now-unused SharedTextureHandle code. r=roc 2013-11-01 14:54:15 +13:00
Benoit Jacob 336565d5b0 Bug 814159 - Part 4: Split TextureImageEGL into separate files - r=benwa 2013-10-11 09:16:44 -04:00
Benoit Jacob e5c293ae67 Bug 814159 - Part 3: remove the backing surface code from GLContextProviderEGL.cpp - r=benwa 2013-10-11 09:16:44 -04:00
Benoit Jacob 7020024262 Bug 814159 - Part 2: remove the global context code from GLContextProviderEGL.cpp - r=benwa 2013-10-11 09:16:44 -04:00
Benoit Jacob 582f53bac7 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 e967461f40 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 ccee615a9f Backed out changeset e02e1b107db7 (bug 919676) for causing bug 924129. 2013-10-08 09:39:07 -04:00
Jeff Gilbert 1b63f3f691 Bug 917160 - AssureBlitted before switching EGLSurfaces with MakeCurrent. - r=bjacob 2013-10-07 15:56:08 -07:00
Sushil Chauhan 71e29bc5d5 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 55d6cf1e20 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 8dd43184bd Bug 911391 - Add Jellybean support to HwcComposer2D. r=mwu 2013-09-11 15:10:33 +02:00
Benoit Jacob 8ec75b058c 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 3de9e6a0cf Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns 2013-08-25 16:56:53 -07:00
Edwin Flores 803c0fbe47 Bug 892934 - Pass RGB image format into CreateTextureImage r=mattwoodrow 2013-08-08 10:38:21 +12:00
Guillaume Abadie d951e1339f bug 899264 - Add OpenGL version and profile support in GLContext - r=jgilbert 2013-08-01 19:43:27 -04:00
Birunthan Mohanathas 9763ee3807 Bug 784739 - Switch from NULL to nullptr in gfx/gl/; r=ehsan
--HG--
extra : rebase_source : 236322c2d0e4d5c8917d900f768852139b0abc80
2013-07-20 11:48:55 +03:00
Andreas Gal ext:(%2C%20Milan%20Sreckovic%20%3Cmilan%40mozilla.com%3E) 4c463d2865 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
Ehsan Akhgari 688d6881b1 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