diff options
author | Marek Olšák <[email protected]> | 2010-02-14 03:19:01 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-03-07 15:39:37 +0100 |
commit | 6c7fac846ef99cde5305cf1011b4570bd1901625 (patch) | |
tree | e30f2e5eba880f7a84b21a7cd407dfa30af0494c /src/gallium/drivers/r300/r300_transfer.h | |
parent | 4012219f1f215cec9406be644b6b9d421bb5d8e4 (diff) |
r300g: add ability to tile/detile textures using blit during transfers
Diffstat (limited to 'src/gallium/drivers/r300/r300_transfer.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_transfer.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/gallium/drivers/r300/r300_transfer.h b/src/gallium/drivers/r300/r300_transfer.h index faf62338efb..60d1d3dc85c 100644 --- a/src/gallium/drivers/r300/r300_transfer.h +++ b/src/gallium/drivers/r300/r300_transfer.h @@ -25,36 +25,7 @@ #define R300_TRANSFER #include "pipe/p_screen.h" -#include "pipe/p_state.h" - -struct r300_texture; -struct r300_screen; - -struct r300_transfer { - /* Parent class */ - struct pipe_transfer transfer; - - /* Parameters of get_tex_transfer. */ - unsigned x, y, level, zslice, face; - - /* Offset from start of buffer. */ - unsigned offset; - - /* Untiled texture. */ - struct r300_texture *untiled_texture; - - /* Transfer and format flags. */ - unsigned buffer_usage, render_target_usage; -}; - -/* Convenience cast wrapper. */ -static INLINE struct r300_transfer* -r300_transfer(struct pipe_transfer* transfer) -{ - return (struct r300_transfer*)transfer; -} void r300_init_screen_transfer_functions(struct pipe_screen *screen); #endif - |