/frameworks/native/services/surfaceflinger/ |
H A D | FenceTracker.h | 57 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 D | FenceTracker.cpp | 111 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 D | Layer.h | 266 void onLayerDisplayed(const sp<Fence>& releaseFence);
|
H A D | SurfaceFlinger.cpp | 1412 sp<Fence> releaseFence = Fence::NO_FENCE; local 1414 releaseFence = displayDevice->getClientTargetAcquireFence(); 1417 releaseFence = mHwc->getLayerReleaseFence(hwcId, hwcLayer); 1419 layer->onLayerDisplayed(releaseFence);
|
H A D | Layer.cpp | 197 void Layer::onLayerDisplayed(const sp<Fence>& releaseFence) { argument 201 mSurfaceFlingerConsumer->setReleaseFence(releaseFence);
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3IOStreamBase.cpp | 149 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 D | Camera3InputStream.cpp | 85 /*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 D | Camera3ZslStream.cpp | 180 /*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 D | Camera3OutputStream.cpp | 223 /*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 D | BufferQueueConsumer.h | 71 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 D | BufferItemConsumer.h | 87 const sp<Fence>& releaseFence = Fence::NO_FENCE);
|
H A D | IGraphicBufferConsumer.h | 148 const sp<Fence>& releaseFence) = 0;
|
/frameworks/native/libs/gui/ |
H A D | BufferItemConsumer.cpp | 91 const sp<Fence>& releaseFence) { 96 err = addReleaseFenceLocked(item.mSlot, item.mGraphicBuffer, releaseFence); 90 releaseBuffer(const BufferItem &item, const sp<Fence>& releaseFence) argument
|
H A D | IGraphicBufferConsumer.cpp | 114 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 D | BufferQueueConsumer.cpp | 403 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 D | Gralloc1On0Adapter.h | 454 sp<Fence> releaseFence = Fence::NO_FENCE; local 455 auto error = adapter->unlock(buffer, &releaseFence); 457 *outReleaseFenceFd = releaseFence->dup();
|
/frameworks/base/media/jni/ |
H A D | android_media_ImageReader.cpp | 450 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 D | HWC2On1Adapter.cpp | 780 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 D | HWC2.h | 315 const android::sp<android::Fence>& releaseFence);
|
H A D | HWC2.cpp | 826 const sp<Fence>& releaseFence) 828 int32_t fenceFd = releaseFence->dup(); 825 setOutputBuffer(const sp<GraphicBuffer>& buffer, const sp<Fence>& releaseFence) argument
|
H A D | HWC2On1Adapter.h | 219 int32_t releaseFence);
|