diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/glx/Makefile.am | 6 | ||||
-rw-r--r-- | src/glx/dri2.h | 16 | ||||
-rw-r--r-- | src/glx/dri2_priv.h | 8 | ||||
-rw-r--r-- | src/glx/dri3_priv.h | 9 | ||||
-rw-r--r-- | src/glx/dri_common_query_renderer.c (renamed from src/glx/dri2_query_renderer.c) | 1 |
5 files changed, 20 insertions, 20 deletions
diff --git a/src/glx/Makefile.am b/src/glx/Makefile.am index cdd898efc87..451531237f9 100644 --- a/src/glx/Makefile.am +++ b/src/glx/Makefile.am @@ -96,7 +96,8 @@ endif if HAVE_DRICOMMON libglx_la_SOURCES += \ xfont.c \ - dri_common.c + dri_common.c \ + dri_common_query_renderer.c endif if HAVE_DRI2 @@ -104,8 +105,7 @@ libglx_la_SOURCES += \ dri_glx.c \ XF86dri.c \ dri2_glx.c \ - dri2.c \ - dri2_query_renderer.c + dri2.c endif if HAVE_DRI3 diff --git a/src/glx/dri2.h b/src/glx/dri2.h index d07b2968fd9..4be5bf8eb8e 100644 --- a/src/glx/dri2.h +++ b/src/glx/dri2.h @@ -88,20 +88,4 @@ DRI2CopyRegion(Display * dpy, XID drawable, XserverRegion region, CARD32 dest, CARD32 src); -_X_HIDDEN int -dri2_query_renderer_integer(struct glx_screen *base, int attribute, - unsigned int *value); - -_X_HIDDEN int -dri2_query_renderer_string(struct glx_screen *base, int attribute, - const char **value); - -_X_HIDDEN int -dri3_query_renderer_integer(struct glx_screen *base, int attribute, - unsigned int *value); - -_X_HIDDEN int -dri3_query_renderer_string(struct glx_screen *base, int attribute, - const char **value); - #endif diff --git a/src/glx/dri2_priv.h b/src/glx/dri2_priv.h index c21eee5b43d..b93d1587aae 100644 --- a/src/glx/dri2_priv.h +++ b/src/glx/dri2_priv.h @@ -50,3 +50,11 @@ struct dri2_screen { int show_fps_interval; }; + +_X_HIDDEN int +dri2_query_renderer_integer(struct glx_screen *base, int attribute, + unsigned int *value); + +_X_HIDDEN int +dri2_query_renderer_string(struct glx_screen *base, int attribute, + const char **value); diff --git a/src/glx/dri3_priv.h b/src/glx/dri3_priv.h index c0e35ee4bbf..248fa28dfc2 100644 --- a/src/glx/dri3_priv.h +++ b/src/glx/dri3_priv.h @@ -195,3 +195,12 @@ struct dri3_drawable { xcb_gcontext_t gc; xcb_special_event_t *special_event; }; + + +_X_HIDDEN int +dri3_query_renderer_integer(struct glx_screen *base, int attribute, + unsigned int *value); + +_X_HIDDEN int +dri3_query_renderer_string(struct glx_screen *base, int attribute, + const char **value); diff --git a/src/glx/dri2_query_renderer.c b/src/glx/dri_common_query_renderer.c index 247ec1ca6bd..d598b125127 100644 --- a/src/glx/dri2_query_renderer.c +++ b/src/glx/dri_common_query_renderer.c @@ -25,7 +25,6 @@ #include "glxclient.h" #include "glx_error.h" -#include "dri2.h" #include "dri_interface.h" #include "dri2_priv.h" #if defined(HAVE_DRI3) |