Daniel Holbert
d2514c163c
Backed out changeset d3aab3c4eb5f (Bug 1262265) for fatal GL-related assertion failures in debug reftest runs
...
MozReview-Commit-ID: BBmMY1dd1s7
2016-04-19 18:03:17 -07:00
Jeff Gilbert
642da66065
Bug 1262265 - Cleanup GLContext symbol init. - r=jrmuizel
2016-04-19 16:19:31 -07:00
Nicolas Silva
6b8f0413aa
Bug 1240806 - Remove some dead code in GLContextProviderEGL. r=jgilbert
2016-01-20 14:46:16 +01:00
Markus Stange
258bcc1298
Bug 1187322 - Don't require accelerated OpenGL contexts for BasicCompositor on OS X. r=jrmuizel
...
--HG--
extra : commitid : D8wNlw49VVb
extra : rebase_source : f0c93866f09de396e835a2920d5db54efe53ffda
extra : amend_source : 7ed5dda1bd555ecc353137bfc9b00b10992a86a1
2015-12-23 16:22:55 +01:00
Jim Chen
c601b57208
Bug 1232456 - Renew EGL surface using existing compositor widget; r=snorp
...
GLContextEGL needs a widget in order to recreate its surface. This patch
adds a widget parameter to RenewSurface so that the compositor can pass
in its widget.
2015-12-23 22:03:35 -05:00
Jim Chen
3dc603713a
Bug 1232456 - Create EGL surface through widget; r=snorp
...
This patch makes GLContextProviderEGL create EGL surfaces through
nsWindow/nsIWidget on Android. nsWindow then calls GLController in Java
to actually create the surface.
2015-12-23 22:03:34 -05:00
Milan Sreckovic
4a422858eb
Bug 1219494 - Part 3 gfx/gl with gfxCrash. r=mchang
2015-12-10 13:01:00 +01:00
Jeff Muizelaar
18f1188eac
Bug 1219890. Use ES3 when appropriate. r=jgilbert
...
This enables the use of WebGL2 on top of ANGLE.
2015-12-02 10:21:08 -05:00
Jeff Muizelaar
427df1845c
Bug 1219890. Construct context arguments on the stack. r=jgilbert
...
We do this so that we can change some of the for es3
2015-12-02 10:20:56 -05:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd
583afa0965
Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
...
This commit was generated using the following script, executed at the
top level of a typical source code checkout.
# Don't modify select files in mfbt/ because it's not worth trying to
# tease out the dependencies currently.
#
# Don't modify anything in media/gmp-clearkey/0.1/ because those files
# use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
grep -v 'mfbt/RefPtr.h' | \
grep -v 'mfbt/nsRefPtr.h' | \
grep -v 'mfbt/RefCounted.h' | \
grep -v 'media/gmp-clearkey/0.1/' | \
xargs perl -p -i -e '
s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#; # handle strange #includes
'
# |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'
# RefPtr.h used |byRef| for dealing with COM-style outparams.
# nsRefPtr.h uses |getter_AddRefs|.
# Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Jeff Muizelaar
43a087cc38
Bug 1179280. Update ANGLE from chromium/2214 to chromium/2466.
2015-09-29 19:04:17 -04:00
Jeff Gilbert
bc525759f2
Bug 1209022 - Fix AA handling in EGL's CreateOffscreen. - r=jrmuizel
2015-09-28 15:53:37 -07:00
Jeff Gilbert
187dfafc29
Bug 1191042 - Use CreateOffscreen for WebGL instead of CreateHeadless. - r=jrmuizel
2015-09-24 12:21:05 -07:00
Phil Ringnalda
449e9119b4
Back out f84aedf7a62d (bug 1191042) for b2g emulator test failures
...
CLOSED TREE
2015-09-22 19:26:13 -07:00
Jeff Gilbert
8d443901df
Bug 1191042 - Use CreateOffscreen for WebGL instead of CreateHeadless. - r=jrmuizel
2015-09-22 16:49:25 -07:00
Andrew Comminos
c3cdfadf07
Revert "Bug 1191042 - Establish correct EGLConfig at GLContext creation. r=jrmuizel" CLOSED TREE
...
This reverts commit 99120014586d20a2921b9157e5ec81b3605cd8bd.
2015-08-27 17:12:06 -04:00
Jeff Gilbert
7c5b24dcc5
Bug 1191042 - Establish correct EGLConfig at GLContext creation. r=jrmuizel
2015-08-27 16:55:45 -04:00
Matt Woodrow
d2d5e5b9a3
Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert
2015-07-29 16:35:55 -04:00
Wes Kocher
ec1078c65a
Backed out 6 changesets (bug 1150944, bug 1034370) for build failures in WebGLContext.cpp CLOSED TREE
...
Backed out changeset e2a6160242e5 (bug 1150944)
Backed out changeset 1c510537d20b (bug 1150944)
Backed out changeset 7ae813666ed5 (bug 1150944)
Backed out changeset 2f29ac2e31cd (bug 1150944)
Backed out changeset bf7681b1567e (bug 1150944)
Backed out changeset 79c6b8d014d2 (bug 1034370)
2015-07-29 14:16:17 -07:00
Matt Woodrow
501c8bec02
Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert
2015-07-29 16:35:55 -04:00
Kyle
06c3dd1246
Bug 1167651 - Passed the forceEnabled pref from function to function down to GLLibraryEGL::EnsureInitialized. r=jgilbert
2015-07-23 13:12:59 -04:00
Sotaro Ikeda
1461279916
Bug 1176945 - Remove unnecessary hwc reference from gl r=jgilbert
2015-06-24 15:44:47 -07:00
Shelly Lin
fba7c0fcc2
Bug 1138287 - Part 2: Support multi-screen on Gonk platform. r=mwu, r=sotaro, r=jgilbert, r=mattwoodrow
...
--HG--
extra : histedit_source : 02c96bba0e933c85d9af2566d1c9c8d04d120a31
2015-06-05 11:29:30 +08:00
Amanda Sambath
4a4ca60aed
Bug 1158120 - Replace gfxIntSize by mozilla::gfx::IntSize in gfx/gl part 1. r=nical
2015-05-28 11:45:33 +02:00
Sotaro Ikeda
053aaa45c3
Bug 1152135 - Split EGLSurface buffer swap and HWC buffer swap r=mwu,nical,jgilbert
2015-04-17 09:28:41 -07:00
Carsten "Tomcat" Book
eba45dcee4
Backed out changeset abe6234be8a3 (bug 1152135) for Android 4 opt/debug perma failure
2015-04-17 12:04:55 +02:00
Sotaro Ikeda
7078be3faa
Bug 1152135 - Split EGLSurface buffer swap and HWC buffer swap r=mwu,nical,jgilbert
2015-04-16 18:15:26 -07:00
Randall Barker
6c5b7174eb
Bug 1148149 - Support Android Presentation API. r=snorp, r=jgilbert
2015-04-10 22:14:00 -04:00
Sotaro Ikeda
a3181c2cc5
Backed out changeset 29d01ad10d0b (bug 1152135)
2015-04-13 12:28:06 -07:00
Sotaro Ikeda
1a785adc42
Bug 1152135 - Split EGLSurface buffer swap and HWC buffer swap r=mwu,nical,jgilbert
2015-04-12 11:23:46 -07:00
Sotaro Ikeda
9ff8e58781
Bug 1151936 - Update GLContextEGL's EGLSurface override handling r=jgilbert
2015-04-08 08:35:54 -07:00
Nicolas Silva
0b1f75bea0
Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas
2015-04-07 16:08:57 +02:00
Jeff Gilbert
d3813c406b
Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish
2015-02-12 19:00:41 -08:00
Jeff Gilbert
56b00391c3
Backout 80a88a3badba for causing bug 1130086.
2015-02-06 11:37:04 -08:00
Jeff Gilbert
680ae080b6
Bug 1124394 - Support WebGL 2 with Core Profiles on Mac. - r=kamidphish
2015-02-04 16:34:55 -08:00
Wes Kocher
d7313c3320
Backed out changeset 176166c0bae9 (bug 1124394) for b2g device bustage on a CLOSED TREE
2015-01-29 14:23:37 -08:00
Jeff Gilbert
95f269cb3f
Bug 1124394 - Support WebGL on Core Profiles on Mac. - r=kamidphish
2015-01-29 00:44:19 -08:00
Jeff Gilbert
37012e9ef6
Bug 1089018 - Centralize GLContext spew control. - r=jrmuizel
2014-10-24 18:26:41 -07:00
James Willcox
a8cc145afb
Bug 1014614
- Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert
...
--HG--
extra : rebase_source : 4f148d8a0c2f9ec2d939f9d9939dab897b435bef
2014-10-21 08:53:00 -05:00
Wes Kocher
36939bc3c8
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
9450484c06
Bug 1014614
- Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert
...
--HG--
extra : rebase_source : 70d12286eb15808a4a540bae0d6785e560e97b29
2014-10-17 10:35:10 -05:00
Jeff Gilbert
9451a4fa01
Bug 996266 - Fall back from failed WebGL context creation attribs. - r=kamidphish,bjacob
2014-08-27 16:16:22 -07:00
Carsten "Tomcat" Book
b2d1c25a26
Backed out changeset 6bcda9f223b3 (bug 996266) for bustage on a CLOSED TREE
2014-08-27 11:15:40 +02:00
Jeff Gilbert
bee2e24b94
Bug 996266 - Fall back from failed WebGL context creation attribs. - r=kamidphish,bjacob
2014-08-27 01:31:14 -07:00
Kartikaya Gupta
08b5038258
Bug 1055605 - Replace MOZ_ANDROID_OMTC with MOZ_WIDGET_ANDROID. r=BenWa
2014-08-22 15:26:56 -04:00
Michael Wu
86c7d992ec
Bug 1042949 - Remove gScreenBounds hack in GLContextProviderEGL.cpp, r=jgilbert
2014-07-22 17:33:03 -04:00
Michael Wu
5210048680
Bug 1026776 - Use surface pixel format to select an EGLConfig on gonk, r=jgilbert
2014-06-17 17:19:11 -04:00
Sotaro Ikeda
9dd7bf06dc
Bug 1029856 - Call glClear() before blit composition r= Sushil
2014-06-30 13:01:24 -07:00
Jeff Muizelaar
3f98356e82
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
3b6b9c3591
Backed out changeset 9b01df568861 (bug 8430335) for assertions & incorrect bug number; CLOSED TREE
2014-05-30 17:15:40 +01:00
Jeff Muizelaar
b2314773a5
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
0dbaa9d653
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
200e95e9eb
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
27cf59e46c
Bug 986836 - Don't destroy the native framebuffer's eglSurface on ICS - r=jrmuizel
2014-04-11 08:38:07 -04:00
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
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
Michael Wu
93b9694f41
Bug 736005 - Put GL config fallback back on Android, r=cjones
2012-03-29 19:47:22 -07:00
Ali Juma
65e2dc5b45
Bug 741319 - Delete textures using the same context used to create them, on the thread that owns that context. r=joe
2012-04-10 16:20:02 -04:00
Oleg Romashin
85eb6e3b49
Bug 742544 - Don't change global shared context multiple times. r=jgilbert
2012-04-04 17:53:02 -07:00
Oleg Romashin
4a7033ba37
Bug 742091 - Texture format detection broken by 740372. r=gwright
2012-04-04 14:32:21 -07:00
Ali Juma
3918b9d6e4
Bug 735230 - Part 4: Don't call MakeCurrent with a context and without a surface. r=gw280
2012-03-28 18:00:41 -04:00
Oleg Romashin
5daa4e239e
Bug 738137 - Try to create PBuffer offscreen context on NON-X11 builds always. r=jgilbert
2012-03-22 13:25:03 -07:00
Andreas Gal
f4ce7cd7f7
Use BGRX shader for RGB24 image surfaces (bug 738178, r=joe).
2012-03-22 11:37:47 -07:00
Oleg Romashin
51da007a77
Bug 735164 - Handle properly WebGL offscreen context in Platform context environment. r=jgilbert
2012-03-21 17:16:31 -07:00
Oleg Romashin
ed773f9c8b
Bug 733562 - Offscreen FBO must not be created for Global Shared context. r=bjacob
2012-03-21 16:13:59 -07:00
Michael Wu
fa8d4e142e
Bug 736902 - Remove support for unused SetSwapRectangleANDROID symbol, r=gal
2012-03-18 22:49:37 -04:00
Dão Gottwald
edf0457046
Backed out changeset 57d368003eb8
2012-03-20 13:13:24 +01:00
Oleg Romashin
011eae2b5a
Bug 733562 - Offscreen FBO must not be created for Global Shared context. r=bjacob
2012-03-20 12:23:14 +01:00
George Wright
8f4052f8a0
Bug 732865 - Clean up the GLContext* classes. r=bgirard,joe
...
--HG--
extra : rebase_source : f4f057f354772ff38d37fbc6e179f3cde9e218d1
2012-03-16 18:24:12 -04:00
George Wright
a75edfb828
Backed out changeset aad5bc8b3433
2012-03-16 15:02:01 -04:00
George Wright
96d0e2fd38
Bug 732865 - Clean up the GLContext* classes. r=bgirard,joe
2012-03-16 14:30:09 -04:00
Benoit Girard
dc6ea71b7e
Merge mc->Maple
2012-03-13 11:05:28 -04:00
Kartikaya Gupta
60f5962bb6
Merge m-c to maple
2012-03-12 10:41:42 -04:00
Oleg Romashin
48344bb427
Bug 734667 - Compilation fail on some toolchains due extra semicolon in EGL Provider. r=joe
2012-03-11 22:41:03 +01:00
Benoit Girard
9612045323
Merge mc->Maple
2012-03-09 11:13:30 -05:00
Benoit Girard
677ccfe9c3
Bug 733113 - Maple: Remove debug logging. r=ajuma
2012-03-05 16:10:43 -05:00
Benoit Girard
997a81e71b
Merge latest green changeset from mozilla-central to maple
...
--HG--
rename : dom/base/nsDOMMemoryReporter.cpp => dom/base/nsWindowMemoryReporter.cpp
rename : dom/base/nsDOMMemoryReporter.h => dom/base/nsWindowMemoryReporter.h
2012-03-05 13:41:15 -05:00
George Wright
fbad42468a
Bug 674753 - Ensure that sApitraceLibrary is static so that we only load the library once - r=bjacob
2012-03-04 21:43:51 -05:00
Michael Wu
d25c224c40
Bug 734081 - Check pixel depth when choosing config on egl, r=cjones
2012-03-08 19:01:12 -05:00
Ryan VanderMeulen
7b54dcd2ff
Back out 2175db811fad (bug 734081) due to Android reftest failures.
2012-03-08 18:41:28 -05:00
Michael Wu
6c9437b47a
Bug 734081 - Check pixel depth when choosing config on egl, r=cjones
2012-03-08 17:06:54 -05:00
George Wright
1b0eda7141
Bug 674753 - Add support for loading apitrace explicitly on Android - r=jrmuizel,bjacob
2012-02-29 16:55:46 -05:00
Benoit Girard
f7caef0932
Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=joe
2012-02-24 18:17:27 -05:00
George Wright
63a3bbdbb3
Bug 728041 - Only release the surface and not the context. r=ajuma
2012-02-24 16:20:15 -05:00
Benoit Girard
9e04faad35
Backout f8b7cca3297f, our leaktool can't handle statics :(
2012-02-23 20:10:23 -05:00
Benoit Girard
6ef478ff48
Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=ajuma
2012-02-23 17:51:57 -05:00
Benoit Girard
9e30bd44f5
backout 6ae546e8bc55
2012-02-23 17:53:40 -05:00
Benoit Girard
9916a55c1c
Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=ajuma
2012-02-23 16:04:38 -05:00
George Wright
18a9d1b7ae
Bug 674753 - Ensure that sApitraceLibrary is static so that we only load the library once - r=bjacob
2012-03-04 21:43:51 -05:00
George Wright
0ce69de369
Bug 674753 - Add support for loading apitrace explicitly on Android - r=jrmuizel,bjacob
2012-02-29 16:55:46 -05:00
Joe Drew
4686626a0b
Bug 728631 - remove a bunch of accidentally-committed debug code.
2012-02-21 13:15:39 -08:00
Joe Drew
9d423073c5
Bug 728631 - Don't disable blending inside our Java rendering code, because we rely on it remaining set from LayerManagerOGL. r=dougt
...
--HG--
extra : rebase_source : 9fe18ddb4582455fe428f14acb8a931e1b1e4661
2012-02-20 14:48:36 -08:00
Brad Lassey
0ad51deb55
backing out e45688c8531c because it broke the build
2012-02-18 14:21:48 -05:00
Patrick Walton
c18e9e380e
Stub untested gralloc support, disabled for now
2012-02-17 23:53:21 -08:00
Doug Turner
3f133bfdd1
Merge with mozilla-central
2012-02-16 18:06:54 -08:00
Oleg Romashin
5e0573d238
Bug 732143 - WebGL on maemo6 N9 does not work anymore after FBO switch 720467. r=joe
2012-03-02 11:28:06 -06:00
Benoit Girard
e03562cb0e
Bug 727497 - Don't call CreateSurfaceForWindow in MakeCurrent in EGL. r=ajuma
2012-02-15 16:02:39 -05:00
Jeff Gilbert
eca5baa8f9
Bug 726396 - Repair ANGLE d3d share handle fetching an PBuffer creation behavior - r=bjacob
2012-03-12 15:10:38 -07:00
Ali Juma
7d3fe66eb2
Code cleanup.
2012-02-09 17:39:04 -05:00