Lines Matching refs:rcEnc

156         ExtendedRCEncoderContext* rcEnc,  in createColorBuffer()  argument
158 return rcEnc->rcCreateColorBuffer( in createColorBuffer()
159 rcEnc, width, height, glformat); in createColorBuffer()
345 bool processPipeInit(HostConnectionType connType, renderControl_encoder_context_t *rcEnc) in processPipeInit() argument
347 return ::processPipeInit(connType, rcEnc); in processPipeInit()
622 ExtendedRCEncoderContext* rcEnc = m_rcEnc.get(); in rcEncoder() local
623 setChecksumHelper(rcEnc); in rcEncoder()
624 queryAndSetSyncImpl(rcEnc); in rcEncoder()
625 queryAndSetDmaImpl(rcEnc); in rcEncoder()
626 queryAndSetGLESMaxVersion(rcEnc); in rcEncoder()
627 queryAndSetNoErrorState(rcEnc); in rcEncoder()
628 queryAndSetHostCompositionImpl(rcEnc); in rcEncoder()
629 queryAndSetDirectMemSupport(rcEnc); in rcEncoder()
630 queryAndSetVulkanSupport(rcEnc); in rcEncoder()
631 queryAndSetDeferredVulkanCommandsSupport(rcEnc); in rcEncoder()
632 queryAndSetVulkanNullOptionalStringsSupport(rcEnc); in rcEncoder()
633 queryAndSetVulkanCreateResourcesWithRequirementsSupport(rcEnc); in rcEncoder()
634 queryAndSetVulkanIgnoredHandles(rcEnc); in rcEncoder()
635 queryAndSetYUVCache(rcEnc); in rcEncoder()
636 queryAndSetAsyncUnmapBuffer(rcEnc); in rcEncoder()
637 queryAndSetVirtioGpuNext(rcEnc); in rcEncoder()
638 queryHasSharedSlotsHostMemoryAllocator(rcEnc); in rcEncoder()
639 queryAndSetVulkanFreeMemorySync(rcEnc); in rcEncoder()
640 queryAndSetVirtioGpuNativeSync(rcEnc); in rcEncoder()
641 queryAndSetVulkanShaderFloat16Int8Support(rcEnc); in rcEncoder()
642 queryAndSetVulkanAsyncQueueSubmitSupport(rcEnc); in rcEncoder()
644 m_processPipe->processPipeInit(m_connectionType, rcEnc); in rcEncoder()
692 const std::string& HostConnection::queryGLExtensions(ExtendedRCEncoderContext *rcEnc) { in queryGLExtensions() argument
702 int extensionSize = rcEnc->rcGetGLString(rcEnc, GL_EXTENSIONS, in queryGLExtensions()
707 extensionSize = rcEnc->rcGetGLString(rcEnc, GL_EXTENSIONS, in queryGLExtensions()
720 void HostConnection::queryAndSetHostCompositionImpl(ExtendedRCEncoderContext *rcEnc) { in queryAndSetHostCompositionImpl() argument
721 const std::string& glExtensions = queryGLExtensions(rcEnc); in queryAndSetHostCompositionImpl()
725 rcEnc->setHostComposition(HOST_COMPOSITION_V2); in queryAndSetHostCompositionImpl()
728 rcEnc->setHostComposition(HOST_COMPOSITION_V1); in queryAndSetHostCompositionImpl()
731 rcEnc->setHostComposition(HOST_COMPOSITION_NONE); in queryAndSetHostCompositionImpl()
735 void HostConnection::setChecksumHelper(ExtendedRCEncoderContext *rcEnc) { in setChecksumHelper() argument
736 const std::string& glExtensions = queryGLExtensions(rcEnc); in setChecksumHelper()
749 rcEnc->rcSelectChecksumHelper(rcEnc, checksumVersion, 0); in setChecksumHelper()
754 void HostConnection::queryAndSetSyncImpl(ExtendedRCEncoderContext *rcEnc) { in queryAndSetSyncImpl() argument
755 const std::string& glExtensions = queryGLExtensions(rcEnc); in queryAndSetSyncImpl()
757 rcEnc->setSyncImpl(SYNC_IMPL_NONE); in queryAndSetSyncImpl()
760 rcEnc->setSyncImpl(SYNC_IMPL_NATIVE_SYNC_V4); in queryAndSetSyncImpl()
762 rcEnc->setSyncImpl(SYNC_IMPL_NATIVE_SYNC_V3); in queryAndSetSyncImpl()
764 rcEnc->setSyncImpl(SYNC_IMPL_NATIVE_SYNC_V2); in queryAndSetSyncImpl()
766 rcEnc->setSyncImpl(SYNC_IMPL_NONE); in queryAndSetSyncImpl()
771 void HostConnection::queryAndSetDmaImpl(ExtendedRCEncoderContext *rcEnc) { in queryAndSetDmaImpl() argument
772 std::string glExtensions = queryGLExtensions(rcEnc); in queryAndSetDmaImpl()
774 rcEnc->setDmaImpl(DMA_IMPL_NONE); in queryAndSetDmaImpl()
777 rcEnc->setDmaImpl(DMA_IMPL_v1); in queryAndSetDmaImpl()
779 rcEnc->setDmaImpl(DMA_IMPL_NONE); in queryAndSetDmaImpl()
784 void HostConnection::queryAndSetGLESMaxVersion(ExtendedRCEncoderContext* rcEnc) { in queryAndSetGLESMaxVersion() argument
785 std::string glExtensions = queryGLExtensions(rcEnc); in queryAndSetGLESMaxVersion()
787 rcEnc->setGLESMaxVersion(GLES_MAX_VERSION_2); in queryAndSetGLESMaxVersion()
789 rcEnc->setGLESMaxVersion(GLES_MAX_VERSION_3_0); in queryAndSetGLESMaxVersion()
791 rcEnc->setGLESMaxVersion(GLES_MAX_VERSION_3_1); in queryAndSetGLESMaxVersion()
793 rcEnc->setGLESMaxVersion(GLES_MAX_VERSION_3_2); in queryAndSetGLESMaxVersion()
797 rcEnc->setGLESMaxVersion(GLES_MAX_VERSION_2); in queryAndSetGLESMaxVersion()
801 void HostConnection::queryAndSetNoErrorState(ExtendedRCEncoderContext* rcEnc) { in queryAndSetNoErrorState() argument
802 std::string glExtensions = queryGLExtensions(rcEnc); in queryAndSetNoErrorState()
808 void HostConnection::queryAndSetDirectMemSupport(ExtendedRCEncoderContext* rcEnc) { in queryAndSetDirectMemSupport() argument
809 std::string glExtensions = queryGLExtensions(rcEnc); in queryAndSetDirectMemSupport()
811 rcEnc->featureInfo()->hasDirectMem = true; in queryAndSetDirectMemSupport()
815 void HostConnection::queryAndSetVulkanSupport(ExtendedRCEncoderContext* rcEnc) { in queryAndSetVulkanSupport() argument
816 std::string glExtensions = queryGLExtensions(rcEnc); in queryAndSetVulkanSupport()
818 rcEnc->featureInfo()->hasVulkan = true; in queryAndSetVulkanSupport()
822 void HostConnection::queryAndSetDeferredVulkanCommandsSupport(ExtendedRCEncoderContext* rcEnc) { in queryAndSetDeferredVulkanCommandsSupport() argument
823 std::string glExtensions = queryGLExtensions(rcEnc); in queryAndSetDeferredVulkanCommandsSupport()
825 rcEnc->featureInfo()->hasDeferredVulkanCommands = true; in queryAndSetDeferredVulkanCommandsSupport()
829 void HostConnection::queryAndSetVulkanNullOptionalStringsSupport(ExtendedRCEncoderContext* rcEnc) { in queryAndSetVulkanNullOptionalStringsSupport() argument
830 std::string glExtensions = queryGLExtensions(rcEnc); in queryAndSetVulkanNullOptionalStringsSupport()
832 rcEnc->featureInfo()->hasVulkanNullOptionalStrings = true; in queryAndSetVulkanNullOptionalStringsSupport()
836 …nection::queryAndSetVulkanCreateResourcesWithRequirementsSupport(ExtendedRCEncoderContext* rcEnc) { in queryAndSetVulkanCreateResourcesWithRequirementsSupport() argument
837 std::string glExtensions = queryGLExtensions(rcEnc); in queryAndSetVulkanCreateResourcesWithRequirementsSupport()
839 rcEnc->featureInfo()->hasVulkanCreateResourcesWithRequirements = true; in queryAndSetVulkanCreateResourcesWithRequirementsSupport()
843 void HostConnection::queryAndSetVulkanIgnoredHandles(ExtendedRCEncoderContext* rcEnc) { in queryAndSetVulkanIgnoredHandles() argument
844 std::string glExtensions = queryGLExtensions(rcEnc); in queryAndSetVulkanIgnoredHandles()
846 rcEnc->featureInfo()->hasVulkanIgnoredHandles = true; in queryAndSetVulkanIgnoredHandles()
850 void HostConnection::queryAndSetYUVCache(ExtendedRCEncoderContext* rcEnc) { in queryAndSetYUVCache() argument
851 std::string glExtensions = queryGLExtensions(rcEnc); in queryAndSetYUVCache()
853 rcEnc->featureInfo()->hasYUVCache = true; in queryAndSetYUVCache()
857 void HostConnection::queryAndSetAsyncUnmapBuffer(ExtendedRCEncoderContext* rcEnc) { in queryAndSetAsyncUnmapBuffer() argument
858 std::string glExtensions = queryGLExtensions(rcEnc); in queryAndSetAsyncUnmapBuffer()
860 rcEnc->featureInfo()->hasAsyncUnmapBuffer = true; in queryAndSetAsyncUnmapBuffer()
864 void HostConnection::queryAndSetVirtioGpuNext(ExtendedRCEncoderContext* rcEnc) { in queryAndSetVirtioGpuNext() argument
865 std::string glExtensions = queryGLExtensions(rcEnc); in queryAndSetVirtioGpuNext()
867 rcEnc->featureInfo()->hasVirtioGpuNext = true; in queryAndSetVirtioGpuNext()
871 void HostConnection::queryHasSharedSlotsHostMemoryAllocator(ExtendedRCEncoderContext *rcEnc) { in queryHasSharedSlotsHostMemoryAllocator() argument
872 const std::string& glExtensions = queryGLExtensions(rcEnc); in queryHasSharedSlotsHostMemoryAllocator()
874 rcEnc->featureInfo()->hasSharedSlotsHostMemoryAllocator = true; in queryHasSharedSlotsHostMemoryAllocator()
878 void HostConnection::queryAndSetVulkanFreeMemorySync(ExtendedRCEncoderContext *rcEnc) { in queryAndSetVulkanFreeMemorySync() argument
879 const std::string& glExtensions = queryGLExtensions(rcEnc); in queryAndSetVulkanFreeMemorySync()
881 rcEnc->featureInfo()->hasVulkanFreeMemorySync = true; in queryAndSetVulkanFreeMemorySync()
885 void HostConnection::queryAndSetVirtioGpuNativeSync(ExtendedRCEncoderContext* rcEnc) { in queryAndSetVirtioGpuNativeSync() argument
886 std::string glExtensions = queryGLExtensions(rcEnc); in queryAndSetVirtioGpuNativeSync()
888 rcEnc->featureInfo()->hasVirtioGpuNativeSync = true; in queryAndSetVirtioGpuNativeSync()
892 void HostConnection::queryAndSetVulkanShaderFloat16Int8Support(ExtendedRCEncoderContext* rcEnc) { in queryAndSetVulkanShaderFloat16Int8Support() argument
893 std::string glExtensions = queryGLExtensions(rcEnc); in queryAndSetVulkanShaderFloat16Int8Support()
895 rcEnc->featureInfo()->hasVulkanShaderFloat16Int8 = true; in queryAndSetVulkanShaderFloat16Int8Support()
899 void HostConnection::queryAndSetVulkanAsyncQueueSubmitSupport(ExtendedRCEncoderContext* rcEnc) { in queryAndSetVulkanAsyncQueueSubmitSupport() argument
900 std::string glExtensions = queryGLExtensions(rcEnc); in queryAndSetVulkanAsyncQueueSubmitSupport()
902 rcEnc->featureInfo()->hasVulkanAsyncQueueSubmit = true; in queryAndSetVulkanAsyncQueueSubmitSupport()