projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pb: fix numDelayed accounting
[mesa.git]
/
src
/
gallium
/
auxiliary
/
pipebuffer
/
pb_bufmgr_cache.c
diff --git
a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_cache.c
b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_cache.c
index 52e626cb44b295f20edce3daf0b95365477d52b3..a6eb4039621f6fbfe047f62e337b0740c949b54f 100644
(file)
--- a/
src/gallium/auxiliary/pipebuffer/pb_bufmgr_cache.c
+++ b/
src/gallium/auxiliary/pipebuffer/pb_bufmgr_cache.c
@@
-307,6
+307,7
@@
pb_cache_manager_create_buffer(struct pb_manager *_mgr,
if(buf) {
LIST_DEL(&buf->head);
+ --mgr->numDelayed;
pipe_mutex_unlock(mgr->mutex);
/* Increase refcount */
pipe_reference_init(&buf->base.base.reference, 1);