[magma] Add support for import and query
This change adds basic support for importing a DRM device as a magma
device and performing non-buffer queries on it.
This change also updates some identifier names to match AOSP style.
Bug: b/272307395
Test: m libgfxstream_backend
Ran gfxstream_magma_tests
Change-Id: Iafa5bc49b6730c6e6e8d0fcef9bc02bd9cb79aba
diff --git a/stream-servers/RenderThread.cpp b/stream-servers/RenderThread.cpp
index 03aac46..90a3bd7 100644
--- a/stream-servers/RenderThread.cpp
+++ b/stream-servers/RenderThread.cpp
@@ -543,10 +543,10 @@
// try to process some of the command buffer using the Magma
// decoder
//
- if (tInfo.m_magmaInfo && tInfo.m_magmaInfo->m_magmaDec)
+ if (tInfo.m_magmaInfo && tInfo.m_magmaInfo->mMagmaDec)
{
- last = tInfo.m_magmaInfo->m_magmaDec->decode(readBuf.buf(), readBuf.validData(),
- ioStream, &checksumCalc);
+ last = tInfo.m_magmaInfo->mMagmaDec->decode(readBuf.buf(), readBuf.validData(),
+ ioStream, &checksumCalc);
if (last > 0) {
readBuf.consume(last);
progress = true;