Home
last modified time | relevance | path

Searched refs:fenceHandle (Results 1 – 11 of 11) sorted by relevance

/hardware/interfaces/graphics/mapper/4.0/utils/vts/
DMapperVts.cpp228 auto fenceHandle = tmpReleaseFence.getNativeHandle(); in unlock() local
229 if (fenceHandle) { in unlock()
230 ASSERT_EQ(0, fenceHandle->numInts) << "invalid fence handle " << fenceHandle; in unlock()
231 if (fenceHandle->numFds == 1) { in unlock()
232 releaseFence = dup(fenceHandle->data[0]); in unlock()
235 ASSERT_EQ(0, fenceHandle->numFds) << " invalid fence handle " << fenceHandle; in unlock()
250 auto fenceHandle = tmpReleaseFence.getNativeHandle(); in flushLockedBuffer() local
251 if (fenceHandle) { in flushLockedBuffer()
252 ASSERT_EQ(0, fenceHandle->numInts) << "invalid fence handle " << fenceHandle; in flushLockedBuffer()
253 if (fenceHandle->numFds == 1) { in flushLockedBuffer()
[all …]
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp224 auto fenceHandle = tmpReleaseFence.getNativeHandle(); in unlock() local
225 if (fenceHandle) { in unlock()
226 ASSERT_EQ(0, fenceHandle->numInts) << "invalid fence handle " << fenceHandle; in unlock()
227 if (fenceHandle->numFds == 1) { in unlock()
228 releaseFence = dup(fenceHandle->data[0]); in unlock()
231 ASSERT_EQ(0, fenceHandle->numFds) << " invalid fence handle " << fenceHandle; in unlock()
/hardware/interfaces/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp246 auto fenceHandle = tmpReleaseFence.getNativeHandle(); in unlock() local
247 if (fenceHandle) { in unlock()
248 ASSERT_EQ(0, fenceHandle->numInts) << "invalid fence handle " << fenceHandle; in unlock()
249 if (fenceHandle->numFds == 1) { in unlock()
250 releaseFence = dup(fenceHandle->data[0]); in unlock()
253 ASSERT_EQ(0, fenceHandle->numFds) << " invalid fence handle " << fenceHandle; in unlock()
/hardware/google/gchips/gralloc3/src/
DGrallocWrapper.cpp174 auto fenceHandle = tmpReleaseFence.getNativeHandle(); in unlock() local
175 if (fenceHandle && fenceHandle->numFds == 1) { in unlock()
176 int fd = dup(fenceHandle->data[0]); in unlock()
181 sync_wait(fenceHandle->data[0], -1); in unlock()
DGrallocMapper.h118 bool getFenceFd(const hidl_handle& fenceHandle, int* outFenceFd) const;
DGrallocMapper.cpp304 bool GrallocMapper::getFenceFd(const hidl_handle& fenceHandle, in getFenceFd() argument
307 auto const handle = fenceHandle.getNativeHandle(); in getFenceFd()
/hardware/interfaces/camera/common/1.0/default/
DHandleImporter.cpp213 auto fenceHandle = tmpReleaseFence.getNativeHandle(); in unlockInternal() local
214 if (fenceHandle) { in unlockInternal()
215 if (fenceHandle->numInts != 0 || fenceHandle->numFds != 1) { in unlockInternal()
217 __FUNCTION__, fenceHandle->numInts, fenceHandle->numFds); in unlockInternal()
220 releaseFence = dup(fenceHandle->data[0]); in unlockInternal()
/hardware/interfaces/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/
DMapper.h172 static Error getFenceFd(const hidl_handle& fenceHandle, base::unique_fd* outFenceFd) { in getFenceFd() argument
173 auto handle = fenceHandle.getNativeHandle(); in getFenceFd()
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/
DComposerClient.h183 static Error getFenceFd(const hidl_handle& fenceHandle, base::unique_fd* outFenceFd) { in getFenceFd() argument
184 auto handle = fenceHandle.getNativeHandle(); in getFenceFd()
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DReadbackVts.cpp222 int32_t fenceHandle; in checkReadbackBuffer() local
223 ASSERT_NO_FATAL_FAILURE(mComposerClient->getReadbackBufferFence(mDisplay, &fenceHandle)); in checkReadbackBuffer()
225 void* bufData = mGralloc->lock(mBufferHandle->get(), mUsage, mAccessRegion, fenceHandle); in checkReadbackBuffer()
/hardware/google/gchips/gralloc4/src/hidl_common/
DMapper.cpp112 static bool getFenceFd(const hidl_handle& fenceHandle, int* outFenceFd) in getFenceFd() argument
114 auto const handle = fenceHandle.getNativeHandle(); in getFenceFd()