Searched refs:releaseFence (Results 1 - 21 of 21) sorted by relevance

/frameworks/native/services/surfaceflinger/
H A DFenceTracker.h57 sp<Fence> releaseFence; // release fence member in struct:android::FenceTracker::LayerRecord
62 sp<Fence> acquireFence, sp<Fence> releaseFence) :
66 acquireFence(acquireFence), releaseFence(releaseFence) {};
70 releaseFence(Fence::NO_FENCE) {};
59 LayerRecord(const String8& name, uint64_t frameNumber, bool isGlesComposition, nsecs_t postedTime, nsecs_t acquireTime, nsecs_t releaseTime, sp<Fence> acquireFence, sp<Fence> releaseFence) argument
H A DFenceTracker.cpp111 if (layer.releaseFence != Fence::NO_FENCE) {
112 nsecs_t time = layer.releaseFence->getSignalTime();
115 layer.releaseFence = Fence::NO_FENCE;
158 prevLayer->second.releaseFence = prevReleaseFence;
H A DLayer.h266 void onLayerDisplayed(const sp<Fence>& releaseFence);
H A DSurfaceFlinger.cpp1412 sp<Fence> releaseFence = Fence::NO_FENCE; local
1414 releaseFence = displayDevice->getClientTargetAcquireFence();
1417 releaseFence = mHwc->getLayerReleaseFence(hwcId, hwcLayer);
1419 layer->onLayerDisplayed(releaseFence);
H A DLayer.cpp197 void Layer::onLayerDisplayed(const sp<Fence>& releaseFence) { argument
201 mSurfaceFlingerConsumer->setReleaseFence(releaseFence);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3IOStreamBase.cpp149 int releaseFence,
161 buffer.release_fence = releaseFence;
233 sp<Fence> releaseFence; local
235 &releaseFence);
240 if (releaseFence != 0) {
241 mCombinedFence = Fence::merge(mName, mCombinedFence, releaseFence);
146 handoutBufferLocked(camera3_stream_buffer &buffer, buffer_handle_t *handle, int acquireFence, int releaseFence, camera3_buffer_status_t status, bool output) argument
H A DCamera3InputStream.cpp85 /*releaseFence*/-1, CAMERA3_BUFFER_STATUS_OK, /*output*/false);
147 sp<Fence> releaseFence = new Fence(buffer.release_fence); local
148 res = mConsumer->releaseBuffer(bufferItem, releaseFence);
154 *releaseFenceOut = releaseFence;
H A DCamera3ZslStream.cpp180 /*releaseFence*/-1, CAMERA3_BUFFER_STATUS_OK, /*output*/false);
250 sp<Fence> releaseFence = new Fence(releaseFenceFd); local
251 bufferItem->getBufferItem().mFence = releaseFence;
254 *releaseFenceOut = releaseFence;
H A DCamera3OutputStream.cpp223 /*releaseFence*/-1, CAMERA3_BUFFER_STATUS_OK, /*output*/true);
257 sp<Fence> releaseFence = new Fence(buffer.release_fence); local
258 int anwReleaseFence = releaseFence->dup();
328 *releaseFenceOut = releaseFence;
/frameworks/native/include/gui/
H A DBufferQueueConsumer.h71 const sp<Fence>& releaseFence, EGLDisplay display,
155 const sp<Fence>& releaseFence) {
156 return releaseBuffer(buf, frameNumber, releaseFence, display, fence);
153 releaseBuffer(int buf, uint64_t frameNumber, EGLDisplay display, EGLSyncKHR fence, const sp<Fence>& releaseFence) argument
H A DBufferItemConsumer.h87 const sp<Fence>& releaseFence = Fence::NO_FENCE);
H A DIGraphicBufferConsumer.h148 const sp<Fence>& releaseFence) = 0;
/frameworks/native/libs/gui/
H A DBufferItemConsumer.cpp91 const sp<Fence>& releaseFence) {
96 err = addReleaseFenceLocked(item.mSlot, item.mGraphicBuffer, releaseFence);
90 releaseBuffer(const BufferItem &item, const sp<Fence>& releaseFence) argument
H A DIGraphicBufferConsumer.cpp114 const sp<Fence>& releaseFence) {
119 data.write(*releaseFence);
359 sp<Fence> releaseFence = new Fence(); local
360 status_t err = data.read(*releaseFence);
363 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, releaseFence);
112 releaseBuffer(int buf, uint64_t frameNumber, EGLDisplay display __attribute__((unused)), EGLSyncKHR fence __attribute__((unused)), const sp<Fence>& releaseFence) argument
H A DBufferQueueConsumer.cpp403 const sp<Fence>& releaseFence, EGLDisplay eglDisplay,
409 releaseFence == NULL) {
411 releaseFence.get());
438 mSlots[slot].mFence = releaseFence;
402 releaseBuffer(int slot, uint64_t frameNumber, const sp<Fence>& releaseFence, EGLDisplay eglDisplay, EGLSyncKHR eglFence) argument
/frameworks/native/include/ui/
H A DGralloc1On0Adapter.h454 sp<Fence> releaseFence = Fence::NO_FENCE; local
455 auto error = adapter->unlock(buffer, &releaseFence);
457 *outReleaseFenceFd = releaseFence->dup();
/frameworks/base/media/jni/
H A Dandroid_media_ImageReader.cpp450 sp<Fence> releaseFence = new Fence(fenceFd); local
451 return releaseFence;
473 sp<Fence> releaseFence = Image_unlockIfLocked(env, image); local
474 bufferConsumer->releaseBuffer(*buffer, releaseFence);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWC2On1Adapter.cpp780 auto releaseFence = layer->getReleaseFence(); local
781 if (releaseFence != Fence::NO_FENCE) {
784 outFences[numWritten] = releaseFence->dup();
938 int32_t releaseFence)
942 ALOGV("[%" PRIu64 "] setOutputBuffer(%p, %d)", mId, buffer, releaseFence);
944 mOutputBuffer.setFence(releaseFence);
937 setOutputBuffer(buffer_handle_t buffer, int32_t releaseFence) argument
H A DHWC2.h315 const android::sp<android::Fence>& releaseFence);
H A DHWC2.cpp826 const sp<Fence>& releaseFence)
828 int32_t fenceFd = releaseFence->dup();
825 setOutputBuffer(const sp<GraphicBuffer>& buffer, const sp<Fence>& releaseFence) argument
H A DHWC2On1Adapter.h219 int32_t releaseFence);

Completed in 1567 milliseconds