Home
last modified time | relevance | path

Searched refs:releaseFence (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/av/services/camera/libcameraservice/device3/
DCamera3IOStreamBase.cpp156 int releaseFence, in handoutBufferLocked() argument
168 buffer.release_fence = releaseFence; in handoutBufferLocked()
241 sp<Fence> releaseFence; in returnAnyBufferLocked() local
243 &releaseFence); in returnAnyBufferLocked()
248 if (releaseFence != 0) { in returnAnyBufferLocked()
249 mCombinedFence = Fence::merge(mName, mCombinedFence, releaseFence); in returnAnyBufferLocked()
DCamera3InputStream.cpp154 sp<Fence> releaseFence = new Fence(buffer.release_fence); in returnBufferCheckedLocked() local
155 res = mConsumer->releaseBuffer(bufferItem, releaseFence); in returnBufferCheckedLocked()
161 *releaseFenceOut = releaseFence; in returnBufferCheckedLocked()
DCamera3OutputStream.cpp221 sp<Fence> releaseFence = new Fence(buffer.release_fence); in returnBufferCheckedLocked() local
222 int anwReleaseFence = releaseFence->dup(); in returnBufferCheckedLocked()
300 *releaseFenceOut = releaseFence; in returnBufferCheckedLocked()
/frameworks/native/libs/gui/include/gui/
DBufferQueueConsumer.h72 const sp<Fence>& releaseFence, EGLDisplay display,
161 const sp<Fence>& releaseFence) { in releaseBuffer() argument
162 return releaseBuffer(buf, frameNumber, releaseFence, display, fence); in releaseBuffer()
DIGraphicBufferConsumer.h134 EGLSyncKHR fence, const sp<Fence>& releaseFence) = 0;
136 status_t releaseHelper(int buf, uint64_t frameNumber, const sp<Fence>& releaseFence) { in releaseHelper() argument
137 return releaseBuffer(buf, frameNumber, EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, releaseFence); in releaseHelper()
DBufferItemConsumer.h86 const sp<Fence>& releaseFence = Fence::NO_FENCE);
DBufferHubConsumer.h48 const sp<Fence>& releaseFence) override;
DFrameTimestamps.h96 std::shared_ptr<FenceTime> releaseFence{FenceTime::NO_FENCE};
/frameworks/base/libs/hwui/surfacetexture/
DImageConsumer.cpp241 sp<Fence> releaseFence; in dequeueImage() local
248 releaseFence); in dequeueImage()
251 releaseFence, renderState.getRenderThread().getGrContext()); in dequeueImage()
259 if (releaseFence.get()) { in dequeueImage()
261 st.mCurrentTexture, st.mSlots[st.mCurrentTexture].mGraphicBuffer, releaseFence); in dequeueImage()
/frameworks/native/libs/gui/
DBufferItemConsumer.cpp89 const sp<Fence>& releaseFence) { in releaseBuffer() argument
94 err = addReleaseFenceLocked(item.mSlot, item.mGraphicBuffer, releaseFence); in releaseBuffer()
DFrameTimestamps.cpp88 releaseFence->getSignalTime(); in checkFencesForCompletion()
151 true, *releaseFence); in dump()
301 frame.releaseFence = FenceTime::NO_FENCE; in applyDelta()
311 &frame.releaseFence, d.mReleaseFence); in applyDelta()
451 frame->releaseFence = std::move(release); in addRelease()
516 mReleaseFence = frameTimestamps.releaseFence->getSnapshot(); in FrameEventsDelta()
DBufferQueueConsumer.cpp412 const sp<Fence>& releaseFence, EGLDisplay eglDisplay, in releaseBuffer() argument
418 releaseFence == nullptr) { in releaseBuffer()
420 releaseFence.get()); in releaseBuffer()
447 mSlots[slot].mFence = releaseFence; in releaseBuffer()
DIGraphicBufferConsumer.cpp86 const sp<Fence>& releaseFence) override { in releaseBuffer() argument
87 return callRemote<ReleaseBuffer>(Tag::RELEASE_BUFFER, buf, frameNumber, releaseFence); in releaseBuffer()
/frameworks/native/libs/ui/
DGralloc2.cpp324 int releaseFence = -1; in unlock() local
338 releaseFence = fd; in unlock()
351 return releaseFence; in unlock()
DGralloc3.cpp282 int releaseFence = -1; in unlock() local
294 releaseFence = fd; in unlock()
310 return releaseFence; in unlock()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp475 sp<Fence> releaseFence = new Fence(fenceFd); in Image_unlockIfLocked() local
476 return releaseFence; in Image_unlockIfLocked()
498 sp<Fence> releaseFence = Image_unlockIfLocked(env, image); in ImageReader_imageRelease() local
499 bufferConsumer->releaseBuffer(*buffer, releaseFence); in ImageReader_imageRelease()
/frameworks/native/services/surfaceflinger/
DBufferQueueLayer.h41 void onLayerDisplayed(const sp<Fence>& releaseFence) override;
DBufferQueueLayer.cpp46 void BufferQueueLayer::onLayerDisplayed(const sp<Fence>& releaseFence) { in onLayerDisplayed() argument
47 mConsumer->setReleaseFence(releaseFence); in onLayerDisplayed()
DBufferStateLayer.h43 void onLayerDisplayed(const sp<Fence>& releaseFence) override;
DBufferStateLayer.cpp67 void BufferStateLayer::onLayerDisplayed(const sp<Fence>& releaseFence) { in onLayerDisplayed() argument
86 handle->previousReleaseFence = releaseFence; in onLayerDisplayed()
/frameworks/native/libs/gui/bufferqueue/1.0/
DConversion.cpp698 getFlattenedSize(t.releaseFence); in getFlattenedSize()
713 getFdCount(t.releaseFence); in getFdCount()
767 tSnapshot[3] = &t->releaseFence; in unflatten()
831 tSnapshot[3] = &t.releaseFence; in flatten()
/frameworks/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp830 [&err, &fence](const auto &maperr, const auto &releaseFence) { in unmap() argument
833 (void) releaseFence; in unmap()
845 [&err, &fence](const auto &maperr, const auto &releaseFence) { in unmap() argument
848 (void) releaseFence; in unmap()
/frameworks/base/config/
Dhiddenapi-force-blacklist.txt31 Ljava/lang/invoke/VarHandle;->releaseFence()V
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.h258 const android::sp<android::Fence>& releaseFence) = 0;
319 const android::sp<android::Fence>& releaseFence) override;
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerClient.h96 Error setOutputBuffer(Display display, buffer_handle_t buffer, int32_t releaseFence) override;

12