treewide: Include mesa_interface.h not dri_interface.h

We're about to split the latter off as a compatibility detail for older
versions of Xorg, and the former includes the latter at this point, so
this should be just to prove no functional change.

Acked-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28378>
This commit is contained in:
Adam Jackson
2024-03-24 08:55:07 -04:00
committed by Marge Bot
parent 3c48fd8a6d
commit 6be17e222d
18 changed files with 22 additions and 23 deletions

View File

@@ -34,7 +34,7 @@
#ifndef KOPPER_INTERFACE_H
#define KOPPER_INTERFACE_H
#include <GL/internal/dri_interface.h>
#include <GL/internal/mesa_interface.h>
#include <vulkan/vulkan_core.h>
typedef struct __DRIkopperExtensionRec __DRIkopperExtension;

View File

@@ -42,7 +42,7 @@
#include "drm-uapi/drm_fourcc.h"
#endif
#include <GL/gl.h>
#include <GL/internal/dri_interface.h>
#include <GL/internal/mesa_interface.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "dri_screen.h"
@@ -2711,7 +2711,7 @@ dri2_query_dma_buf_formats(_EGLDisplay *disp, EGLint max, EGLint *formats,
if (max > 0) {
/* Assert that all of the formats returned are actually fourcc formats.
* Some day, if we want the internal interface function to be able to
* return the fake fourcc formats defined in dri_interface.h, we'll have
* return the fake fourcc formats defined in mesa_interface.h, we'll have
* to do something more clever here to pair the list down to just real
* fourcc formats so that we don't leak the fake internal ones.
*/

View File

@@ -59,7 +59,7 @@ struct zwp_linux_dmabuf_feedback_v1;
#endif
#include <GL/gl.h>
#include <GL/internal/dri_interface.h>
#include <GL/internal/mesa_interface.h>
#include <GL/internal/mesa_interface.h>
#include "kopper_interface.h"

View File

@@ -29,7 +29,7 @@
#include <stdbool.h>
#include <stdint.h>
#include <GL/internal/dri_interface.h>
#include <GL/internal/mesa_interface.h>
#include "egl_dri2.h"

View File

@@ -35,7 +35,7 @@
#define _DRI_UTIL_H_
#include <GL/gl.h>
#include <GL/internal/dri_interface.h>
#include <GL/internal/mesa_interface.h>
#include "kopper_interface.h"
#include "main/formats.h"
#include "main/glconfig.h"

View File

@@ -41,8 +41,8 @@
#include <xf86drm.h>
#include "drm-uapi/drm_fourcc.h"
#include <GL/gl.h> /* dri_interface needs GL types */
#include <GL/internal/dri_interface.h>
#include <GL/gl.h> /* mesa_interface needs GL types */
#include <GL/internal/mesa_interface.h>
#include "gbm_driint.h"

View File

@@ -34,8 +34,8 @@
#include "gbmint.h"
#include "c11/threads.h"
#include <GL/gl.h> /* dri_interface needs GL types */
#include "GL/internal/dri_interface.h"
#include <GL/gl.h> /* mesa_interface needs GL types */
#include "GL/internal/mesa_interface.h"
#include "GL/internal/mesa_interface.h"
#include "kopper_interface.h"

View File

@@ -38,7 +38,7 @@
#ifdef GLX_DIRECT_RENDERING
#include <GL/internal/dri_interface.h>
#include <GL/internal/mesa_interface.h>
#include <stdbool.h>
#include "loader.h"
#include "util/macros.h" /* for PRINTFLIKE */

View File

@@ -25,7 +25,7 @@
#include "glxclient.h"
#include "glx_error.h"
#include "GL/internal/dri_interface.h"
#include "GL/internal/mesa_interface.h"
#include "dri2_priv.h"
#if defined(HAVE_DRI3)
#include "dri3_priv.h"

View File

@@ -25,7 +25,7 @@
#include "glxclient.h"
#include "glx_error.h"
#include "GL/internal/dri_interface.h"
#include "GL/internal/mesa_interface.h"
#include "dri2_priv.h"
#if defined(HAVE_DRI3)
#include "dri3_priv.h"

View File

@@ -29,7 +29,7 @@
#include "glxclient.h"
#include "glx_error.h"
#include "dri2.h"
#include "GL/internal/dri_interface.h"
#include "GL/internal/mesa_interface.h"
#include "dri2_priv.h"
namespace {

View File

@@ -45,7 +45,6 @@
#include <sys/sysmacros.h>
#endif
#include <GL/gl.h>
#include <GL/internal/dri_interface.h>
#include <GL/internal/mesa_interface.h>
#include "loader.h"
#include "util/libdrm.h"

View File

@@ -30,7 +30,7 @@
#include <stdbool.h>
#include <sys/stat.h>
#include <stddef.h>
#include "GL/internal/dri_interface.h"
#include "GL/internal/mesa_interface.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -32,7 +32,7 @@
#include <xcb/present.h>
#include <GL/gl.h>
#include <GL/internal/dri_interface.h>
#include <GL/internal/mesa_interface.h>
#include <c11/threads.h>
enum loader_dri3_buffer_type {

View File

@@ -23,8 +23,8 @@
#include <stdio.h>
#include <sys/types.h>
#include <GL/gl.h> /* dri_interface needs GL types */
#include <GL/internal/dri_interface.h>
#include <GL/gl.h> /* mesa_interface needs GL types */
#include <GL/internal/mesa_interface.h>
#include "drm-uapi/drm_fourcc.h"
#include "loader_dri_helper.h"

View File

@@ -24,8 +24,8 @@
#include <stdbool.h>
#include <sys/types.h>
#include <GL/gl.h> /* dri_interface needs GL types */
#include <GL/internal/dri_interface.h>
#include <GL/gl.h> /* mesa_interface needs GL types */
#include <GL/internal/mesa_interface.h>
#include <c11/threads.h>
#include "util/format/u_formats.h"

View File

@@ -25,7 +25,7 @@
* Chia-I Wu <olv@lunarg.com>
*/
#include <GL/internal/dri_interface.h>
#include <GL/internal/mesa_interface.h>
#include "main/errors.h"
#include "main/texobj.h"
#include "main/teximage.h"

View File

@@ -17,7 +17,7 @@ extern "C" {
#include <stdbool.h>
#include "util/macros.h"
#include "GL/internal/dri_interface.h"
#include "GL/internal/mesa_interface.h"
struct u_gralloc;