diff options
author | Marek Olšák <[email protected]> | 2010-07-19 14:31:25 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-07-19 17:12:11 +0200 |
commit | 7b31b235d069ab4154bfc4b1eacde6368852aaee (patch) | |
tree | fce58f29a6ab87184c2518349568a8eacb171e74 /src/gallium/drivers/r300/r300_context.h | |
parent | ad44b775e30b2740d25bb8330c9e8879f1ec5533 (diff) |
r300g: use memory pools for buffer_create and get_transfer
The improvement in Tremulous: 68.9 fps -> 71.1 fps.
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h index d2b8aa10284..b9c96d5bdd8 100644 --- a/src/gallium/drivers/r300/r300_context.h +++ b/src/gallium/drivers/r300/r300_context.h @@ -539,6 +539,8 @@ struct r300_context { struct u_upload_mgr *upload_vb; struct u_upload_mgr *upload_ib; + struct util_mempool pool_transfers; + /* Stat counter. */ uint64_t flush_counter; }; |