Home
last modified time | relevance | path

Searched refs:mResource (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gfxstream/guest/android/
DGrallocEmulated.cpp142 : mRefCount(1), mWidth(width), mHeight(height), mDrmFormat(drmFormat), mResource(resource) {} in EmulatedAHardwareBuffer()
146 uint32_t EmulatedAHardwareBuffer::getResourceId() const { return mResource->getResourceHandle(); } in getResourceId()
186 mMapped = mResource->createMapping(); in lock()
192 mResource->transferFromHost(0, 0, mWidth, mHeight); in lock()
193 mResource->wait(); in lock()
205 mResource->transferToHost(0, 0, mWidth, mHeight); in unlock()
206 mResource->wait(); in unlock()
DGrallocEmulated.h61 VirtGpuResourcePtr mResource; variable