gbm: Don't look up the DRI2_FENCE extension.
authorEmma Anholt <emma@anholt.net>
Wed, 30 Nov 2022 23:46:38 +0000 (15:46 -0800)
committerMarge Bot <emma+marge@anholt.net>
Fri, 9 Dec 2022 05:32:18 +0000 (05:32 +0000)
It's optional, and nothing references it.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20171>

src/gbm/backends/dri/gbm_dri.c
src/gbm/backends/dri/gbm_driint.h

index 11a6ba9..368d325 100644 (file)
@@ -289,7 +289,6 @@ static const __DRIextension *gbm_dri_screen_extensions[] = {
 static struct dri_extension_match dri_core_extensions[] = {
    { __DRI2_FLUSH, 1, offsetof(struct gbm_dri_device, flush), false },
    { __DRI_IMAGE, 6, offsetof(struct gbm_dri_device, image), false },
-   { __DRI2_FENCE, 1, offsetof(struct gbm_dri_device, fence), true },
 };
 
 static struct dri_extension_match gbm_dri_device_extensions[] = {
index 383a1fc..def6deb 100644 (file)
@@ -74,7 +74,6 @@ struct gbm_dri_device {
    const __DRIcoreExtension   *core;
    const __DRImesaCoreExtension   *mesa;
    const __DRIdri2Extension   *dri2;
-   const __DRI2fenceExtension *fence;
    const __DRIimageExtension  *image;
    const __DRIswrastExtension *swrast;
    const __DRIkopperExtension *kopper;