renderControl_enc: rename rcMapGpaToColorBuffer to rcMapGpaToBufferHandle
We rename
int32_t rcMapGpaToColorBuffer(uint32_t colorBuffer, uint64_t gpa);
to
int32_t rcMapGpaToBufferHandle(uint32_t bufferHandle, uint64_t gpa);
so that the method becomes available to both color buffers and
data buffers.
This is the guest-side change for the method renaming. Currently
there is no clients using this method, and the function signature
doesn't change, so it's safe to rename.
Change-Id: Ie6b33429719157a04e10abf8ecad9be7acdae65c
diff --git a/system/renderControl_enc/renderControl_client_context.cpp b/system/renderControl_enc/renderControl_client_context.cpp
index 61dda7c..34e973d 100644
--- a/system/renderControl_enc/renderControl_client_context.cpp
+++ b/system/renderControl_enc/renderControl_client_context.cpp
@@ -62,7 +62,7 @@
rcCreateBuffer = (rcCreateBuffer_client_proc_t) getProc("rcCreateBuffer", userData);
rcCloseBuffer = (rcCloseBuffer_client_proc_t) getProc("rcCloseBuffer", userData);
rcSetColorBufferVulkanMode2 = (rcSetColorBufferVulkanMode2_client_proc_t) getProc("rcSetColorBufferVulkanMode2", userData);
- rcMapGpaToColorBuffer = (rcMapGpaToColorBuffer_client_proc_t) getProc("rcMapGpaToColorBuffer", userData);
+ rcMapGpaToBufferHandle = (rcMapGpaToBufferHandle_client_proc_t) getProc("rcMapGpaToBufferHandle", userData);
return 0;
}