Home
last modified time | relevance | path

Searched refs:hostHandle (Results 1 – 7 of 7) sorted by relevance

/device/generic/goldfish-opengl/system/gralloc/
Dgralloc_old.cpp555 rcEnc->rcUpdateColorBufferDMA(rcEnc, cb->hostHandle, in updateHostColorBuffer()
580 rcEnc->rcUpdateColorBuffer(rcEnc, cb->hostHandle, in updateHostColorBuffer()
893 …cb->hostHandle = rcEnc->rcCreateColorBufferDMA(rcEnc, w, h, allocFormat, selectedEmuFrameworkForma… in gralloc_alloc()
895 cb->hostHandle = rcEnc->rcCreateColorBuffer(rcEnc, w, h, allocFormat); in gralloc_alloc()
900 if (!cb->hostHandle) { in gralloc_alloc()
910 qemu_pipe_write(refcountPipeFd, &cb->hostHandle, 4); in gralloc_alloc()
912 D("Created host ColorBuffer 0x%x\n", cb->hostHandle); in gralloc_alloc()
960 if (cb->hostHandle && !cb->hasRefcountPipe()) { in gralloc_free()
969 D("Closing host ColorBuffer 0x%x\n", cb->hostHandle); in gralloc_free()
971 rcEnc->rcCloseColorBuffer(rcEnc, cb->hostHandle); in gralloc_free()
[all …]
/device/generic/goldfish-opengl/system/hals/
Dallocator3.cpp341 uint32_t hostHandle = 0; in allocateCb() local
352 hostHandle = rcEnc->rcCreateColorBufferDMA( in allocateCb()
357 if (!hostHandle) { in allocateCb()
362 &hostHandle, in allocateCb()
363 sizeof(hostHandle)) != sizeof(hostHandle)) { in allocateCb()
364 rcEnc->rcCloseColorBuffer(rcEnc, hostHandle); in allocateCb()
373 hostHandle, in allocateCb()
Dmapper3.cpp308 if (cb->hostHandle) { in lockImpl()
398 if (cb->hostHandle) { in lockYCbCrImpl()
426 rcEnc, cb.hostHandle, 0, usageSwRead); in lockHostImpl()
449 rcEnc->rcReadColorBufferYUV(rcEnc, cb.hostHandle, in lockHostImpl()
455 rcEnc->rcReadColorBuffer(rcEnc, cb.hostHandle, in lockHostImpl()
489 cb.hostHandle, in lockHostImpl()
495 cb.hostHandle, in lockHostImpl()
526 if (cb->hostHandle) { in unlockImpl()
575 rcEnc->rcUpdateColorBufferDMA(rcEnc, cb.hostHandle, in unlockHostImpl()
/device/generic/goldfish/MultiDisplayProvider/jni/
Dcom_android_emulator_multidisplay.cpp70 if (mCb != cb->hostHandle) { in onFrameAvailable()
71 ALOGI("sent cb %d", cb->hostHandle); in onFrameAvailable()
72 mCb = cb->hostHandle; in onFrameAvailable()
/device/generic/goldfish-opengl/system/codecs/omx/vpxdec/
DGoldfishVPX.cpp398 DDD("found color buffer for header %p --> %d", header, handle->hostHandle); in getHostColorBufferId()
399 return handle->hostHandle; in getHostColorBufferId()
457 handle, handle->hostHandle); in internalSetParameter()
/device/generic/goldfish-opengl/system/codecs/omx/avcdec/
DGoldfishAVCDec.cpp284 DDD("found color buffer for header %p --> %d", header, handle->hostHandle); in getHostColorBufferId()
285 return handle->hostHandle; in getHostColorBufferId()
583 handle->hostHandle); in internalSetParameter()
/device/generic/goldfish-opengl/system/codecs/c2/decoders/base/
Dcolor_buffer_utils.cpp65 return cb_handle_t::from(handle)->hostHandle; in getColorBufferHandle()