aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Hellstrom <[email protected]>2017-06-28 08:31:56 +0200
committerThomas Hellstrom <[email protected]>2017-08-17 07:39:42 +0200
commit74b4cdd80abc3d01d30125c5921f1bb4deeb0ddb (patch)
treebd66149e1b390d14f45b3875007db6fead23dbec
parent16d1a0bcdbfa376232e552a3382ee2a8751743a5 (diff)
loader_dri3: Remove buffer_type from buffer metadata
It's not used anywhere and now that we're about to exchange back- and fake fronts it doesn't serve a purpose. Signed-off-by: Thomas Hellstrom <[email protected]> Reviewed-by: Michel Dänzer <[email protected]>
-rw-r--r--src/loader/loader_dri3_helper.c2
-rw-r--r--src/loader/loader_dri3_helper.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/loader/loader_dri3_helper.c b/src/loader/loader_dri3_helper.c
index 2207b7543b9..67dabe0593f 100644
--- a/src/loader/loader_dri3_helper.c
+++ b/src/loader/loader_dri3_helper.c
@@ -1289,7 +1289,6 @@ dri3_get_pixmap_buffer(__DRIdrawable *driDrawable, unsigned int format,
buffer->own_pixmap = false;
buffer->width = bp_reply->width;
buffer->height = bp_reply->height;
- buffer->buffer_type = buffer_type;
buffer->shm_fence = shm_fence;
buffer->sync_fence = sync_fence;
@@ -1399,7 +1398,6 @@ dri3_get_buffer(__DRIdrawable *driDrawable,
break;
}
buffer = new_buffer;
- buffer->buffer_type = buffer_type;
draw->buffers[buf_id] = buffer;
}
dri3_fence_await(draw->conn, buffer);
diff --git a/src/loader/loader_dri3_helper.h b/src/loader/loader_dri3_helper.h
index cd9e8286792..1a7d44dc1da 100644
--- a/src/loader/loader_dri3_helper.h
+++ b/src/loader/loader_dri3_helper.h
@@ -67,8 +67,6 @@ struct loader_dri3_buffer {
uint32_t flags;
uint32_t width, height;
uint64_t last_swap;
-
- enum loader_dri3_buffer_type buffer_type;
};