glx/meson: use full include path for dri_interface.h
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 5 Mar 2019 11:09:13 +0000 (11:09 +0000)
committerEric Engestrom <eric@engestrom.ch>
Fri, 8 Mar 2019 18:00:19 +0000 (18:00 +0000)
Everything else uses `#include "GL/internal/dri_interface.h"` instead,
and this full path was even already used in other parts of GLX.

While at it, nothing uses `inc_gl_internal` anymore so let's remove it
as well.

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Tested-by: Clayton Craft <clayton.a.craft@intel.com>
include/meson.build
src/glx/dri_common_interop.c
src/glx/dri_common_query_renderer.c
src/glx/meson.build
src/glx/tests/meson.build
src/glx/tests/query_renderer_implementation_unittest.cpp

index aaeec1293f038e3a3cdfbc9118360a6d05f2bb2d..03168e6d8026d2f85df7588d885bdf6b8992cd8c 100644 (file)
@@ -20,7 +20,6 @@
 
 inc_include = include_directories('.')
 inc_d3d9 = include_directories('D3D9')
-inc_gl_internal = include_directories('GL/internal')
 inc_haikugl = include_directories('HaikuGL')
 
 if with_gles1
index 85538c635992a2efd7b8ab50920ea093660b1595..2d4fc3d3e620e5577427578739ee2875b7922591 100644 (file)
@@ -25,7 +25,7 @@
 
 #include "glxclient.h"
 #include "glx_error.h"
-#include "dri_interface.h"
+#include "GL/internal/dri_interface.h"
 #include "dri2_priv.h"
 #if defined(HAVE_DRI3)
 #include "dri3_priv.h"
index ebeedc9c03755fb0ab04adce0f49beb9480bf9d3..672e3bf314a5cd0972025e7586a77057ae2cea78 100644 (file)
@@ -25,7 +25,7 @@
 
 #include "glxclient.h"
 #include "glx_error.h"
-#include "dri_interface.h"
+#include "GL/internal/dri_interface.h"
 #include "dri2_priv.h"
 #if defined(HAVE_DRI3)
 #include "dri3_priv.h"
index 061e026e53f22dc9db8b94b5e5402cc0c51b06bc..0e3245a254f0e361b450a284f4e6b772fa96a72d 100644 (file)
@@ -139,7 +139,7 @@ gl_lib_cargs = [
 libglx = static_library(
   'glx',
   [files_libglx, glx_generated],
-  include_directories : [inc_common, inc_glapi, inc_loader, inc_gl_internal],
+  include_directories : [inc_common, inc_glapi, inc_loader],
   c_args : [
     c_vis_args, gl_lib_cargs,
     '-DGL_LIB_NAME="lib@0@.so.@1@"'.format(gl_lib_name, gl_lib_version.split('.')[0]),
index 68e1ca59c22aee4b4a624b35bd3ef2a6d4b784d2..83f04e47b2aba7de3df6b697b67d82aeb4c7fe79 100644 (file)
@@ -45,8 +45,7 @@ if with_shared_glapi
       [files_glx_test, glx_indirect_size_h, main_dispatch_h],
       link_with : [libglx, libglapi],
       include_directories : [
-        inc_src, inc_include, inc_mesa, inc_mapi, inc_gl_internal,
-        inc_glx,
+        inc_src, inc_include, inc_mesa, inc_mapi, inc_glx,
       ],
       dependencies : [dep_libdrm, dep_glproto, dep_thread, idep_gtest]
     ),
index c3f5cc7214ac037fe392242b460964d4b39abcd6..cf5fe16b39891b7a40afebb49872f5aea9f6709c 100644 (file)
@@ -29,7 +29,7 @@
 #include "glxclient.h"
 #include "glx_error.h"
 #include "dri2.h"
-#include "dri_interface.h"
+#include "GL/internal/dri_interface.h"
 #include "dri2_priv.h"
 
 struct attribute_test_vector {