Home
last modified time | relevance | path

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

/hardware/interfaces/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/
DMapper.h99 base::unique_fd fenceFd; in lock() local
100 Error error = getFenceFd(acquireFence, &fenceFd); in lock()
107 error = mHal->lock(bufferHandle, cpuUsage, accessRegion, std::move(fenceFd), &data); in lock()
121 base::unique_fd fenceFd; in lockYCbCr() local
122 Error error = getFenceFd(acquireFence, &fenceFd); in lockYCbCr()
129 error = mHal->lockYCbCr(bufferHandle, cpuUsage, accessRegion, std::move(fenceFd), &layout); in lockYCbCr()
141 base::unique_fd fenceFd; in unlock() local
142 Error error = mHal->unlock(bufferHandle, &fenceFd); in unlock()
149 hidl_cb(error, getFenceHandle(fenceFd, fenceStorage)); in unlock()
179 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/google/gchips/gralloc4/src/hidl_common/
DMapper.cpp133 static hidl_handle getFenceHandle(int fenceFd, char* handleStorage) in getFenceHandle() argument
136 if (fenceFd >= 0) in getFenceHandle()
139 handle->data[0] = fenceFd; in getFenceHandle()
161 const IMapper::Rect& accessRegion, int fenceFd, in lockBuffer() argument
167 if (fenceFd >= 0) in lockBuffer()
169 fenceFd = dup(fenceFd); in lockBuffer()
170 if (fenceFd < 0) in lockBuffer()
179 if (fenceFd >= 0) in lockBuffer()
181 close(fenceFd); in lockBuffer()
189 if (fenceFd >= 0) in lockBuffer()
[all …]
/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/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/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/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/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/google/graphics/common/libhwc2.1/libhwchelper/
DExynosHWCHelper.cpp704 void setFenceName(int fenceFd, HwcFenceType fenceType) { in setFenceName() argument
705 if (fenceFd >= 3) in setFenceName()
706 ioctl(fenceFd, SYNC_IOC_FENCE_NAME, fence_names[fenceType]); in setFenceName()
707 else if (fenceFd == -1) { in setFenceName()
DExynosHWCHelper.h553 void setFenceName(int fenceFd, HwcFenceType fenceType);
/hardware/qcom/sm7250/display/composer/
DQtiComposerClient.cpp202 int fenceFd = (handle && handle->numFds == 1) ? handle->data[0] : -1; in getFence() local
203 *outFence = Fence::Create(dup(fenceFd), name); in getFence()