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.cpp212 mBufferHandle.reset(new Gralloc::NativeHandleWrapper( in setReadbackBuffer()
215 ASSERT_NE(false, mGralloc->validateBufferSize(mBufferHandle->get(), mWidth, mHeight, in setReadbackBuffer()
217 ASSERT_NO_FATAL_FAILURE(mComposerClient->setReadbackBuffer(mDisplay, mBufferHandle->get(), -1)); in setReadbackBuffer()
225 void* bufData = mGralloc->lock(mBufferHandle->get(), mUsage, mAccessRegion, fenceHandle); in checkReadbackBuffer()
229 int32_t unlockFence = mGralloc->unlock(mBufferHandle->get()); in checkReadbackBuffer()
279 if (mBufferHandle != nullptr) writer->setLayerBuffer(0, mBufferHandle->get(), mFillFence); in write()
285 new GraphicBuffer(mBufferHandle->get(), GraphicBuffer::CLONE_HANDLE, mWidth, mHeight, in toRenderEngineLayerSettings()
306 void* bufData = mGralloc->lock(mBufferHandle->get(), mUsage, mAccessRegion, -1); in fillBuffer()
309 mFillFence = mGralloc->unlock(mBufferHandle->get()); in fillBuffer()
317 mBufferHandle.reset(new Gralloc::NativeHandleWrapper( in setBuffer()
[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.h146 std::unique_ptr<Gralloc::NativeHandleWrapper> mBufferHandle; variable
198 std::unique_ptr<Gralloc::NativeHandleWrapper> mBufferHandle = nullptr; variable