diff options
author | Dave Airlie <[email protected]> | 2009-10-14 15:13:25 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-10-14 15:13:25 +1000 |
commit | 210481ae16e966865dcf9f1fd5f5dfabf4dc28bc (patch) | |
tree | 98a2964441d45a93b7e80effd11fed2ed892a92a /src/gallium/drivers/r300/r300_winsys.h | |
parent | 23c0c820e2767324546d450d2a7aa7bf1f70c36f (diff) |
r300g: attempt to make bo space check sane.
This attempts to make r300g do proper bo space checking as opposed
to whatever it was doing now.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300/r300_winsys.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_winsys.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_winsys.h b/src/gallium/drivers/r300/r300_winsys.h index f18ad75a47d..540f8eca92e 100644 --- a/src/gallium/drivers/r300/r300_winsys.h +++ b/src/gallium/drivers/r300/r300_winsys.h @@ -92,6 +92,12 @@ struct r300_winsys { /* Flush the CS. */ void (*flush_cs)(struct r300_winsys* winsys); + + /* winsys flush - callback from winsys when flush required */ + void (*set_flush_cb)(struct r300_winsys *winsys, + void (*flush_cb)(void *), void *data); + + void (*reset_bos)(struct r300_winsys *winsys); }; struct pipe_context* r300_create_context(struct pipe_screen* screen, |