Merge branch 'mesa_7_5_branch'

Conflicts:
	src/mesa/state_tracker/st_cb_fbo.c
	src/mesa/state_tracker/st_framebuffer.c
This commit is contained in:
José Fonseca
2009-06-11 16:34:56 +01:00
23 changed files with 514 additions and 278 deletions
+12
View File
@@ -536,6 +536,18 @@ pf_get_nblocks(const struct pipe_format_block *block, unsigned width, unsigned h
return pf_get_nblocksx(block, width)*pf_get_nblocksy(block, height);
}
static INLINE size_t
pf_get_stride(const struct pipe_format_block *block, unsigned width)
{
return pf_get_nblocksx(block, width)*block->size;
}
static INLINE size_t
pf_get_2d_size(const struct pipe_format_block *block, size_t stride, unsigned height)
{
return pf_get_nblocksy(block, height)*stride;
}
static INLINE boolean
pf_is_depth_stencil( enum pipe_format format )
{