Home
last modified time | relevance | path

Searched refs:fenceFd (Results 1 – 20 of 20) sorted by relevance

/hardware/interfaces/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/
DMapper.h103 base::unique_fd fenceFd; in lock() local
104 Error error = getFenceFd(acquireFence, &fenceFd); in lock()
111 error = mHal->lock(bufferHandle, cpuUsage, accessRegion, std::move(fenceFd), &data); in lock()
125 base::unique_fd fenceFd; in lockYCbCr() local
126 Error error = getFenceFd(acquireFence, &fenceFd); in lockYCbCr()
133 error = mHal->lockYCbCr(bufferHandle, cpuUsage, accessRegion, std::move(fenceFd), &layout); in lockYCbCr()
145 base::unique_fd fenceFd; in unlock() local
146 Error error = mHal->unlock(bufferHandle, &fenceFd); in unlock()
153 hidl_cb(error, getFenceHandle(fenceFd, fenceStorage)); in unlock()
183 int fenceFd = (handle && handle->numFds == 1) ? handle->data[0] : -1; in getFenceFd() local
[all …]
DMapperHal.h46 const IMapper::Rect& accessRegion, base::unique_fd fenceFd,
51 const IMapper::Rect& accessRegion, base::unique_fd fenceFd,
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
DGralloc0Hal.h105 const IMapper::Rect& accessRegion, base::unique_fd fenceFd, in lock() argument
112 &data, fenceFd.release()); in lock()
114 waitFenceFd(fenceFd, "Gralloc0Hal::lock"); in lock()
130 const IMapper::Rect& accessRegion, base::unique_fd fenceFd, in lockYCbCr() argument
137 accessRegion.height, &ycbcr, fenceFd.release()); in lockYCbCr()
139 waitFenceFd(fenceFd, "Gralloc0Hal::lockYCbCr"); in lockYCbCr()
165 int fenceFd = -1; in unlock() local
167 result = mModule->unlockAsync(mModule, bufferHandle, &fenceFd); in unlock()
173 outFenceFd->reset(fenceFd); in unlock()
188 static void waitFenceFd(const base::unique_fd& fenceFd, const char* logname) { in waitFenceFd() argument
[all …]
DGralloc1Hal.h125 const IMapper::Rect& accessRegion, base::unique_fd fenceFd, in lock() argument
132 &data, fenceFd.release()); in lock()
141 const IMapper::Rect& accessRegion, base::unique_fd fenceFd, in lockYCbCr() argument
156 &flex, fenceFd.release()); in lockYCbCr()
160 unlock(bufferHandle, &fenceFd); in lockYCbCr()
168 int fenceFd = -1; in unlock() local
169 int32_t error = mDispatch.unlock(mDevice, bufferHandle, &fenceFd); in unlock()
172 outFenceFd->reset(fenceFd); in unlock()
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/
DComposerClient.h70 base::unique_fd fenceFd; in getReadbackBufferFence() local
71 Error error = mHal->getReadbackBufferFence(display, &fenceFd); in getReadbackBufferFence()
78 hidl_cb(error, getFenceHandle(fenceFd, fenceStorage)); in getReadbackBufferFence()
84 base::unique_fd fenceFd; in setReadbackBuffer() local
85 Error error = getFenceFd(releaseFence, &fenceFd); in setReadbackBuffer()
99 return mHal->setReadbackBuffer(display, readbackBuffer, std::move(fenceFd)); in setReadbackBuffer()
190 int fenceFd = (handle && handle->numFds == 1) ? handle->data[0] : -1; in getFenceFd() local
191 if (fenceFd >= 0) { in getFenceFd()
192 fenceFd = dup(fenceFd); in getFenceFd()
193 if (fenceFd < 0) { in getFenceFd()
[all …]
DComposerHal.h76 base::unique_fd fenceFd) = 0;
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DMiniFence.cpp29 MiniFence::MiniFence(int fenceFd) : in MiniFence() argument
30 mFenceFd(fenceFd) { in MiniFence()
DHWC2On1Adapter.cpp1308 void HWC2On1Adapter::Display::addRetireFence(int fenceFd) { in addRetireFence() argument
1310 mRetireFence.add(fenceFd); in addRetireFence()
2039 void HWC2On1Adapter::Layer::addReleaseFence(int fenceFd) { in addReleaseFence() argument
2040 ALOGV("addReleaseFence %d to layer %" PRIu64, fenceFd, mId); in addReleaseFence()
2041 mReleaseFence.add(fenceFd); in addReleaseFence()
/hardware/libhardware/include/hardware/
Dgralloc.h285 void** vaddr, int fenceFd);
299 buffer_handle_t handle, int* fenceFd);
315 struct android_ycbcr *ycbcr, int fenceFd);
/hardware/google/av/media/sfplugin/
DC2OMXNode.cpp200 buffer_id buffer, const OMXBuffer &omxBuf, int fenceFd) { in fillBuffer() argument
203 (void)fenceFd; in fillBuffer()
209 OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) { in emptyBuffer() argument
211 if (fenceFd >= 0) { in emptyBuffer()
212 sp<Fence> fence = new Fence(fenceFd); in emptyBuffer()
DC2OMXNode.h69 buffer_id buffer, const OMXBuffer &omxBuf, int fenceFd) override;
72 OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) override;
/hardware/interfaces/graphics/composer/2.2/utils/passthrough/include/composer-passthrough/2.2/
DHwcHal.h116 base::unique_fd fenceFd) override { in setReadbackBuffer() argument
122 mDispatch.setReadbackBuffer(mDevice, display, bufferHandle, fenceFd.release()); in setReadbackBuffer()
131 int32_t fenceFd = -1; in getReadbackBufferFence() local
132 int32_t error = mDispatch.getReadbackBufferFence(mDevice, display, &fenceFd); in getReadbackBufferFence()
133 outFenceFd->reset(fenceFd); in getReadbackBufferFence()
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/include/hwc2on1adapter/
DMiniFence.h37 explicit MiniFence(int fenceFd);
DHWC2On1Adapter.h160 void add(int32_t fenceFd) { in add() argument
161 mFences.emplace(new MiniFence(fenceFd)); in add()
179 void setFence(int fenceFd) { mFence = new MiniFence(fenceFd); } in setFence() argument
267 void addRetireFence(int fenceFd);
557 void addReleaseFence(int fenceFd);
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.h140 void add(int32_t fenceFd) { in add() argument
141 mFences.emplace(new Fence(fenceFd)); in add()
159 void setFence(int fenceFd) { mFence = new Fence(fenceFd); } in setFence() argument
238 void addRetireFence(int fenceFd);
534 void addReleaseFence(int fenceFd);
DHWC2On1Adapter.cpp1397 void HWC2On1Adapter::Display::addRetireFence(int fenceFd) in addRetireFence() argument
1400 mRetireFence.add(fenceFd); in addRetireFence()
2104 void HWC2On1Adapter::Layer::addReleaseFence(int fenceFd) in addReleaseFence() argument
2106 ALOGV("addReleaseFence %d to layer %" PRIu64, fenceFd, mId); in addReleaseFence()
2107 mReleaseFence.add(fenceFd); in addReleaseFence()
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
DGralloc1On0Adapter.cpp521 int fenceFd = -1; in unlock() local
523 &fenceFd); in unlock()
525 close(fenceFd); in unlock()
528 *outReleaseFence = fenceFd; in unlock()
/hardware/google/av/codec2/hidl/1.0/utils/
DInputSurfaceConnection.cpp164 int fenceFd) override { in submitBuffer()
167 (void)fenceFd; in submitBuffer()
Dtypes.cpp674 int fenceFd = -1; in objcpy() local
676 if (fenceFd >= 0) { in objcpy()
681 handle->data[0] = fenceFd; in objcpy()
/hardware/google/av/codec2/vndk/
DC2AllocatorIon.cpp129 virtual c2_status_t unmap(void *addr, size_t size, C2Fence *fenceFd) override;