James Willcox
36df193c10
Bug 1401455 - Add GLContextGLX::FindVisual() r=lsalzman
...
MozReview-Commit-ID: IiInaCEtnIF
2018-03-16 17:19:21 -05:00
James Willcox
4e30d2b54d
Bug 1401455 - Expose glxChooseVisual() in GLXLibrary r=jgilbert
...
MozReview-Commit-ID: CdG2TAJA2Yc
2018-03-16 17:19:17 -05:00
James Willcox
1d6a993884
Back out Bug 1401455 due to Marionette failures on a CLOSED TREE
2018-03-16 11:19:40 -05:00
James Willcox
240db703d3
Bug 1401455 - Add GLContextGLX::FindVisual() r=lsalzman
...
MozReview-Commit-ID: IiInaCEtnIF
2018-03-16 08:39:46 -05:00
James Willcox
ee03b7a943
Bug 1401455 - Expose glxChooseVisual() in GLXLibrary r=jgilbert
...
MozReview-Commit-ID: CdG2TAJA2Yc
2018-03-16 08:39:44 -05:00
Martin Stransky
da41393bd7
Bug 1425842 - Rename X11CompositorWidget to GtkCompositorWidget and implement WindowSurfaceWayland support, r=jhorak
...
- Rename X11CompositorWidget to GtkCompositorWidget to handle both X11 and Wayland backends.
- Rename X11CompositorWidgetInitData to GtkCompositorWidgetInitData
- Implement Wayland support at WindowSurfaceProvider, WindowSurfaceProvider::CreateWindowSurface()
is able to create WindowSurfaceWayland.
- Initialize Wayland surface provider at nsWindow::Create()
MozReview-Commit-ID: 1WvR9nWHa3L
--HG--
rename : widget/gtk/X11CompositorWidget.cpp => widget/gtk/GtkCompositorWidget.cpp
rename : widget/gtk/X11CompositorWidget.h => widget/gtk/GtkCompositorWidget.h
rename : widget/gtk/InProcessX11CompositorWidget.cpp => widget/gtk/InProcessGtkCompositorWidget.cpp
rename : widget/gtk/InProcessX11CompositorWidget.h => widget/gtk/InProcessGtkCompositorWidget.h
extra : rebase_source : d54186515b066b957d8ad05bb5540db55f2e9415
2017-12-18 20:20:02 +01:00
Jeff Gilbert
ea479cbf60
Bug 1390386 - Remove duplicate IsCurrent checks in MakeCurrentImpls. - r=jrmuizel
...
MozReview-Commit-ID: LZeLbciWnic
2017-11-28 17:13:17 -08:00
Jeff Gilbert
fbf8b4797b
Bug 1390386 - IsCurrent should understand mImplicitMakeCurrent. - r=jrmuizel
...
MozReview-Commit-ID: 7vMRUPMc3nN
2017-11-28 17:13:07 -08:00
Jeff Gilbert
9c2ba78435
Bug 1390386 - Make MakeCurrent const. - r=daoshengmu
...
MozReview-Commit-ID: 3m3T6iMgZOc
2017-11-28 17:12:39 -08:00
Emilio Cobos Álvarez
8f9ca35be9
Bug 1420170: Don't duplicate code for choosing a GLX context between ATI and WR. r=kats
...
MozReview-Commit-ID: DLvI8Zz7obD
--HG--
extra : rebase_source : 233b8a69fb039b096ec3a43d4296a60c8870271a
2017-11-23 15:46:59 +01:00
Chris Peterson
0e8425b401
Bug 1416164 - Replace NS_ABORT with MOZ_ASSERT_UNREACHABLE. r=froydnj
...
MozReview-Commit-ID: DRdYlOYqZpN
--HG--
extra : rebase_source : b20fb24abf0f2ce648c12a827532c0dbeefb6c63
2017-10-24 23:52:56 -07:00
Jeff Muizelaar
fd0bdd7710
Bug 1371434. Use LOCAL_GLX_CONTEXT_PROFILE_MASK_ARB instead of LOCAL_GLX_CONTEXT_FLAGS_ARB. r=kvark
...
I'm not sure why I originally used GLX_CONTEXT_FLAGS_ARB but the spec at
https://www.khronos.org/registry/OpenGL/extensions/ARB/GLX_ARB_create_context.txt
strongly suggests using GLX_CONTEXT_PROFILE_MASK_ARB
2017-06-12 16:15:08 -04:00
Jeff Gilbert
a0ef36e101
Bug 1347679 - Determine ContextProfile from driver and simplify version parsing. - r=daoshengmu
...
MozReview-Commit-ID: 4mBdJmsxQvD
2017-03-17 17:02:01 -07:00
Jeff Gilbert
f6e6e9870e
Bug 1347289 - Remove GL context sharing support except on EAGL - r=snorp
...
MozReview-Commit-ID: FUGSsQ9r7Bd
2017-03-14 19:59:10 -07:00
Jeff Gilbert
e63fc0df83
Bug 1339256 - Detect robust_buffer_access_behavior. - r=daoshengmu
...
MozReview-Commit-ID: 4w5D9bOQbY8
2017-03-09 18:57:41 -08:00
Jeff Gilbert
49450a2691
Bug 1344433 - Allow GLX 1.3+glXGetProcAddressARB. - r=jrmuizel
...
MozReview-Commit-ID: IpjF3HXgcLy
2017-03-06 15:39:37 -08:00
Jeff Gilbert
af80cd9f27
Bug 1344433 - Use WRAP() macros. - r=daoshengmu
...
MozReview-Commit-ID: 9C6tlOTNhrg
2017-03-06 15:39:36 -08:00
Jeff Gilbert
3fc6d1fc74
Bug 1344433 - Reformat. - r=daoshengmu
...
MozReview-Commit-ID: 8W0oGeHBYtR
2017-03-06 15:39:36 -08:00
Jeff Gilbert
dc04ef02be
Bug 1344433 - Require GLX 1.4 (released 2005) - r=daoshengmu
...
MozReview-Commit-ID: 9SJFyJqejES
2017-03-06 15:39:36 -08:00
Kartikaya Gupta
bf7599ac75
Merge m-c to graphics
...
MozReview-Commit-ID: 8BjfShvh5gp
2017-02-03 10:39:57 -05:00
Jeff Gilbert
195cc8411d
Bug 1335296 - Expand about:support WebGL information. - r=qdot,daoshengmu,jrmuizel
...
MozReview-Commit-ID: 166aNL6VSOa
2017-02-02 16:50:19 -08:00
Kartikaya Gupta
ae11d416ec
Bug 1326421 - Update GL context creation code to use compositor-specific WebRender flag instead of a global pref. r=dvander
...
MozReview-Commit-ID: DQkGHCAxu3I
2017-01-13 15:16:52 -05:00
Kartikaya Gupta
1f97dac250
Back out 4 csets from bug 1326421 because of various test failures. r=backout
2017-01-13 17:07:59 -05:00
Kartikaya Gupta
a1fc730a16
Bug 1326421 - Update GL context creation code to use compositor-specific WebRender flag instead of a global pref. r=dvander
...
MozReview-Commit-ID: DQkGHCAxu3I
2017-01-13 15:16:52 -05:00
JerryShih
0d06f1859b
Bug 1329574 - try to create double-buffer for GLX gl context. r=jrmuizel?
...
Some FBConfigs do not have the double-buffer attribute. This patch adds one
more selection condition for the double-buffer.
MozReview-Commit-ID: 6QLpEXAi04X
2017-01-13 20:02:20 +08:00
JerryShih
00ecb7b7e6
Bug 1329574 - enable depth-buffer for GLX gl context. r=lsalzman
...
WebRender starts to use depth-buffer, but the default FBConfig doesn't have that.
This patch try to choose a compatible(same color bits) FBConfig with depth setting.
MozReview-Commit-ID: HgAEshdNsFs
2017-01-13 20:02:20 +08:00
sotaro
cb00bc0288
Bug 1320284
- Remove some MOZ_ENABLE_WEBRENDER r=nical?
2016-12-15 14:05:38 +09:00
sotaro
8726336a39
Bug 1320284
- Switch WebRender by Pref r=nical?
2016-12-04 17:40:52 +09:00
Mozilla Graphics Team
e82d29b96e
Bug 1317774 - Add gfx code needed to use WebRender in gecko. r=gfx
...
The overall architecture here is that we add a new layers type, LAYERS_WR,
which can be used in place of client layers. The WebRenderLayerManager, in
the EndTransaction call, paints content into images and ships them over the
PWebRenderBridge to the compositor thread. The WebRenderBridgeParent code on
the compositor side talks to WebRender via the API in webrender.h.
MozReview-Commit-ID: JKLTLJWVXiN
2016-11-16 08:54:51 -05:00
Lee Salzman
7052015439
Bug 1304195 - silence warnings from ScopedXErrorHandler when used off main thread if acknowledged. r=nical
...
MozReview-Commit-ID: 34LaghDR15f
2016-09-27 12:28:57 -04:00
Carsten "Tomcat" Book
ea2599961b
Backed out changeset 3eb2ceb66ec5 (bug 1304195) for static build bustage
2016-09-27 16:56:20 +02:00
Lee Salzman
bef76e271e
Bug 1304195 - silence warnings from ScopedXErrorHandler when used off main thread if acknowledged. r=nical
...
MozReview-Commit-ID: 34LaghDR15f
2016-09-27 10:35:17 -04:00
Ryan Hunt
ba1fc57c65
Bug 1289251 - Allow GLContextProviderGLX to create a GLContext out of process. r=acomminos,jgilbert
...
MozReview-Commit-ID: 9AdBGkEzI1n
--HG--
extra : rebase_source : 419b2b50f2f1ede60dbda4d527b637e8c44ffc91
2016-08-29 17:14:20 -07:00
Nicholas Nethercote
b71747b2ac
Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm.
...
The new name makes the sense of the condition much clearer. E.g. compare:
NS_WARN_IF_FALSE(!rv.Failed());
with:
NS_WARNING_ASSERTION(!rv.Failed());
The new name also makes it clearer that it only has effect in debug builds,
because that's standard for assertions.
--HG--
extra : rebase_source : 886e57a9e433e0cb6ed635cc075b34b7ebf81853
2016-09-01 15:01:16 +10:00
Botond Ballo
2af3f87bb6
Bug 1288686 - Avoid X11's |#define None 0L| intruding on other parts of the code. r=jrmuizel
...
MozReview-Commit-ID: 9rD0KLTLg7l
--HG--
extra : rebase_source : a537ba1913b6959e74fc4fcaf58f51f759cc5882
extra : source : 9278e13a7d664e787f763a7c21a32833700899e1
2016-08-29 16:51:43 -04:00
James Cheng
19a28705ea
Bug 1297315 - Fix Wmaybe-uninitialized warning and get rid of goto statement in GLContextProviderGLX.cpp and GfxTexturesReporter.cpp. r=jgilbert
...
MozReview-Commit-ID: AUjK7HhatX6
--HG--
extra : rebase_source : 3df07981fdd0f7cff9576cff8fecf955522294bf
2016-08-23 14:30:37 +08:00
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