mesa/src/glx
Eric Anholt edc7deec42 dri3: Return the current swap interval from glXGetSwapIntervalMESA().
We were caching only the value set with glXSwapIntervalSGI(), missing out
on the default setting of the swap interval by the loader.  This fixes
glxgears's warning about being vblank synchronized by default.

Fixes: 9777c4234b ("loader: drop the [gs]et_swap_interval callbacks")
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2019-04-01 16:06:38 -07:00
..
apple apple/glx/log: added missing va_end() after va_copy() 2018-09-06 17:33:27 +01:00
tests glx/meson: use full include path for dri_interface.h 2019-03-08 18:00:19 +00:00
windows autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
.gitignore Clean up .gitignore files 2013-01-10 22:01:31 +01:00
applegl_glx.c Fix build of appleglx 2014-05-23 15:24:07 +01:00
clientattrib.c glx: Check malloc return value before accessing memory in glx/clientattrib.c 2013-12-03 14:35:41 -07:00
clientinfo.c glx: Add missing null check in __glX_send_client_info() 2014-02-07 08:14:05 -07:00
compsize.c glx: Fix image size computation for EXT_texture_integer (v2) 2015-07-31 12:32:16 -04:00
create_context.c Revert "glx: Implement GLX_EXT_no_config_context (v2)" 2017-11-09 11:41:14 -05:00
dri2.c glx: remove DRI2DriverPrimeShift compile guards 2017-02-13 10:13:46 +00:00
dri2.h glx: Fix build since 679c2ef "glx/drisw: add support for DRI2rendererQueryExtension", when only building drisw renderer 2014-08-21 16:59:48 +01:00
dri2_glx.c glx: add support for GLX_ARB_create_context_no_error (v3) 2019-03-12 19:12:21 -04:00
dri2_priv.h glx: Add missing include guards 2018-10-30 06:19:10 -06:00
dri3_glx.c dri3: Return the current swap interval from glXGetSwapIntervalMESA(). 2019-04-01 16:06:38 -07:00
dri3_priv.h dri3: Return the current swap interval from glXGetSwapIntervalMESA(). 2019-04-01 16:06:38 -07:00
dri_common.c glx: add support for GLX_ARB_create_context_no_error (v3) 2019-03-12 19:12:21 -04:00
dri_common.h glx: add support for GLX_ARB_create_context_no_error (v3) 2019-03-12 19:12:21 -04:00
dri_common_interop.c glx/meson: use full include path for dri_interface.h 2019-03-08 18:00:19 +00:00
dri_common_query_renderer.c glx/meson: use full include path for dri_interface.h 2019-03-08 18:00:19 +00:00
dri_glx.c glx: Move DRI extensions pointer loading to driOpenDriver(). 2018-11-16 15:38:18 -08:00
dri_sarea.h include: move sarea.h next to it's only user 2014-08-21 21:47:37 +01:00
drisw_glx.c glx: add support for GLX_ARB_create_context_no_error (v3) 2019-03-12 19:12:21 -04:00
drisw_priv.h glx: Add missing include guards 2018-10-30 06:19:10 -06:00
driwindows_glx.c glx: use ARRAY_SIZE macro 2017-09-08 10:29:40 +01:00
eval.c Retire miniglx and move the actual glx code up to src/glx 2010-02-09 09:58:36 -05:00
g_glxglvnddispatchfuncs.c glx: fix non-dri build 2018-01-16 16:27:19 +00:00
g_glxglvnddispatchindices.h glxglvnddispatch: Add missing dispatch for GetDriverConfig 2017-05-17 20:02:18 +02:00
glx_error.c glx: Don't use current context in __glXSendError 2016-08-17 17:16:34 +09:00
glx_error.h glx: Add missing include guards 2018-10-30 06:19:10 -06:00
glx_pbuffer.c glx: Prepare driFetchDrawable for no-config contexts 2017-12-01 15:53:52 -05:00
glx_query.c glx: Unifdef USE_XCB. 2012-10-09 14:32:02 -07:00
glxclient.h glx: add support for GLX_ARB_create_context_no_error (v3) 2019-03-12 19:12:21 -04:00
glxcmds.c glx: Fix compilation with GLX_USE_WINDOWSGL 2018-12-15 13:49:24 +00:00
glxconfig.c glx: Remove #include <GL/glxint.h> 2017-03-28 14:48:12 -04:00
glxconfig.h glx/dri: add initial dri interface for GLX_EXT_framebuffer_sRGB. 2011-03-06 20:06:42 +10:00
glxcurrent.c glx: Don't allow glXMakeContextCurrent() with only one valid drawable 2018-07-09 12:03:18 -04:00
glxext.c glx: be explicit about when mapping X <> GLX visuals 2018-11-01 00:05:43 +00:00
glxextensions.c glx: add support for GLX_ARB_create_context_no_error (v3) 2019-03-12 19:12:21 -04:00
glxextensions.h glx: add support for GLX_ARB_create_context_no_error (v3) 2019-03-12 19:12:21 -04:00
glxglvnd.c glx/glvnd: Use bsearch() in FindGLXFunction instead of open-coding it 2016-11-02 14:52:43 -04:00
glxglvnd.h glx: Implement the libglvnd interface. 2016-05-30 16:29:49 +01:00
glxglvnddispatchfuncs.h glx: Implement the libglvnd interface. 2016-05-30 16:29:49 +01:00
glxhash.c Retire miniglx and move the actual glx code up to src/glx 2010-02-09 09:58:36 -05:00
glxhash.h Retire miniglx and move the actual glx code up to src/glx 2010-02-09 09:58:36 -05:00
indirect_glx.c glx: Lower GLX opcode lookup into SendMakeCurrentRequest 2017-11-13 10:39:33 -05:00
indirect_init.h Fix invalid extern "C" around header inclusion. 2015-03-05 10:21:40 -08:00
indirect_texture_compression.c mesa: Standardize names of OpenGL functions. 2012-11-12 10:53:57 -08:00
indirect_transpose_matrix.c mesa: Standardize names of OpenGL functions. 2012-11-12 10:53:57 -08:00
indirect_vertex_array.c glx: Fix for commit 2c86668694. 2016-07-08 16:46:17 -07:00
indirect_vertex_array.h Retire miniglx and move the actual glx code up to src/glx 2010-02-09 09:58:36 -05:00
indirect_vertex_array_priv.h glx: Fix indirect multi-texture GL_DOUBLE coordinate arrays. 2016-07-08 14:03:16 -07:00
indirect_vertex_program.c mesa: Standardize names of OpenGL functions. 2012-11-12 10:53:57 -08:00
indirect_window_pos.c mesa: Standardize names of OpenGL functions. 2012-11-12 10:53:57 -08:00
Makefile.am glx: make xf86vidmode mandatory for direct rendering 2018-11-20 11:13:20 +00:00
meson.build glx/meson: use full include path for dri_interface.h 2019-03-08 18:00:19 +00:00
packrender.h glx: Avoid aliasing violations. 2016-07-26 12:12:27 -07:00
packsingle.h glx: Avoid aliasing violations. 2016-07-26 12:12:27 -07:00
pixel.c glx: Rename __GLXcontext and __GLXdisplayPrivate to struct types. 2010-07-28 16:45:25 -04:00
pixelstore.c glx: Use _mesa_lroundevenf() in glPixelStoref(). 2015-08-04 10:33:16 -07:00
query_renderer.c glx: fix error code when there is no context bound 2016-08-15 09:24:10 +03:00
render2.c Fix build of appleglx 2014-05-23 15:24:07 +01:00
renderpix.c Don't cast the return value of malloc/realloc 2012-09-05 22:28:50 -07:00
SConscript glx: make xf86vidmode mandatory for direct rendering 2018-11-20 11:13:20 +00:00
single2.c Fix a few typos 2015-04-27 17:28:29 +03:00
singlepix.c mesa: remove empty glthread.h file 2014-03-03 13:08:59 -07:00
vertarr.c Fix build of appleglx 2014-05-23 15:24:07 +01:00
XF86dri.c Fix a few typos 2015-04-27 17:28:29 +03:00
xf86dri.h s/Tungsten Graphics/VMware/ 2014-01-17 20:00:32 +00:00
xf86dristr.h s/Tungsten Graphics/VMware/ 2014-01-17 20:00:32 +00:00
xfont.c darwin: build fix 2015-02-10 22:22:33 -08:00