Home
last modified time | relevance | path

Searched refs:acquireFence (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/services/surfaceflinger/
DFenceTracker.cpp102 if (layer.acquireFence != Fence::NO_FENCE) { in checkFencesForCompletion()
103 nsecs_t time = layer.acquireFence->getSignalTime(); in checkFencesForCompletion()
106 layer.acquireFence = Fence::NO_FENCE; in checkFencesForCompletion()
136 sp<Fence> acquireFence; in addFrame() local
141 &postedTime, &acquireFence, &prevReleaseFence); in addFrame()
147 postedTime, 0, 0, acquireFence, prevReleaseFence)); in addFrame()
153 postedTime, 0, 0, acquireFence, Fence::NO_FENCE)); in addFrame()
164 postedTime, 0, 0, acquireFence, in addFrame()
173 postedTime, 0, 0, acquireFence, prevReleaseFence)); in addFrame()
DFenceTracker.h54 sp<Fence> acquireFence; // acquire fence member
60 sp<Fence> acquireFence, sp<Fence> releaseFence) : in LayerRecord()
64 acquireFence(acquireFence), releaseFence(releaseFence) {}; in LayerRecord()
67 releaseTime(0), acquireFence(Fence::NO_FENCE), in LayerRecord()
DLayer.cpp745 auto acquireFence = mSurfaceFlingerConsumer->getCurrentFence(); local
746 error = hwcLayer->setBuffer(mActiveBuffer->handle, acquireFence);
/frameworks/native/services/surfaceflinger/DisplayHardware/
DFramebufferSurface.cpp105 sp<Fence> acquireFence(Fence::NO_FENCE); in advanceFrame() local
107 status_t result = nextBuffer(buf, acquireFence, dataspace); in advanceFrame()
113 result = mHwc.setClientTarget(mDisplayType, acquireFence, buf, dataspace); in advanceFrame()
184 sp<Fence> acquireFence; in nextBuffer() local
185 status_t err = nextBuffer(buf, acquireFence); in nextBuffer()
191 err = mHwc.fbPost(mDisplayType, acquireFence, buf); in nextBuffer()
DHWComposer_hwc1.h132 int fbPost(int32_t id, const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buf);
138 status_t setOutputBuffer(int32_t id, const sp<Fence>& acquireFence,
326 const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buf);
DHWComposer.h95 status_t setClientTarget(int32_t displayId, const sp<Fence>& acquireFence,
126 status_t setOutputBuffer(int32_t displayId, const sp<Fence>& acquireFence,
DHWComposer_hwc1.cpp631 const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buf) { in setFramebufferTarget() argument
645 if (acquireFence->isValid()) { in setFramebufferTarget()
646 acquireFenceFd = acquireFence->dup(); in setFramebufferTarget()
861 const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buffer) { in fbPost() argument
863 return setFramebufferTarget(id, acquireFence, buffer); in fbPost()
865 acquireFence->waitForever("HWComposer::fbPost"); in fbPost()
890 status_t HWComposer::setOutputBuffer(int32_t id, const sp<Fence>& acquireFence, in setOutputBuffer() argument
899 disp.outbufAcquireFence = acquireFence; in setOutputBuffer()
DHWComposer.cpp398 const sp<Fence>& acquireFence, const sp<GraphicBuffer>& target, in setClientTarget() argument
410 auto error = hwcDisplay->setClientTarget(handle, acquireFence, dataspace); in setClientTarget()
699 const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buffer) { in setOutputBuffer() argument
719 error = hwcDisplay->setOutputBuffer(buffer, acquireFence); in setOutputBuffer()
DHWC2.h306 const android::sp<android::Fence>& acquireFence,
367 const android::sp<android::Fence>& acquireFence);
DHWC2.cpp783 const sp<Fence>& acquireFence, android_dataspace_t dataspace) in setClientTarget() argument
786 int32_t fenceFd = acquireFence->dup(); in setClientTarget()
959 const sp<Fence>& acquireFence) in setBuffer() argument
961 int32_t fenceFd = acquireFence->dup(); in setBuffer()
DHWC2On1Adapter.cpp886 int32_t acquireFence, int32_t /*dataspace*/, hwc_region_t /*damage*/) in setClientTarget() argument
890 ALOGV("[%" PRIu64 "] setClientTarget(%p, %d)", mId, target, acquireFence); in setClientTarget()
892 mClientTarget.setFence(acquireFence); in setClientTarget()
1992 int32_t acquireFence) in setBuffer() argument
1994 ALOGV("Setting acquireFence to %d for layer %" PRIu64, acquireFence, mId); in setBuffer()
1996 mBuffer.setFence(acquireFence); in setBuffer()
DHWC2On1Adapter.h214 int32_t acquireFence, int32_t dataspace,
504 HWC2::Error setBuffer(buffer_handle_t buffer, int32_t acquireFence);
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3IOStreamBase.cpp148 int acquireFence, in handoutBufferLocked() argument
160 buffer.acquire_fence = acquireFence; in handoutBufferLocked()