Ryan VanderMeulen
f0d5b6f0be
Bug 1297276 - Fix merge bustage. a=bustage
2016-08-25 08:40:42 -04:00
Andrew Comminos
6fc5868042
Bug 1280653 - Read into the X11 event queue in GLContextGLX::MakeCurrent to queue DRI invalidation events. r=lsalzman
...
MozReview-Commit-ID: 5N076lUlCkl
--HG--
extra : rebase_source : c1aa9eb1ad2d5c5410d94d4028ee7f034194b4ad
2016-08-24 20:23:39 -04:00
Andrew Comminos
2c8e7beb35
Bug 1297537 - Avoid calling glXWaitGL in GLContextGLX::SwapBuffers. r=jgilbert
...
MozReview-Commit-ID: FUzbHFyKiMH
--HG--
extra : rebase_source : 71acb5af28740936ed4b3fb6b571e0e3cc153db4
2016-08-23 14:27:33 -04:00
Ryan Hunt
7467d1ee3f
Bug 1288860 - Change GLContextProvider to use CompositorWidget. r=jrmuizel
...
--HG--
extra : rebase_source : 92e481ef6b499d773e6e98591f22675b05b71c69
2016-07-25 14:41:00 -04:00
Andrew Comminos
6fa3ed32ec
Bug 1286847 - Remove calls to XGetGeometry from the compositor thread. r=jgilbert,jrmuizel
...
MozReview-Commit-ID: IAd2y1FgiFn
--HG--
extra : rebase_source : 48bab0df53c02a0abc8bf65927882526aa54e0bf
2016-07-12 15:01:21 -04:00
Lee Salzman
16ca3223d9
Bug 1286317 - part 1 - remove Qt widget usage from gfx. r=jrmuizel
2016-07-12 20:27:57 -04:00
Wes Kocher
0dcab503c5
Merge m-c to inbound, a=merge CLOSED TREE
2016-07-12 17:16:47 -07:00
Andrew Comminos
4ecad4a8e4
Bug 1195359 - Use a new display on the compositor thread when using GLX and the GL compositor. r=lsalzman
...
MozReview-Commit-ID: G4Yd0p9R1fh
2016-07-12 14:05:17 -04:00
Andrew Comminos
f7bfa30117
Bug 1284934 - Use gfxPrefs to check ASAP mode in GLContextProviderGLX. r=jgilbert
...
MozReview-Commit-ID: 8F2hP1gt65V
--HG--
extra : rebase_source : 6fc55c326c3d21dc270c0a5f245ec4952007cb26
2016-07-06 13:18:45 -04:00
Andrew Comminos
b48d3626b3
Bug 1280744 - Set swap interval to 0 when running in ASAP mode on GLX. r=jgilbert
...
MozReview-Commit-ID: FYKDeBVUhnd
--HG--
extra : rebase_source : 2c0e11b20c8ee9d92523597b51493e2014d00084
2016-06-18 23:32:33 -04:00
Jeff Gilbert
41c6dce417
Bug 1279657 - Fix missed callsites. - r=jrmuizel
...
MozReview-Commit-ID: 8RY2D5OTnZ5
2016-06-21 14:04:00 -07:00
Jeff Gilbert
fe7590ad04
Bug 1279657 - failureId outvar should be a pointer. - r=benwa
...
MozReview-Commit-ID: 4s0OqZcHno5
2016-06-21 14:04:00 -07:00
Jeff Gilbert
f24d3f8f8b
Bug 1279657 - Star to left against type. - r=jrmuizel
...
MozReview-Commit-ID: IAuzZp4qcRX
2016-06-21 14:04:00 -07:00
Jeff Gilbert
87e8222d4d
Bug 1278403 - Misc code cleanup. - r=jrmuizel
...
MozReview-Commit-ID: 3ccHiLQM6lm
2016-06-21 13:47:30 -07:00
Jeff Gilbert
6b0581243f
Bug 1278403 - Choose GLContext::DebugFlags based on ContextCreateFlags. - r=jrmuizel
...
MozReview-Commit-ID: KSjIhu8I20C
2016-06-21 13:47:30 -07:00
Jeff Gilbert
774abaa5e4
Bug 1278403 - Spread CreateContextFlags to GLContext::ctor. - r=jrmuizel
...
MozReview-Commit-ID: 4rPitIpn60l
2016-06-21 13:47:30 -07:00
Carsten "Tomcat" Book
0f670f3910
Backed out changeset dfe70885c37c (bug 1279657)
2016-06-17 13:33:08 +01:00
Carsten "Tomcat" Book
c0c2282bfb
Backed out changeset 097dc302f5a0 (bug 1279657)
2016-06-17 13:33:06 +01:00
Jeff Gilbert
30c5609435
Bug 1279657 - failureId outvar should be a pointer. - r=benwa
...
MozReview-Commit-ID: 4s0OqZcHno5
2016-06-17 05:10:55 -07:00
Jeff Gilbert
1d4c021d59
Bug 1279657 - Star to left against type. - r=jrmuizel
...
MozReview-Commit-ID: IAuzZp4qcRX
2016-06-17 05:10:55 -07:00
eyim
b0ca07b635
Bug 1277027 - fix MOZ_CRASH to have GFX prefix in webGL code r=BenWa,milan
...
MozReview-Commit-ID: FjLA9xNH3zD
--HG--
extra : rebase_source : 5809a1f8126360b3fa8ee069b3a463747cb31e6f
2016-06-06 11:17:23 -04:00
Andrew Comminos
0451f41d19
Bug 1197954 - Add support for GLX_SGI_video_sync to GLContextProviderGLX. r=jgilbert
...
MozReview-Commit-ID: JnNLEbsKjzl
2016-06-08 16:26:36 -04:00
Benoit Girard
2586414710
Bug 1276732 - Report the GLContext error to WebGL for telemetry. r=jrmuizel
...
MozReview-Commit-ID: 24eb4FXMOiI
--HG--
extra : rebase_source : 391e44f4d4fdcf5782053fc6c3e9b17e651a9a1f
2016-06-06 16:52:42 -04:00
Benoit Girard
24a4187d15
Backed out changeset 4264b01fd313 (Bug 1276732) for causing build bustage
...
MozReview-Commit-ID: KnEpCcI9a13
2016-06-06 13:37:59 -04:00
Benoit Girard
c391acc0f7
Bug 1276732 - Report the GLContext error to WebGL for telemetry. r=jrmuizel
...
MozReview-Commit-ID: Am733GJkOSb
--HG--
extra : rebase_source : 1eaf4e281b2415f0adcae7e9585a29d912685358
2016-06-06 13:20:13 -04:00
Jeff Gilbert
ed674372da
Bug 1262265 - Cleanup GLContext symbol init. - r=jrmuizel
2016-04-21 16:32:18 -07:00
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
Andrew Comminos
547da6e1b6
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
158d5666b8
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
08e70e0e44
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
4729f64a2a
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
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Phil Ringnalda
d381b4bca6
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
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02: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
Jeff Muizelaar
53e0c67402
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
a11db4c721
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
9838c19be9
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
--HG--
extra : rebase_source : 257452a7d9329430c8639a2c3ddff647a1ab4768
2015-10-22 10:49:06 -04:00
Milan Sreckovic
33b10a1074
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
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 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
f878f77b97
Bug 1197387
- Use glXGetProcAddress to link against GLX_ARB_create_context_robustness. r=jgilbert
2015-08-26 21:30:15 -04:00
Andrew Comminos
f8f6b355a9
Bug 1187440 - Implement GLX shared surfaces on the OpenGL compositor. r=jgilbert,nical
2015-07-30 12:40:56 -04:00
Andrew Comminos
85092eb212
Bug 1184534 - Add support for target size retrieval to GLX backend. r=jgilbert
2015-07-30 12:39:26 -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