MCPcopy Create free account
hub / github.com/LibreVR/Revive / LockSharedTexture

Method LockSharedTexture

Revive/TextureVk.cpp:224–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224bool TextureVk::LockSharedTexture()
225{
226 VkSubmitInfo submit_info = { VK_STRUCTURE_TYPE_SUBMIT_INFO };
227 submit_info.commandBufferCount = 1;
228 submit_info.pCommandBuffers = &m_LockCmd;
229 return vkQueueSubmit(*m_pQueue, 1, &submit_info, 0) == VK_SUCCESS;
230}
231
232bool TextureVk::UnlockSharedTexture()
233{

Callers 1

FlipMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected