mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 07:00:11 +01:00
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>
This commit is contained in:
parent
c1f2d9b900
commit
22b3efbe9b
1 changed files with 5 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue