Skip to content
Snippets Groups Projects
Commit 380c2bf8 authored by Axel Davy's avatar Axel Davy Committed by Marge Bot
Browse files

st/nine: Optimize dynamic systemmem buffers


Some apps use DYNAMIC SYSTEMMEM buffers and fill them in a
dynamic fashion with discard and nooverwrite locking flags.

To prevent uploading the whole buffer every draw call,
track the region needed for the draw call, and
upload only that region (or a bit more in order
to ease valid region tracking).

Try to aggressively upload with discard/unsynchronized.

Signed-off-by: default avatarAxel Davy <davyaxel0@gmail.com>
Part-of: <mesa/mesa!9451>
parent 01c8071f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment