diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2014-04-10 18:15:55 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2014-04-15 11:34:56 +0900 |
commit | 313104e8d58002ad00d297e1b229ecd984d79298 (patch) | |
tree | 682f97eadeb0e47a9086f15004b92e942f1cb27c /src/gallium/drivers/radeon | |
parent | 24c773fb0685e85d9b838e3e956e4b7ad6e71251 (diff) | |
download | external_mesa3d-313104e8d58002ad00d297e1b229ecd984d79298.zip external_mesa3d-313104e8d58002ad00d297e1b229ecd984d79298.tar.gz external_mesa3d-313104e8d58002ad00d297e1b229ecd984d79298.tar.bz2 |
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 <marek.olsak@amd.com>
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r-- | src/gallium/drivers/radeon/r600_texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |