projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24c773f
)
r600g/radeonsi: Use caching buffer manager for textures as well
author
Michel Dänzer
<michel.daenzer@amd.com>
Thu, 10 Apr 2014 09:15:55 +0000
(18:15 +0900)
committer
Michel Dänzer
<michel@daenzer.net>
Tue, 15 Apr 2014 02:34:56 +0000
(11:34 +0900)
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>
src/gallium/drivers/radeon/r600_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeon/r600_texture.c
b/src/gallium/drivers/radeon/r600_texture.c
index e39b9ec0316b667ea07f7ba84569112b31311bcf..293eeaa089079da2be4d9af003cd80e6cd0a964b 100644
(file)
--- 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,
FALS
E)) {
+ rtex->surface.bo_alignment,
TRU
E)) {
FREE(rtex);
return NULL;
}