Skip to content
Snippets Groups Projects
Commit 19740e30 authored by Thomas Hellstrom's avatar Thomas Hellstrom Committed by Brian Paul
Browse files

gallium/pipebuffer: Add a cache buffer manager bypass mask


In some situations, it may be desirable to bypass the cache at buffer
creation but to insert the buffer in the cache at buffer destruction.
One such situation is where we already have a kernel representation of a
buffer that we want to use, but we also want to insert it in the cache when
it's freed up.

Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: default avatarJosé Fonseca <jfonseca@vmware.com>
Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
Cc: "10.1" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 8af358d8)
parent a44639d8
No related branches found
No related tags found
No related merge requests found
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