Commit 22b3efbe authored by Rob Clark's avatar Rob Clark
Browse files

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: default avatarRob Clark <robclark@freedesktop.org>
parent c1f2d9b9
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment