Home
last modified time | relevance | path

Searched refs:tInfo (Results 1 – 8 of 8) sorted by relevance

/hardware/google/gfxstream/host/
DRenderThread.cpp268 RenderThreadInfo tInfo; in main() local
277 tInfo.initGl(); in main()
280 initRenderControlContext(&tInfo.m_rcDec); in main()
299 &tInfo, &checksumCalc, &stream, mRingStream.get(), &readBuf, in main()
306 tInfo.m_vkInfo.emplace(); in main()
310 tInfo.m_magmaInfo.emplace(mContextId); in main()
399 tInfo.postLoadRefreshCurrentContextSurfacePtrs(); in main()
468 if (!tInfo.m_puid) { in main()
469 tInfo.m_puid = mContextId; in main()
472 if (!processResources && tInfo.m_puid && tInfo.m_puid != INVALID_CONTEXT_ID) { in main()
[all …]
DRenderControl.cpp432 RenderThreadInfoGl* const tInfo = RenderThreadInfoGl::get(); in rcGetGLString() local
439 if (tInfo && tInfo->currContext.get()) { in rcGetGLString()
441 if (tInfo->currContext->clientVersion() > GLESApi_CM) { in rcGetGLString()
1131 RenderThreadInfo* tInfo = RenderThreadInfo::get(); in rcCreateSyncKHR() local
1132 if (tInfo && outSync && shouldEnableVsyncGatedSyncFences(fb->getFeatures())) { in rcCreateSyncKHR()
1134 fenceSync->setIsCompositionFence(tInfo->m_isCompositionThread); in rcCreateSyncKHR()
1145 RenderThreadInfoGl* const tInfo = RenderThreadInfoGl::get(); in rcClientWaitSyncKHR() local
1146 if (!tInfo) { in rcClientWaitSyncKHR()
1166 if (!tInfo->currContext) { in rcClientWaitSyncKHR()
1182 RenderThreadInfoGl* const tInfo = RenderThreadInfoGl::get(); in rcWaitSyncKHR() local
[all …]
DFrameBuffer.cpp1197 RenderThreadInfo* tInfo = RenderThreadInfo::get(); in createColorBufferWithHandleLocked() local
1198 uint64_t puid = tInfo->m_puid; in createColorBufferWithHandleLocked()
1252 RenderThreadInfo* tInfo = RenderThreadInfo::get(); in openColorBuffer() local
1269 uint64_t puid = tInfo ? tInfo->m_puid : 0; in openColorBuffer()
1283 RenderThreadInfo* tInfo = RenderThreadInfo::get(); in closeColorBuffer() local
1288 uint64_t puid = tInfo ? tInfo->m_puid : 0; in closeColorBuffer()
2649 RenderThreadInfo* tInfo = RenderThreadInfo::get(); in registerProcessCleanupCallback() local
2650 if (!tInfo) return; in registerProcessCleanupCallback()
2652 auto& callbackMap = m_procOwnedCleanupCallbacks[tInfo->m_puid]; in registerProcessCleanupCallback()
2658 RenderThreadInfo* tInfo = RenderThreadInfo::get(); in unregisterProcessCleanupCallback() local
[all …]
/hardware/google/gfxstream/guest/egl/
Degl.cpp945 EGLThreadInfo *tInfo = getEGLThreadInfo(); in getExtStringArray() local
946 if (!tInfo || !tInfo->currentContext) { in getExtStringArray()
950 if (tInfo->currentContext->extensionStringArray.size() > 0) { in getExtStringArray()
951 return tInfo->currentContext->extensionStringArray; in getExtStringArray()
993 tInfo->currentContext->extensionStringArray = res; in getExtStringArray()
1001 EGLThreadInfo *tInfo = getEGLThreadInfo(); in getGLString() local
1002 if (!tInfo || !tInfo->currentContext) { in getGLString()
1016 strPtr = &tInfo->currentContext->versionString; in getGLString()
1019 strPtr = &tInfo->currentContext->vendorString; in getGLString()
1022 strPtr = &tInfo->currentContext->rendererString; in getGLString()
[all …]
/hardware/google/gfxstream/host/gl/
DColorBufferGl.cpp660 RenderThreadInfoGl* const tInfo = RenderThreadInfoGl::get(); in blitFromCurrentReadBuffer() local
661 if (!tInfo) { in blitFromCurrentReadBuffer()
666 if (!tInfo->currContext.get()) { in blitFromCurrentReadBuffer()
680 if (tInfo->currContext->clientVersion() > GLESApi_CM) { in blitFromCurrentReadBuffer()
686 const bool isGles3 = tInfo->currContext->clientVersion() > GLESApi_2; in blitFromCurrentReadBuffer()
826 RenderThreadInfoGl* const tInfo = RenderThreadInfoGl::get(); in bindToTexture() local
827 if (!tInfo) { in bindToTexture()
832 if (!tInfo->currContext.get()) { in bindToTexture()
836 if (tInfo->currContext->clientVersion() > GLESApi_CM) { in bindToTexture()
858 RenderThreadInfoGl* const tInfo = RenderThreadInfoGl::get(); in bindToRenderbuffer() local
[all …]
/hardware/google/gfxstream/host/tests/
DSampleApplication.cpp370 RenderThreadInfo* tInfo = new RenderThreadInfo; in drawWorker() local
463 delete tInfo; in drawWorker()
492 RenderThreadInfo* tInfo = new RenderThreadInfo; in surfaceFlingerComposerLoop() local
515 delete tInfo; in surfaceFlingerComposerLoop()
/hardware/google/gfxstream/guest/OpenglSystemCommon/
DHostConnection.h120 static HostConnection* getWithThreadInfo(EGLThreadInfo* tInfo,
/hardware/google/gfxstream/host/vulkan/
DVkDecoderGlobalState.cpp4183 auto* tInfo = RenderThreadInfoVk::get(); in on_vkAllocateMemory() local
4429 : tInfo->ctx_id; in on_vkAllocateMemory()
4923 auto* tInfo = RenderThreadInfoVk::get(); in vkGetBlobInternal() local
4926 : tInfo->ctx_id; in vkGetBlobInternal()