summaryrefslogtreecommitdiff
path: root/include/GL
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2022-01-26 14:10:34 -0500
committerMarge Bot <emma+marge@anholt.net>2022-01-26 23:56:16 +0000
commit6c984b14694a60c5379d07dd444659f2246e7a89 (patch)
treef7673eb7ab77ebc9a26613b4b02025f779393b8e /include/GL
parent57445adc89186fcadc1e6006d1aa32768b26556b (diff)
downloadmesa-6c984b14694a60c5379d07dd444659f2246e7a89.tar.gz
mesa-6c984b14694a60c5379d07dd444659f2246e7a89.tar.bz2
mesa-6c984b14694a60c5379d07dd444659f2246e7a89.zip
dri_interface: Remove the remaining DRI1 API definitions
None of these are used anymore, and as a bonus we can drop the dance around the libdrm headers. Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14738>
Diffstat (limited to 'include/GL')
-rw-r--r--include/GL/internal/dri_interface.h73
1 files changed, 0 insertions, 73 deletions
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h
index 5e06912ffb5..10ce61e8eda 100644
--- a/include/GL/internal/dri_interface.h
+++ b/include/GL/internal/dri_interface.h
@@ -40,14 +40,6 @@
#ifndef DRI_INTERFACE_H
#define DRI_INTERFACE_H
-#ifdef HAVE_LIBDRM
-#include <drm.h>
-#else
-typedef unsigned int drm_context_t;
-typedef unsigned int drm_drawable_t;
-typedef struct drm_clip_rect drm_clip_rect_t;
-#endif
-
#include <stdint.h>
/**
@@ -528,36 +520,6 @@ struct __DRIsystemTimeExtensionRec {
void *loaderPrivate);
};
-/**
- * Damage reporting
- */
-#define __DRI_DAMAGE "DRI_Damage"
-#define __DRI_DAMAGE_VERSION 1
-struct __DRIdamageExtensionRec {
- __DRIextension base;
-
- /**
- * Reports areas of the given drawable which have been modified by the
- * driver.
- *
- * \param drawable which the drawing was done to.
- * \param rects rectangles affected, with the drawable origin as the
- * origin.
- * \param x X offset of the drawable within the screen (used in the
- * front_buffer case)
- * \param y Y offset of the drawable within the screen.
- * \param front_buffer boolean flag for whether the drawing to the
- * drawable was actually done directly to the front buffer (instead
- * of backing storage, for example)
- * \param loaderPrivate the data passed in at createNewDrawable time
- */
- void (*reportDamage)(__DRIdrawable *draw,
- int x, int y,
- drm_clip_rect_t *rects, int num_rects,
- unsigned char front_buffer,
- void *loaderPrivate);
-};
-
#define __DRI_SWRAST_IMAGE_OP_DRAW 1
#define __DRI_SWRAST_IMAGE_OP_CLEAR 2
#define __DRI_SWRAST_IMAGE_OP_SWAP 3
@@ -894,41 +856,6 @@ struct __DRIframebufferRec {
/**
* This extension provides alternative screen, drawable and context
- * constructors for legacy DRI functionality. This is used in
- * conjunction with the core extension.
- */
-#define __DRI_LEGACY "DRI_Legacy"
-#define __DRI_LEGACY_VERSION 1
-
-struct __DRIlegacyExtensionRec {
- __DRIextension base;
-
- __DRIscreen *(*createNewScreen)(int screen,
- const __DRIversion *ddx_version,
- const __DRIversion *dri_version,
- const __DRIversion *drm_version,
- const __DRIframebuffer *frame_buffer,
- void *pSAREA, int fd,
- const __DRIextension **extensions,
- const __DRIconfig ***driver_configs,
- void *loaderPrivate);
-
- __DRIdrawable *(*createNewDrawable)(__DRIscreen *screen,
- const __DRIconfig *config,
- drm_drawable_t hwDrawable,
- int renderType, const int *attrs,
- void *loaderPrivate);
-
- __DRIcontext *(*createNewContext)(__DRIscreen *screen,
- const __DRIconfig *config,
- int render_type,
- __DRIcontext *shared,
- drm_context_t hwContext,
- void *loaderPrivate);
-};
-
-/**
- * This extension provides alternative screen, drawable and context
* constructors for swrast DRI functionality. This is used in
* conjunction with the core extension.
*/