x11: Move loader_x11.c/h to x11_dri3.c/h
That's more descriptive of what they actually are. Reviewed-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36123>
This commit is contained in:
committed by
Marge Bot
parent
4f6e0e612e
commit
b8ef9bfbf5
@@ -58,7 +58,7 @@
|
||||
|
||||
#ifdef HAVE_X11_PLATFORM
|
||||
#include "X11/Xlibint.h"
|
||||
#include "loader_x11.h"
|
||||
#include "x11_dri3.h"
|
||||
#endif
|
||||
|
||||
#include "GL/mesa_glinterop.h"
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
#include "util/log.h"
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include "loader_x11.h"
|
||||
#include "x11_dri3.h"
|
||||
#include "kopper_interface.h"
|
||||
#include "loader.h"
|
||||
#include "platform_x11.h"
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#include "platform_x11_dri3.h"
|
||||
|
||||
#include "loader.h"
|
||||
#include "loader_x11.h"
|
||||
#include "x11_dri3.h"
|
||||
#include "loader_dri3_helper.h"
|
||||
|
||||
static struct dri3_egl_surface *
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#include <X11/Xlib-xcb.h>
|
||||
#include "gallium/drivers/zink/zink_kopper.h"
|
||||
#include <vulkan/vulkan_xcb.h>
|
||||
#include "x11/loader_x11.h"
|
||||
#include "x11/x11_dri3.h"
|
||||
#endif
|
||||
#include "zink_public.h"
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
#include "dri_common.h"
|
||||
#include "dri3_priv.h"
|
||||
#include "loader.h"
|
||||
#include "loader_x11.h"
|
||||
#include "x11_dri3.h"
|
||||
#include "loader_dri_helper.h"
|
||||
#include "util/u_debug.h"
|
||||
#include "dri_util.h"
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#include "dri_common.h"
|
||||
#endif
|
||||
|
||||
#include "loader_x11.h"
|
||||
#include "x11_dri3.h"
|
||||
#ifdef HAVE_LIBDRM
|
||||
#include "loader_dri3_helper.h"
|
||||
#endif
|
||||
|
||||
@@ -6,7 +6,7 @@ inc_loader_x11 = include_directories('.')
|
||||
if with_dri_platform == 'drm'
|
||||
libloader_x11 = static_library(
|
||||
'loader_x11',
|
||||
'loader_x11.c',
|
||||
'x11_dri3.c',
|
||||
gnu_symbol_visibility : 'hidden',
|
||||
include_directories : [inc_include, inc_src, inc_gallium],
|
||||
dependencies : [
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
* OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "x11_dri3.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
#include <fcntl.h>
|
||||
@@ -29,7 +31,7 @@
|
||||
#include <xcb/dri3.h>
|
||||
#include <xcb/present.h>
|
||||
#include <xcb/xfixes.h>
|
||||
#include "loader_x11.h"
|
||||
|
||||
/** x11_dri3_open
|
||||
*
|
||||
* Wrapper around xcb_dri3_open
|
||||
@@ -26,6 +26,8 @@
|
||||
|
||||
#include <xcb/xcb.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
int x11_dri3_open(xcb_connection_t *conn, xcb_window_t root, uint32_t provider);
|
||||
bool x11_dri3_has_multibuffer(xcb_connection_t *c);
|
||||
|
||||
Reference in New Issue
Block a user