freedreno: add user ptr to fd_ringbuffer
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>main
parent
c1f2d9b900
commit
22b3efbe9b
|
@ -47,6 +47,11 @@ struct fd_ringbuffer {
|
||||||
const struct fd_ringbuffer_funcs *funcs;
|
const struct fd_ringbuffer_funcs *funcs;
|
||||||
uint32_t last_timestamp;
|
uint32_t last_timestamp;
|
||||||
struct fd_ringbuffer *parent;
|
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,
|
struct fd_ringbuffer * fd_ringbuffer_new(struct fd_pipe *pipe,
|
||||||
|
|
Loading…
Reference in New Issue