diff options
author | Marek Olšák <maraeo@gmail.com> | 2011-02-10 10:16:21 +0100 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2011-02-10 11:27:35 +0100 |
commit | 7c24a4c6a86402be1f68d23f4d52d4d071957801 (patch) | |
tree | f376fc6a6b24bdf10eec03366be4bd8dc88bde3f /src/gallium/drivers/r300/r300_texture.h | |
parent | 56ba7e913fef0ea2b1bead582108f9ab3ab8263d (diff) | |
download | external_mesa3d-7c24a4c6a86402be1f68d23f4d52d4d071957801.zip external_mesa3d-7c24a4c6a86402be1f68d23f4d52d4d071957801.tar.gz external_mesa3d-7c24a4c6a86402be1f68d23f4d52d4d071957801.tar.bz2 |
r300g: add a way to change texture properties arbitrarily
So that we can implement resource_copy on arbitrary data.
Diffstat (limited to 'src/gallium/drivers/r300/r300_texture.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_texture.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_texture.h b/src/gallium/drivers/r300/r300_texture.h index a4838be..158a387 100644 --- a/src/gallium/drivers/r300/r300_texture.h +++ b/src/gallium/drivers/r300/r300_texture.h @@ -46,9 +46,10 @@ uint32_t r300_translate_texformat(enum pipe_format format, uint32_t r500_tx_format_msb_bit(enum pipe_format format); -void r300_texture_reinterpret_format(struct pipe_screen *screen, +boolean r300_resource_set_properties(struct pipe_screen *screen, struct pipe_resource *tex, - enum pipe_format new_format); + unsigned offset, + const struct pipe_resource *new_properties); boolean r300_is_colorbuffer_format_supported(enum pipe_format format); |