Home
last modified time | relevance | path

Searched refs:bufferBits (Results 1 – 3 of 3) sorted by relevance

/device/generic/goldfish-opengl/system/hals/
Dmapper3.cpp86 GoldfishAddressSpaceBlock bufferBits; in GoldfishMapper() local
87 CRASH_IF(host_memory_allocator.hostMalloc(&bufferBits, 256), in GoldfishMapper()
90 m_physAddrToOffset = bufferBits.physAddr() - bufferBits.offset(); in GoldfishMapper()
92 host_memory_allocator.hostFree(&bufferBits); in GoldfishMapper()
269 char* const bufferBits = static_cast<char*>(cb->getBufferPtr()); in lockImpl() local
270 if (!bufferBits) { in lockImpl()
278 const Error3 e = lockHostImpl(*cb, cpuUsage, accessRegion, bufferBits); in lockImpl()
284 *pptr = bufferBits; in lockImpl()
305 char* const bufferBits = static_cast<char*>(cb->getBufferPtr()); in lockYCbCrImpl() local
306 if (!bufferBits) { in lockYCbCrImpl()
[all …]
Dallocator3.cpp343 GoldfishAddressSpaceBlock bufferBits; in allocateCb() local
344 if (host_memory_allocator.hostMalloc(&bufferBits, bufferSize)) { in allocateCb()
390 bufferBits.guestPtr(), in allocateCb()
391 bufferBits.size(), in allocateCb()
392 bufferBits.offset(), in allocateCb()
396 bufferBits.release(); in allocateCb()
/device/generic/goldfish-opengl/system/gralloc/
Dgralloc_30.cpp195 char* const bufferBits = static_cast<char*>(handle.getBufferPtr()); in lock() local
196 if (!bufferBits) { RETURN_ERROR_CODE(-EINVAL); } in lock()
202 bufferBits); in lock()
206 *vaddr = bufferBits; in lock()
213 char* const bufferBits = static_cast<char*>(handle.getBufferPtr()); in unlock() local
214 if (!bufferBits) { RETURN_ERROR_CODE(-EINVAL); } in unlock()
217 unlock_impl(handle, bufferBits); in unlock()
229 char* const bufferBits = static_cast<char*>(handle.getBufferPtr()); in lock_ycbcr() local
230 if (!bufferBits) { RETURN_ERROR_CODE(-EINVAL); } in lock_ycbcr()
273 bufferBits); in lock_ycbcr()
[all …]