Daniel Holbert
f10cb853d6
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
18793c7422
Bug 1262265 - Cleanup GLContext symbol init. - r=jrmuizel
2016-04-19 16:19:31 -07:00
Andrew Comminos
7031e56391
Revert "Bug 1197954 - Add support for GLX_SGI_video_sync to GLContextProviderGLX. r=jgilbert"
...
This reverts commit c26871ee3cac8b736e9b868cd7738900f0d40a81.
2016-03-03 21:39:19 -08:00
Andrew Comminos
2da4db1f47
Bug 1197954 - Add support for GLX_SGI_video_sync to GLContextProviderGLX. r=jgilbert
...
MozReview-Commit-ID: Fn9jwecuz5q
2016-03-03 20:37:26 -08:00
Andrew Comminos
04877d1b08
Bug 1197954 - Extract GLXFBConfig selection code for X11 windows. r=lsalzman
...
MozReview-Commit-ID: IVSepKwVbp9
2016-03-03 20:37:26 -08:00
Lee Salzman
18e99e0bab
Bug 1245550 - add gfx.use-glx-texture-from-pixmap pref to control whether texture_from_pixmap is used. r=nical
2016-02-03 13:05:24 -05:00
Birunthan Mohanathas
bfee0fb40c
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Phil Ringnalda
d871b9515f
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
245cd6a02f
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Markus Stange
4b500a424b
Bug 1187322 - Don't require accelerated OpenGL contexts for BasicCompositor on OS X. r=jrmuizel
2015-12-23 16:22:55 +01:00
Jeff Muizelaar
37e5eb550f
Bug 1213431. Support using Core profile for WebGL2 on Linux. r=jgilbert
...
Mesa won't give us a version of OpenGL newer than 3.0 without core profile
2015-10-22 10:49:06 -04:00
Phil Ringnalda
8408584bd0
Back out changeset 5b1a9f0706de (bug 1213431) on suspicion of causing Mulet bustage in webgl-capturestream-test.html?preserve
2015-10-31 13:33:41 -07:00
Jeff Muizelaar
7d4c6ec5d7
Bug 1213431. Support using Core profile for WebGL2 on Linux. r=jgilbert
...
Mesa won't give us a version of OpenGL newer than 3.0 without core profile
2015-10-22 10:49:06 -04:00
Milan Sreckovic
8feec0d950
Bug 1214802 - gfxEnv - consolidate environment variables used by the graphics code in one place. r=botond
2015-10-28 14:31:00 +01:00
Nathan Froyd
4e6d8f6705
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
2015-10-18 01:24:48 -04:00
Nathan Froyd
bf7f6dda03
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 Gilbert
f5e35d3064
Bug 1191042 - Use CreateOffscreen for WebGL instead of CreateHeadless. - r=jrmuizel
2015-09-24 12:21:05 -07:00
Phil Ringnalda
978242ee5b
Back out f84aedf7a62d (bug 1191042) for b2g emulator test failures
...
CLOSED TREE
2015-09-22 19:26:13 -07:00
Jeff Gilbert
87aac68e44
Bug 1191042 - Use CreateOffscreen for WebGL instead of CreateHeadless. - r=jrmuizel
2015-09-22 16:49:25 -07:00
Andrew Comminos
bdd71e9e11
Bug 1197387 - Use glXGetProcAddress to link against GLX_ARB_create_context_robustness. r=jgilbert
2015-08-26 21:30:15 -04:00
Andrew Comminos
f8f6e8f2c8
Bug 1187440 - Implement GLX shared surfaces on the OpenGL compositor. r=jgilbert,nical
2015-07-30 12:40:56 -04:00
Andrew Comminos
4d9f594b55
Bug 1184534 - Add support for target size retrieval to GLX backend. r=jgilbert
2015-07-30 12:39:26 -04:00
Matt Woodrow
f2668193dc
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
47eb6fb630
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
ade701f6b4
Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert
2015-07-29 16:35:55 -04:00
Kyle
6ac0a52d8b
Bug 1167651 - Passed the forceEnabled pref from function to function down to GLLibraryEGL::EnsureInitialized. r=jgilbert
2015-07-23 13:12:59 -04:00
Amanda Sambath
1065e57d55
Bug 1158120 - Replace gfxIntSize by mozilla::gfx::IntSize in gfx/gl part 1. r=nical
2015-05-28 11:45:33 +02:00
Nicolas Silva
166bce0b62
Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas
2015-04-07 16:08:57 +02:00
Jeff Gilbert
4f9c932a23
Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish
2015-02-12 19:00:41 -08:00
Nicholas Nethercote
0247de46d8
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
2015-02-09 14:34:50 -08:00
Andrew McCreight
e048a7df33
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Jeff Gilbert
9fb0acb86f
Backout 80a88a3badba for causing bug 1130086.
2015-02-06 11:37:04 -08:00
Nicholas Nethercote
40ab0270d5
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
2015-02-04 20:05:36 -08:00
Jeff Gilbert
2f2bc0d4e9
Bug 1124394 - Support WebGL 2 with Core Profiles on Mac. - r=kamidphish
2015-02-04 16:34:55 -08:00
Wes Kocher
05450e379b
Backed out changeset 176166c0bae9 (bug 1124394) for b2g device bustage on a CLOSED TREE
2015-01-29 14:23:37 -08:00
Jeff Gilbert
f9484a4a62
Bug 1124394 - Support WebGL on Core Profiles on Mac. - r=kamidphish
2015-01-29 00:44:19 -08:00
Botond Ballo
ba2a1aee57
Bug 965022 - Use MOZ_FORMAT_PRINTF for [f]printf_stderr, and fix incorrect usages. r=jrmuizel
2014-08-26 17:14:51 -04:00
Jeff Gilbert
cf8a826e77
Bug 996266 - Fall back from failed WebGL context creation attribs. - r=kamidphish,bjacob
2014-08-27 16:16:22 -07:00
Carsten "Tomcat" Book
f0d135bbd1
Backed out changeset 6bcda9f223b3 (bug 996266) for bustage on a CLOSED TREE
2014-08-27 11:15:40 +02:00
Jeff Gilbert
80c99aaa2a
Bug 996266 - Fall back from failed WebGL context creation attribs. - r=kamidphish,bjacob
2014-08-27 01:31:14 -07:00
Ryan VanderMeulen
e36f8c0dfc
Backed out 5 changesets (bug 965022) for mochitest-2 failures on a CLOSED TREE.
...
Backed out changeset 7f68752ffe1e (bug 965022)
Backed out changeset 24251d4da019 (bug 965022)
Backed out changeset a34ae046c947 (bug 965022)
Backed out changeset f747fd154739 (bug 965022)
Backed out changeset f076faf3c282 (bug 965022)
2014-08-26 16:02:37 -04:00
Botond Ballo
3511fdd230
Bug 965022 - Use MOZ_FORMAT_PRINTF for [f]printf_stderr, and fix incorrect usages. r=jrmuizel
2014-08-25 18:28:25 -04:00
Nicolas Silva
8a0c258ce9
Bug 1013292 - Fix some using namespace + unified build issues in gfx code. r=kats
2014-05-22 12:11:45 +02: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
Nathan Froyd
e9c11756c9
Bug 989349 - part 2 - eliminate static constructor in GLContextProviderGLX.cpp; r=bjacob
2014-03-26 09:26:11 -04:00
Nathan Froyd
8a02e31382
Bug 989349 - part 1 - use StaticRefPtr instead of nsRefPtr in GLContextProviderGLX.cpp; r=bjacob
2014-03-26 09:10:27 -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
Matt Woodrow
aa78187744
Bug 680817 - Keep GLXPixmaps bound to textures between updates on NVIDIA drivers to improve performance. r=joe
2014-02-25 12:56:51 +13:00
Oleg Romashin
82bfb9200b
Bug 974335 - Refactor Qt Widget Backend implementation. gl changes . r=bjacob
2014-02-20 18:08:50 -08:00