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
Andreas Gal
4b4d3d8e70
Bug 867460 - Remove notion of ShaderProgramTypes from gfx/gl. r=bschouten, sr=joe
2013-06-24 13:05:13 -04:00
Michael Wu
c5f16dea73
Bug 870198 - Support basic display functions on gonk-JB, r=vlad
2013-05-07 23:58:22 -04:00
Matt Woodrow
25cd3e4e03
Bug 756601 - Use TextureImageCGL again, and used TiledTexturedImage for large textures. r=BenWa
2013-05-10 09:02:48 +12:00
Matt Woodrow
1eab6c9792
Bug 864287 - Add back code to readback IOSurface plugins when using BasicLayers. r=BenWa
2013-05-01 17:03:27 +12:00
Benoit Jacob
a3e0b5fdff
Bug 863397 - remove a couple more unused static functions - r=nical
2013-04-20 10:08:18 -04:00
Benoit Jacob
247fdf0702
Bug 863397 - remove more dead B2G paths, mostly in TextureImage - r=nical
2013-04-20 10:08:18 -04:00
Benoit Jacob
065aeca6a3
Bug 863397 - kill BindExternalBuffer and UnbindExternalBuffer with FIRE - r=jgilbert
2013-04-20 10:08:18 -04:00
Benoit Jacob
0c8945b8ca
Bug 863397 - Remove all the eglLockSurface-using code; leave the GL symbols in - r=jgilbert
2013-04-20 10:08:18 -04:00
Benoit Jacob
906276315a
Bug 860441 - Camera preview update is not smooth on gonk - r=nsilva
2013-04-17 16:56:03 -04:00
Matt Woodrow
ca690f5eec
Bug 860615 - Add CreateSharedHandle to GLContextProvider so we can create one without a GLContext. r=jgilbert
2013-04-17 14:21:06 +12:00
Bas Schouten
839048be74
Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
...
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.
Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Jeff Gilbert
df010bad60
Bug 845482 - Init scissor box values on offscreen context init - r=bjacob
2013-03-04 16:44:31 -08:00
Oleg Romashin
3e778cd5b1
Bug 844698 Make Qt EGL port working on X11 Maemo/Meego after bug 716859 landed. r=jgilbert
...
--HG--
extra : rebase_source : ecd6996396379823b9eec44cb0fd20e115fa8153
2013-02-27 20:56:29 -08:00
Kartikaya Gupta
f86cafabb9
Bug 844275 - Drive the layer manager creation from the GLController rather than GetLayerManager. r=Cwiiis
2013-02-28 13:28:23 -05:00
Jeff Gilbert
3c4c057a91
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
...
--HG--
extra : rebase_source : 3fb4230127df8a265d930fb779bdc93e05626c8b
2013-02-13 15:26:24 -08:00
Ed Morley
2f50db2b9c
Backed out changeset 82747d694e7a (bug 716859) for android reftest-2 timeouts
2013-02-21 19:54:25 +00:00
Jeff Gilbert
adefde2afe
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
...
--HG--
extra : rebase_source : 5dad29809733a54a19cd3e5030498f00597d1dc8
2013-02-13 15:26:24 -08:00
Ryan VanderMeulen
dcb992f562
Backed out changeset b46c006a7696 (bug 716859) and changeset 6a14e4c15aa6 (bug 841836) for B2G test failures on a CLOSED TREE.
2013-02-20 10:01:20 -05:00
Jeff Gilbert
6e032aab6c
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
2013-02-13 15:26:24 -08:00
Kartikaya Gupta
df4a6ddf5d
Bug 841503 - Delete a bunch of non-OMTC android codepaths. r=BenWa,snorp
2013-02-19 12:35:38 -05:00
Chris Jones
63f748e97c
Bug 792966: Don't try to gralloc small buffers. r=kanru
2013-01-28 23:49:38 -08:00
Kartikaya Gupta
8249f30f23
Bug 826300 - Don't block on waiting for a valid surface when trying to resume the compositor; allow resuming to fail gracefully. r=snorp,BenWa
2013-01-10 11:21:10 -05:00
Jeff Gilbert
a9a0fc4866
Bug 811958 - Move TextureImage into its own files - r=bgirard
2012-11-26 14:23:27 -08:00
Jeff Gilbert
601bff1c6f
Bug 811958 - Fix and move ShateType type - r=bgirard
2012-11-26 14:23:27 -08:00
Jeff Gilbert
1039582660
Backed out csets 807f2c3df974, 1637c39b4ed6, ec29e09a270e (bug 811958) for burning android
2012-11-26 13:48:20 -08:00
Jeff Gilbert
e744903408
Bug 811958 - Move TextureImage to its own files - r=bgirard
2012-11-26 12:51:58 -08:00
Jeff Gilbert
f8b6d7d465
Bug 811958 - Fix and move ShareType type - r=bgirard
2012-11-26 12:51:57 -08:00
Benoit Jacob
c70efb7365
Bug 814159 - disable the global context on EGL altogether - r=jrmuizel
...
Was already disabled on Windows, Android, B2G. Only EGL platform remaining was Meego. This simplifies code quite a bit. If this doesn't break things, we can do further dead code removal.
2012-11-22 13:53:11 -05:00
Benoit Jacob
84817fac47
Bug 813783 - don't create a global context at all #ifdef ANDROID, including B2G - r=cjones
2012-11-20 21:45:13 -05:00
Chris Jones
270f8e37db
Bug 804852: Support for the hwc implementation of Composer2D. r=mattwoodrow,mwu,roc sr=roc
...
This is a rollup of the following patches
part 0: Add a dynamic cast to ColorLayer*
part 1: Add a Composer2D interface to enable implementations to more efficiently compose layer trees
part 2: Let widgets expose Composer2Ds, if they have them
part 3: Expose a layers ogl "friend" API that Composer2D will consume
part 4: Hook Composer2D into the LayerManagerOGL rendering pipeline
part 5: Implement all the goop to let widget/gonk use a Composer2D (HwcComposer2D)
2012-11-19 09:58:38 -08:00
Nicolas Silva
898bf5f30f
b=811115 - remove MOZ_EGL_XRENDER_COMPOSITE dead code. r=jgilbert
2012-11-18 16:47:57 +01:00
Benoit Girard
3ffd913d8e
Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey
2012-10-01 16:01:35 -04:00
Isaac Aggrey
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Chris Peterson
5544d9e588
Bug 778980 - Part 1: Fix gcc -Wconversion-null warnings in gfx/gl. r=joedrew
2012-09-14 11:52:42 -07:00
Michael Wu
69aedb71ea
Bug 771653 - Use HWComposer instead of swapBuffer where appropriate, r=cjones
...
Some vendors provide a hw composer module which should be used instead of swapBuffers on hardware surfaces.
Based on romaxa's patch.
2012-08-24 15:42:45 -04:00
Kan-Ru Chen (陳侃如)
f344f6c2ac
Bug 786747 - Fix the BindTexture order and re-bind textures correctly. r=jgilbert
...
--HG--
extra : rebase_source : 87c790e359ca64d1b7dcc34920281e9861d16db9
2012-08-29 18:20:30 -03:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Jeff Gilbert
f928964d5a
Bug 766366 - Add GLContext::BlitTextureToTexture - r=bjacob
2012-08-21 20:30:20 -07:00
Jacek Caban
933060d186
Bug 778129 - GLContextProviderEGL.cpp fails to compile on mingw-w64 r=snorp
2012-08-02 15:58:34 +02:00
Vladimir Vukicevic
3580833c81
b=779019; bustage fix
2012-08-01 15:17:55 -04:00
Vladimir Vukicevic
e71e1c59a0
b=779019, GLContext being destroyed on wrong thread with OMTC textures and shared handles; r=jgilbert
2012-08-01 14:57:54 -04:00
Karl Tomlinson
f8fc648682
b=778031 add FinishX to XSync less frequently and use it r=cjones
...
--HG--
extra : transplant_source : %BC%2C%80%F65%1DV%B7YVI%80%B2%FD%FE%F1%18G%06%26
2012-07-31 14:54:21 +12:00
Vladimir Vukicevic
b300f51d4b
b=773071; more incorrect merge fixup for KHR_fence_sync; r=vlad
2012-07-30 11:07:23 -04:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Jeff Gilbert
c059fcc5ca
Bug 736298 - Remove unused CreateForNativePixmapSurface - r=bjacob
2012-07-27 14:30:38 -07:00
Vladimir Vukicevic
da5c10dc30
b=773071; use KHR_fence_sync instead of GuaranteeResolve, fixup; r=jgilbert
2012-07-26 21:31:42 -04:00
Kan-Ru Chen
6acbc841d5
Bug 777495 - Fallback to TexImage2D if unable to allocate gralloc buffer. r=cjones
2012-07-27 08:47:14 +08:00
Jim Mathies
532a8fed99
Bug 776876 - msvc nullptr fix for GLContextProviderEGL. r=joe
2012-07-25 04:27:00 -05:00
Chris Jones
83c1ddf4b4
Bug 771350, part 1: Add GLContext::CreateDirectTextureImage and OpenDescriptorForTexturing to more easily support direct texturing without updates. r=vlad
2012-07-23 16:58:37 -07:00
Oleg Romashin
e40d28c591
Bug 774841 - Call SetupLookupFunction for EGL - r=jgilbert
2012-07-23 13:39:29 -07:00
James Willcox
30e0f551ce
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
2012-07-20 15:20:51 -04:00
Ed Morley
320a116efd
Backout 4987ffd173a4 (bug 687267) for bustage
2012-07-23 14:47:54 +01:00
James Willcox
752928c2eb
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
...
--HG--
extra : rebase_source : 450055ae3e71ea84f74252d3bf100fe970d29d14
2012-07-20 15:20:51 -04:00
Ms2ger
cb94cc2ce1
Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE.
2012-07-22 14:02:18 +02:00
James Willcox
5517ea9fde
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert
2012-07-20 15:20:51 -04:00
Jeff Gilbert
a695d8ec1c
Bug 774059 - Fix up references to glEGLImageTargetTexture2D - r=bjacob
2012-07-19 21:14:14 -07:00
Steve Fink
6914108ba0
Backed out changeset afd9e75374e8 from a CLOSED TREE for breaking Windows builds
2012-07-19 14:55:48 -07:00
James Willcox
08eb1f216b
Bug 687267 - Initial support for Flash on Honeycomb r=benwa,vlad
2012-07-19 16:15:40 -04:00
Andreas Gal
4b90ef79db
Unbind external buffers by re-binding a dummy texture to work around GL driver issues with unlocking (bug 774530, r=cjones).
2012-07-19 11:40:04 -07:00
Jeff Gilbert
be91e4f40e
Backed out changeset d4a04cc38326
2012-07-18 15:23:47 -07:00
Jeff Gilbert
cc1778b63f
Bug 774059 - Fix up references to glEGLImageTargetTexture2D - r=bjacob
2012-07-18 14:17:10 -07:00
Jeff Gilbert
8f647b4c56
Bug 774841 - Check the proper extension before using ImageTargetTexture2D - r=bgirard
2012-07-18 13:41:49 -07:00
Vladimir Vukicevic
098150359d
b=773071; use KHR_fence_sync instead of GuaranteedRsolve with EGLImage WebGL; r=jgilbert
2012-07-17 21:20:28 -04:00
Kan-Ru Chen
0ca1d23935
Bug 774552 - Draw GraphicBuffer directly. r=roc,BenWa
2012-07-17 10:12:58 +08:00
Oleg Romashin
72bbf76294
Bug 728524 - Invalid OP fix. r=jgilbert
2012-07-15 11:11:17 -04:00
Oleg Romashin
85458f3b81
Bug 728524 - Render to shared EGLImage/Texture implementation. r=bgirard,vlad,jgilbert
2012-05-31 21:30:08 -04:00
Marshall Culpepper
b5ce25615a
Bug 749538 - Check 24bpp/RGBX_8888 and 32bpp/RGBA_8888 when validating EGL Contexts. r=vlad
2012-07-07 10:06:59 -04:00
Oleg Romashin
f7eab872d9
Bug 763241 - Add double buffer EGL provider detection by define or permanently. r=jgilbert
2012-07-03 16:50:06 -07:00
Martin Stransky
ccc6f3119c
Bug 627699 - Port GTK2 to GTK3, gfx patch. r=karlt
2012-06-27 20:15:32 -04:00
Nicholas Cameron
65d2f251d1
Bug 757346; Use A8 textures (OGL). r=roc
2012-06-26 14:43:31 +12:00
Nicholas Cameron
1a825cc2d4
Back out bug 757346
...
--HG--
extra : rebase_source : 8a07c2c56ca9dbc165012b679d421435cc886c2c
2012-06-26 10:54:05 +12:00
Nicholas Cameron
52501aeb72
Bug 757346; Use A8 textures (OGL). r=roc
2012-06-26 09:44:41 +12:00
David Zbarsky
8122047242
Bug 765989 - Add fail on warnings to some gfx directories r=benwa
2012-06-19 21:12:30 -07:00
Cody Brocious
063151885f
Bug 745137 - Removed double buffering stubs, fixed crashiness across all devices. r=gal
2012-06-14 14:57:26 -04:00
Benoit Jacob
a9873dfeea
Bug 764578 - WebGL context creation keeps failing after D3D device has been lost - r=jgilbert
2012-06-14 11:59:40 -04:00
Cody Brocious
dca7b78de1
Bug 745137: Direct texturing for Gonk through gralloc, pref'd off. r=cjones
2012-06-12 21:20:27 -07:00
Ed Morley
5e91e96ae5
Backout a55eea2c294d (bug 627699) for bustage
2012-06-13 16:07:22 +01:00
Martin Stransky
46bc6e3ec7
Bug 627699 - Port GTK2 to GTK3, gfx patch; r=vlad
2012-06-13 10:47:54 -04:00
Chris Jones
646327546d
Backed out changeset beba1a053f5e
2012-06-12 21:40:40 -07:00
Cody Brocious
b43bbe5424
Bug 745137: Direct texturing for Gonk through gralloc, pref'd off. r=cjones
2012-06-12 21:20:27 -07:00
Jeff Gilbert
734d40ca4f
Bug 762259 - Drop vendor suffixes from EGLImage for internal uses - r=bjacob
2012-06-12 14:36:10 -07:00
Ali Juma
50551e14c0
Bug 763175 - Only create a new EGL surface when a new Android surface is created. r=BenWa
2012-06-12 10:24:31 -04:00
Chris Jones
0f831b2029
Bug 761894: Band-aid bustage from bug 760675 when using WebGL on same thread as GL compositor. rs=jrmuizel
2012-06-05 20:33:59 -07:00
Geoff Lankow
5cefea8480
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Benoit Jacob
b1836ff315
Bug 760675 - don't create a global context at all, on Android - r=jrmuizel
...
Indeed, it's currently unused except for Adreno blacklisting (see next commit) as
we don't do texture sharing just yet. We will soon do, though (bug 728524) and then
it is possible that on certain drivers we will have to use the global context as a
mean to share textures (if EGLImage can't be used). We'll see.
2012-06-02 16:28:16 -04:00
Andrew Quartey
6f4ba6438c
Bug 731836 - Add preference to use Mesa LLVMpipe for software rendering - r=bjacob
2012-06-02 12:05:45 -04:00
Ali Juma
190ef80d31
Bug 759162 - Part 1: Remove unnecessary call to eglChooseConfig in GLContextProviderEGL::RenewSurface. r=bgirard
2012-05-29 13:46:37 -04:00
Kan-Ru Chen
52fc902deb
Bug 743182 - Use gfxPlatform::OptimalFormatForContent everywhere. r=joedrew
2012-05-26 12:38:17 +08:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benoit Jacob
f5e1330f5c
Bug 754426 - get screen depth from the main thread, expose it to other threads via gfxAndroidPlatform - r=joe
2012-05-15 15:41:20 -04:00
Benoit Jacob
0f7357a542
Back out patches from bug 749678, except for the include guards - no review, fix regression (Bug 753350)
...
Unfortunately, in-process plugins using OpenGL break the assumption made by these patches, that the current GL context is only changed by GLContext::MakeCurrent. Another issue, regardless of in-process, is that our host-side code in nsCoreAnimationSupport.mm uses direct CGL calls, bypassing GLContext.
2012-05-12 19:23:56 -04:00
Benoit Jacob
4d92553d61
Bug 739648 - add mFlags field to TextureImage; introduce GetSrcTileRect flipping tile y-coords as needed; use it in DirectUpdate() to fix WebGL compositing bug - r=bgirard
2012-05-09 16:55:31 -04:00
Benoit Jacob
f3194c19c8
Bug 749678 - 3/5 - stop calling platform-specific getCurrentContext functions - r=jrmuizel
2012-05-08 09:47:34 -04:00
Oleg Romashin
8dae948140
Bug 751594 - s/ResizeOffscreenFBO/ResizeOffscreenFBOs. r=bgirard
2012-05-03 18:33:51 -04:00
Benoit Jacob
1519eb1059
Backing out bug 739648 for linux build failure
2012-05-03 16:26:04 -04:00
Benoit Jacob
657df782fe
Bug 739648 - WebGL rendering is broken on Android due to tiles being rendered at y-flipped coordinates - r=bgirard
2012-05-03 15:59:19 -04:00
Oleg Romashin
dfdca5c416
Bug 748694 - Switch Maemo WebGL to FBO. r=jgilbert,bgirard
2012-04-30 17:03:08 -07:00
Benoit Jacob
d3e93afe93
Bug 736123 - kill GetVendor() and EGLUtils.h - r=jrmuizel
...
Was only returning "Android" instead of something useful.
2012-04-30 17:43:12 -04:00
Oleg Romashin
cbab0e0682
Bug 743314 - Force CanUploadSubtextures on Maemo6 harmattan. r=chrislord.net
2012-04-28 09:05:41 -04:00
Jeff Gilbert
fd1836bca0
Bug 739775 - Refactor ResizeOffscreenFBO - r=bjacob
2012-04-25 15:10:43 +01:00
Jeff Gilbert
9a44c2562d
Bug 730417 - Add minimal PBuffer request case and use PBuffer request bit. r=bjacob
2012-04-24 19:49:59 -04:00
Oleg Romashin
28e15f2c03
Bug 744564 - Allow to create EGL context from Widget provided GL context (embedding approach). r=roc,jgilbert
2012-04-12 00:18:35 -04:00