Module: Mesa Branch: master Commit: 313104e8d58002ad00d297e1b229ecd984d79298 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=313104e8d58002ad00d297e1b229ecd984d79298
Author: Michel Dänzer <[email protected]> Date: Thu Apr 10 18:15:55 2014 +0900 r600g/radeonsi: Use caching buffer manager for textures as well Significantly reduces BO allocation / destruction overhead for transfers, e.g. measurable via x11perf -shm{ge,pu}t* with glamor. Reviewed-by: Marek Olšák <[email protected]> --- src/gallium/drivers/radeon/r600_texture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c index e39b9ec..293eeaa 100644 --- a/src/gallium/drivers/radeon/r600_texture.c +++ b/src/gallium/drivers/radeon/r600_texture.c @@ -633,7 +633,7 @@ r600_texture_create_object(struct pipe_screen *screen, /* Now create the backing buffer. */ if (!buf) { if (!r600_init_resource(rscreen, resource, rtex->size, - rtex->surface.bo_alignment, FALSE)) { + rtex->surface.bo_alignment, TRUE)) { FREE(rtex); return NULL; } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
