*
*/
+#include "radeon_screen.h"
#include "radeon_tile.h"
#include <stdint.h>
void tile_image(const void * src, unsigned src_pitch,
void *dst, unsigned dst_pitch,
- gl_format format, unsigned width, unsigned height)
+ mesa_format format, unsigned width, unsigned height)
{
assert(src_pitch >= width);
assert(dst_pitch >= width);
void untile_image(const void * src, unsigned src_pitch,
void *dst, unsigned dst_pitch,
- gl_format format, unsigned width, unsigned height)
+ mesa_format format, unsigned width, unsigned height)
{
assert(src_pitch >= width);
assert(dst_pitch >= width);
}
}
-void get_tile_size(gl_format format, unsigned *block_width, unsigned *block_height)
+void get_tile_size(mesa_format format, unsigned *block_width, unsigned *block_height)
{
switch (_mesa_get_format_bytes(format))
{