Home
last modified time | relevance | path

Searched refs:mBufferHandle (Results 1 – 6 of 6) sorted by relevance

/hardware/interfaces/graphics/composer/2.2/utils/vts/
DReadbackVts.cpp210 if (mBufferHandle != nullptr) { in ~ReadbackBuffer()
211 mGralloc->freeBuffer(mBufferHandle); in ~ReadbackBuffer()
216 if (mBufferHandle != nullptr) { in setReadbackBuffer()
217 mGralloc->freeBuffer(mBufferHandle); in setReadbackBuffer()
218 mBufferHandle = nullptr; in setReadbackBuffer()
220 mBufferHandle = mGralloc->allocate(mWidth, mHeight, mLayerCount, mFormat, mUsage, in setReadbackBuffer()
222 ASSERT_NE(false, mGralloc->validateBufferSize(mBufferHandle, mWidth, mHeight, mLayerCount, in setReadbackBuffer()
224 ASSERT_NO_FATAL_FAILURE(mComposerClient->setReadbackBuffer(mDisplay, mBufferHandle, -1)); in setReadbackBuffer()
232 void* bufData = mGralloc->lock(mBufferHandle, mUsage, mAccessRegion, fenceHandle); in checkReadbackBuffer()
236 int32_t unlockFence = mGralloc->unlock(mBufferHandle); in checkReadbackBuffer()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraMem.cpp1895 mBufferHandle[i] = NULL; in QCameraGrallocMemory()
1996 err = mWindow->enqueue_buffer(mWindow, (buffer_handle_t *)mBufferHandle[index]); in displayBuffer()
2000 LOGD("enqueue_buffer hdl=%p", *mBufferHandle[index]); in displayBuffer()
2011 if(mBufferHandle[i] == buffer_handle) { in displayBuffer()
2022 mBufferHandle[dequeuedIdx] = buffer_handle; in displayBuffer()
2026 (struct private_handle_t *)(*mBufferHandle[dequeuedIdx]); in displayBuffer()
2090 else if(mBufferHandle[index] == NULL) in enqueueBuffer()
2108 err = mWindow->enqueue_buffer(mWindow, (buffer_handle_t *)mBufferHandle[index]); in enqueueBuffer()
2112 LOGD("enqueue_buffer hdl=%p", *mBufferHandle[index]); in enqueueBuffer()
2142 if(mBufferHandle[i] == buffer_handle) { in dequeueBuffer()
[all …]
DQCameraMem.h311 buffer_handle_t *mBufferHandle[MM_CAMERA_MAX_NUM_FRAMES];
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Mem.cpp749 mBufferHandle[i] = NULL; in QCamera3GrallocMemory()
811 mBufferHandle[idx] = buffer; in registerBuffer()
812 mPrivateHandle[idx] = (struct private_handle_t *)(*mBufferHandle[idx]); in registerBuffer()
872 mBufferHandle[idx] = NULL; in unregisterBufferLocked()
1157 if (mBufferHandle[i] == key) { in getMatchBufIndex()
1294 return mBufferHandle[index]; in getBufferHandle()
DQCamera3Mem.h155 buffer_handle_t *mBufferHandle[MM_CAMERA_MAX_NUM_FRAMES]; variable
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/
DReadbackVts.h142 const native_handle_t* mBufferHandle = nullptr; variable
195 const native_handle_t* mBufferHandle = nullptr; variable