diff options
author | Marek Olšák <[email protected]> | 2010-12-29 03:17:43 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-01-06 16:16:29 +0100 |
commit | 58c5e782e351621bde2693fa945d0c90d140b855 (patch) | |
tree | d8a77d03790420d9e89325d74ff2e0dbb57a854c /docs/README.NeXT | |
parent | 5adcd9c9117b125cab1155c5f3af0bb51ace74b7 (diff) |
st/mesa: optimize constant buffer uploads
The overhead of resource_create, transfer_inline_write, and resource_destroy
to upload constant data is very visible with some apps in sysprof, and
as such should be eliminated.
My approach uses a user buffer to pass a pointer to a driver. This gives
the driver the freedom it needs to take the fast path, which may differ
for each driver.
This commit addresses the same issue as Jakob's one that suballocates out
of a big constant buffer, but it also eliminates the copy to the buffer.
Diffstat (limited to 'docs/README.NeXT')
0 files changed, 0 insertions, 0 deletions