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

Method UnlockSharedTexture

Revive/TextureVk.cpp:232–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232bool TextureVk::UnlockSharedTexture()
233{
234 VkSubmitInfo submit_info = { VK_STRUCTURE_TYPE_SUBMIT_INFO };
235 submit_info.commandBufferCount = 1;
236 submit_info.pCommandBuffers = &m_UnlockCmd;
237 return vkQueueSubmit(*m_pQueue, 1, &submit_info, 0) == VK_SUCCESS;
238}
239
240bool TextureVk::CreateSharedTextureGL(unsigned int* outName)
241{

Callers 1

FlipMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected