OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1f2d9b
)
freedreno: add user ptr to fd_ringbuffer
author
Rob Clark
<robclark@freedesktop.org>
Mon, 18 Jun 2018 17:05:01 +0000
(13:05 -0400)
committer
Rob Clark
<robclark@freedesktop.org>
Mon, 18 Jun 2018 17:07:17 +0000
(13:07 -0400)
Something for users of fd_ringbuffer to use as they see fit. (For now,
just so mesa can add some debugging state.)
Signed-off-by: Rob Clark <robclark@freedesktop.org>
freedreno/freedreno_ringbuffer.h
patch
|
blob
|
history
diff --git
a/freedreno/freedreno_ringbuffer.h
b/freedreno/freedreno_ringbuffer.h
index
c501fba
..
0a3d6f7
100644
(file)
--- a/
freedreno/freedreno_ringbuffer.h
+++ b/
freedreno/freedreno_ringbuffer.h
@@
-47,6
+47,11
@@
struct fd_ringbuffer {
const struct fd_ringbuffer_funcs *funcs;
uint32_t last_timestamp;
struct fd_ringbuffer *parent;
+
+ /* for users of fd_ringbuffer to store their own private per-
+ * ringbuffer data
+ */
+ void *user;
};
struct fd_ringbuffer * fd_ringbuffer_new(struct fd_pipe *pipe,