aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Stroyan <stroyan@google.com>2016-07-13 10:10:25 -0600
committerMike Stroyan <stroyan@google.com>2016-07-13 15:28:28 -0600
commitf638e8e35de6a862691adac6e6f10d7fafe7f9da (patch)
tree5c2b696715d940b0c2de5ea3677f9384fa521e96 /include
parent8acfb0933fa04e7491126c6849210324a85fec58 (diff)
downloadusermoji-f638e8e35de6a862691adac6e6f10d7fafe7f9da.tar.xz
layers: faster threading layer for single thread
Add a check to the threading layer to detect a single thread case. If the application has only called vulkan from one thread at a time, then skip access counters for externally synchronized parameters. This greatly reduces the overhead of the layer for applications that don't truly use vulkan in a multi-threaded way.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions