diff options
author | Marek Olšák <maraeo@gmail.com> | 2010-02-14 04:57:03 +0100 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2010-02-14 18:15:13 +0100 |
commit | f22ddd8e4743dbbfea2fac6c54837b30cbb1eb0e (patch) | |
tree | 6183b6b15cad19ea0661e05dabf9dc09f8544acc /src/gallium/drivers/r300/r300_texture.h | |
parent | 2523172a5e9b60a1075ed0b67b9c6935d8feeeb7 (diff) | |
download | external_mesa3d-f22ddd8e4743dbbfea2fac6c54837b30cbb1eb0e.zip external_mesa3d-f22ddd8e4743dbbfea2fac6c54837b30cbb1eb0e.tar.gz external_mesa3d-f22ddd8e4743dbbfea2fac6c54837b30cbb1eb0e.tar.bz2 |
r300g: accelerate blitting for all formats by faking the texture format
Diffstat (limited to 'src/gallium/drivers/r300/r300_texture.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_texture.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_texture.h b/src/gallium/drivers/r300/r300_texture.h index 1d2382d..b9c3ab8 100644 --- a/src/gallium/drivers/r300/r300_texture.h +++ b/src/gallium/drivers/r300/r300_texture.h @@ -38,6 +38,10 @@ unsigned r300_texture_get_stride(struct r300_screen* screen, unsigned r300_texture_get_offset(struct r300_texture* tex, unsigned level, unsigned zslice, unsigned face); +void r300_texture_reinterpret_format(struct pipe_screen *screen, + struct pipe_texture *tex, + enum pipe_format new_format); + /* Translate a pipe_format into a useful texture format for sampling. * * R300_EASY_TX_FORMAT swizzles the texture. |