diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2021-07-22 10:50:50 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2021-07-22 10:50:50 +0000 |
commit | 9130ec005fbc78a62420643414d8354d0929ca50 (patch) | |
tree | 6762777acdd2d4eee17ef87290e80dc7afe2b73d /lib/mesa/src/gallium/auxiliary/renderonly/renderonly.h | |
parent | ca11beabae33eb59fb981b8adf50b1d47a2a98f0 (diff) |
Merge Mesa 21.1.5
Diffstat (limited to 'lib/mesa/src/gallium/auxiliary/renderonly/renderonly.h')
-rw-r--r-- | lib/mesa/src/gallium/auxiliary/renderonly/renderonly.h | 6 |
1 files changed, 2 insertions, 4 deletions
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 <stdint.h> -#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, |