Add awareness of and support for ANDROID_EMU_async_frame_cmds
Bug: 168844225
Change-Id: Ie3f8a0d6d7cb6ea40f3c0cc64b4eb482c197e128
diff --git a/system/OpenglSystemCommon/HostConnection.h b/system/OpenglSystemCommon/HostConnection.h
index cf47d69..9d0ad8e 100644
--- a/system/OpenglSystemCommon/HostConnection.h
+++ b/system/OpenglSystemCommon/HostConnection.h
@@ -72,6 +72,9 @@
bool hasHostSideTracing() const {
return m_featureInfo.hasHostSideTracing;
}
+ bool hasAsyncFrameCommands() const {
+ return m_featureInfo.hasAsyncFrameCommands;
+ }
DmaImpl getDmaVersion() const { return m_featureInfo.dmaImpl; }
void bindDmaContext(struct goldfish_dma_context* cxt) { m_dmaCxt = cxt; }
void bindDmaDirectly(void* dmaPtr, uint64_t dmaPhysAddr) {
@@ -233,6 +236,7 @@
void queryAndSetVulkanShaderFloat16Int8Support(ExtendedRCEncoderContext *rcEnc);
void queryAndSetVulkanAsyncQueueSubmitSupport(ExtendedRCEncoderContext *rcEnc);
void queryAndSetHostSideTracingSupport(ExtendedRCEncoderContext *rcEnc);
+ void queryAndSetAsyncFrameCommands(ExtendedRCEncoderContext *rcEnc);
private:
HostConnectionType m_connectionType;