summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/auxiliary/renderonly/renderonly.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2021-07-22 10:50:50 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2021-07-22 10:50:50 +0000
commit9130ec005fbc78a62420643414d8354d0929ca50 (patch)
tree6762777acdd2d4eee17ef87290e80dc7afe2b73d /lib/mesa/src/gallium/auxiliary/renderonly/renderonly.c
parentca11beabae33eb59fb981b8adf50b1d47a2a98f0 (diff)
Merge Mesa 21.1.5
Diffstat (limited to 'lib/mesa/src/gallium/auxiliary/renderonly/renderonly.c')
-rw-r--r--lib/mesa/src/gallium/auxiliary/renderonly/renderonly.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/lib/mesa/src/gallium/auxiliary/renderonly/renderonly.c b/lib/mesa/src/gallium/auxiliary/renderonly/renderonly.c
index bfb6b758f..00c8a7eeb 100644
--- a/lib/mesa/src/gallium/auxiliary/renderonly/renderonly.c
+++ b/lib/mesa/src/gallium/auxiliary/renderonly/renderonly.c
@@ -31,26 +31,12 @@
#include <stdio.h>
#include <xf86drm.h>
-#include "state_tracker/drm_driver.h"
+#include "frontend/drm_driver.h"
#include "pipe/p_screen.h"
#include "util/format/u_format.h"
#include "util/u_inlines.h"
#include "util/u_memory.h"
-struct renderonly *
-renderonly_dup(const struct renderonly *ro)
-{
- struct renderonly *copy;
-
- copy = CALLOC_STRUCT(renderonly);
- if (!copy)
- return NULL;
-
- memcpy(copy, ro, sizeof(*ro));
-
- return copy;
-}
-
void
renderonly_scanout_destroy(struct renderonly_scanout *scanout,
struct renderonly *ro)