Commit Graph

235 Commits

Author SHA1 Message Date
Jeff Gilbert
7ae848e5c1 Bug 1089018 - Centralize GLContext spew control. - r=jrmuizel 2014-10-24 18:26:41 -07:00
James Willcox
4ccc75ddae Bug 1014614 - Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert
--HG--
extra : rebase_source : 4f148d8a0c2f9ec2d939f9d9939dab897b435bef
2014-10-21 08:53:00 -05:00
Wes Kocher
7c26086f75 Backed out 9 changesets (bug 1014614) for Android mochitest bustage on a CLOSED TREE
Backed out changeset 40f99ba7f616 (bug 1014614)
Backed out changeset 8fbc3c85adfc (bug 1014614)
Backed out changeset 40dbd7c6ce65 (bug 1014614)
Backed out changeset f2b504bdd7c5 (bug 1014614)
Backed out changeset c878e29fbef9 (bug 1014614)
Backed out changeset 511dcc817f5d (bug 1014614)
Backed out changeset 2b72e71f1fdf (bug 1014614)
Backed out changeset 8b530a9a2f99 (bug 1014614)
Backed out changeset 7fa1b78de684 (bug 1014614)
2014-10-17 16:34:01 -07:00
James Willcox
a531707288 Bug 1014614 - Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert
--HG--
extra : rebase_source : 70d12286eb15808a4a540bae0d6785e560e97b29
2014-10-17 10:35:10 -05:00
Jeff Gilbert
1909c23f43 Bug 996266 - Fall back from failed WebGL context creation attribs. - r=kamidphish,bjacob 2014-08-27 16:16:22 -07:00
Carsten "Tomcat" Book
4c3afc78a3 Backed out changeset 6bcda9f223b3 (bug 996266) for bustage on a CLOSED TREE 2014-08-27 11:15:40 +02:00
Jeff Gilbert
51bd4b867c Bug 996266 - Fall back from failed WebGL context creation attribs. - r=kamidphish,bjacob 2014-08-27 01:31:14 -07:00
Kartikaya Gupta
942bbe220f Bug 1055605 - Replace MOZ_ANDROID_OMTC with MOZ_WIDGET_ANDROID. r=BenWa 2014-08-22 15:26:56 -04:00
Michael Wu
e3f2258c10 Bug 1042949 - Remove gScreenBounds hack in GLContextProviderEGL.cpp, r=jgilbert 2014-07-22 17:33:03 -04:00
Michael Wu
dd2019bc8b Bug 1026776 - Use surface pixel format to select an EGLConfig on gonk, r=jgilbert 2014-06-17 17:19:11 -04:00
Sotaro Ikeda
8e0f02b8a0 Bug 1029856 - Call glClear() before blit composition r= Sushil 2014-06-30 13:01:24 -07:00
Jeff Muizelaar
f90b5834cc Bug 1013647. Cache the current context on B2G. r=jgilbert
This avoids the call to EGLGetCurrentContext() which calls
EGLGetError which can be expensive.

--HG--
extra : rebase_source : 7d64a1337cbe951069648422d4c42600fdab28a1
2014-05-31 00:39:16 -04:00
Ed Morley
414cf13040 Backed out changeset 9b01df568861 (bug 8430335) for assertions & incorrect bug number; CLOSED TREE 2014-05-30 17:15:40 +01:00
Jeff Muizelaar
e159bb1699 Bug 8430335. Cache the current context on B2G. r=jgilbert
This avoids the call to EGLGetCurrentContext() which calls
EGLGetError which can be expensive.

--HG--
extra : rebase_source : dc1357cdd45979b741d132b54f2a77cdde95bd00
2014-05-30 10:43:50 -04:00
Tatiana Meshkova
c3800c0c18 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
0a0470e24e 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
c5567370d0 Bug 986836 - Don't destroy the native framebuffer's eglSurface on ICS - r=jrmuizel 2014-04-11 08:38:07 -04:00
Jukka Jylanki
bdf6364823 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
adc278f3d0 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
2fbdf29654 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
c460072f7e 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
288e6d233c Bug 978414 - Mark GLContext virtuals const and MOZ_OVERRIDE where appropriate. - r=bjacob 2014-03-03 18:47:43 -08:00
James Willcox
261134aef1 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
d8e538b51f Bug 974335 - Refactor Qt Widget Backend implementation. gl changes . r=bjacob 2014-02-20 18:08:50 -08:00
Benoit Girard
cedb645c80 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
8105421de9 Bug 958369 - 4/5 - remove the ContextFlags enum - r=jgilbert 2014-01-10 13:55:23 -05:00
Benoit Jacob
f11b9433f4 Bug 950903 - 7/8 - Simplifications around EGLSurface override - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob
f820c67cd0 Bug 950903 - 6/8 - Remove GLContext::GetNativeData - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob
9bbeba41f7 Bug 950903 - 1/8 - Expose GLContextEGL publicly - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob
198052bc7d Bug 949816 - Move override-EGLSurface feature out of GLContext - r=jgilbert 2014-01-02 10:17:28 -05:00
Benoit Jacob
457cb85bb0 Bug 949814 - Remove GetEGLContext and GetLibraryEGL from GLContext - r=jgilbert 2014-01-02 10:17:25 -05:00
Benoit Jacob
48a6fd4ae9 Bug 877115 - some compilation fixes - no review, trivial build fix 2014-01-01 14:47:19 -05:00
Andreas Pehrson
21cee31a8a Bug 877115 - [Moz2Dify] Part 2. Moz2Dify GLContext::ResizeOffscreen signature. (carries r=nical) 2013-12-10 17:11:11 +01:00
Wes Kocher
8f849d9d65 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
38010d4e7c Bug 877115 - [Moz2Dify] Part 2. Moz2Dify GLContext::ResizeOffscreen signature. (carries r=nical) 2013-12-10 17:11:11 +01:00
Benoit Jacob
0e72ab2dd3 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
c31338cb36 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
759ab69b0a 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
ccea62e706 Bug 942501 - Part 3: move CreateTextureImage and TileGenFunc out of GLContext - r=BenWa 2013-12-03 13:44:38 -05:00
Benoit Jacob
f197bdfbfe Bug 942505 - Move everything SharedHandle-related out of GLContext - r=jgilbert 2013-12-03 13:44:38 -05:00
Nicolas Silva
095eb9bbc7 Bug 929506 - Check that the GLContext is not destroyed in MakeCurrent. r=bjacob 2013-12-03 11:44:37 +01:00
Mike Hommey
19da4ce8f2 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
d656998a18 Bug 942503 - Move Blit* functions out of GLContext, except for BlitTextureImage - r=jgilbert 2013-11-28 15:57:19 -05:00
Benoit Jacob
3625a1df43 Bug 834243 - Add fatal assertions in CreateForWindow to get better crash reports - r=BenWa 2013-11-25 21:48:27 -05:00
Benoit Jacob
bb3f8d22ce Bug 919987 - pass surface as an EGLSurface, not a void* - r=jgilbert 2013-11-15 12:33:51 -05:00
Benoit Jacob
1d3a8d8fae Bug 925608 - 7/8: rename ProvideEGLSurface to CreateEGLSurfaceForCompositor - r=kats 2013-11-15 11:28:59 -05:00
Benoit Jacob
d6ee05d835 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
f51c3ef95e 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
b64fc71295 Bug 937196 - Remove mPlatformContext from GLContextProviderEGL - r=jgilbert 2013-11-15 11:28:36 -05:00
Matt Woodrow
d9ec8ef287 Bug 887791 - Remove a bunch of now-unused SharedTextureHandle code. r=roc 2013-11-01 14:54:15 +13:00