From 9130ec005fbc78a62420643414d8354d0929ca50 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Thu, 22 Jul 2021 10:50:50 +0000 Subject: Merge Mesa 21.1.5 --- lib/mesa/src/gallium/auxiliary/renderonly/renderonly.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/mesa/src/gallium/auxiliary/renderonly/renderonly.h') diff --git a/lib/mesa/src/gallium/auxiliary/renderonly/renderonly.h b/lib/mesa/src/gallium/auxiliary/renderonly/renderonly.h index a8d6a686e..0d08a16e3 100644 --- a/lib/mesa/src/gallium/auxiliary/renderonly/renderonly.h +++ b/lib/mesa/src/gallium/auxiliary/renderonly/renderonly.h @@ -28,7 +28,7 @@ #define RENDERONLY_H #include -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "pipe/p_state.h" struct renderonly_scanout { @@ -59,13 +59,11 @@ struct renderonly { struct renderonly_scanout *(*create_for_resource)(struct pipe_resource *rsc, struct renderonly *ro, struct winsys_handle *out_handle); + void (*destroy)(struct renderonly *ro); int kms_fd; int gpu_fd; }; -struct renderonly * -renderonly_dup(const struct renderonly *ro); - static inline struct renderonly_scanout * renderonly_scanout_for_resource(struct pipe_resource *rsc, struct renderonly *ro, -- cgit v1.2.3