/frameworks/native/services/surfaceflinger/ |
H A D | FenceTracker.h | 56 sp<Fence> acquireFence; // acquire fence member in struct:android::FenceTracker::LayerRecord 62 sp<Fence> acquireFence, sp<Fence> releaseFence) : 66 acquireFence(acquireFence), releaseFence(releaseFence) {}; 69 releaseTime(0), acquireFence(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 | 104 if (layer.acquireFence != Fence::NO_FENCE) { 105 nsecs_t time = layer.acquireFence->getSignalTime(); 108 layer.acquireFence = Fence::NO_FENCE; 138 sp<Fence> acquireFence; local 143 &postedTime, &acquireFence, &prevReleaseFence); 149 postedTime, 0, 0, acquireFence, prevReleaseFence)); 155 postedTime, 0, 0, acquireFence, Fence::NO_FENCE)); 165 postedTime, 0, 0, acquireFence, 174 postedTime, 0, 0, acquireFence, prevReleaseFence));
|
H A D | Layer.cpp | 769 auto acquireFence = mSurfaceFlingerConsumer->getCurrentFence(); local 770 error = hwcLayer->setBuffer(mActiveBuffer->handle, acquireFence);
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | FramebufferSurface.cpp | 105 sp<Fence> acquireFence(Fence::NO_FENCE); 107 status_t result = nextBuffer(buf, acquireFence, dataspace); 113 result = mHwc.setClientTarget(mDisplayType, acquireFence, buf, dataspace); 184 sp<Fence> acquireFence; local 185 status_t err = nextBuffer(buf, acquireFence); 191 err = mHwc.fbPost(mDisplayType, acquireFence, buf);
|
H A D | HWComposer_hwc1.h | 134 int fbPost(int32_t id, const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buf); 140 status_t setOutputBuffer(int32_t id, const sp<Fence>& acquireFence, 337 const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buf);
|
H A D | HWComposer.h | 97 status_t setClientTarget(int32_t displayId, const sp<Fence>& acquireFence, 131 status_t setOutputBuffer(int32_t displayId, const sp<Fence>& acquireFence,
|
H A D | HWComposer_hwc1.cpp | 638 const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buf) { 652 if (acquireFence->isValid()) { 653 acquireFenceFd = acquireFence->dup(); 868 const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buffer) { 870 return setFramebufferTarget(id, acquireFence, buffer); 872 acquireFence->waitForever("HWComposer::fbPost"); 897 status_t HWComposer::setOutputBuffer(int32_t id, const sp<Fence>& acquireFence, 906 disp.outbufAcquireFence = acquireFence; 637 setFramebufferTarget(int32_t id, const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buf) argument
|
H A D | HWC2.h | 308 const android::sp<android::Fence>& acquireFence, 369 const android::sp<android::Fence>& acquireFence);
|
H A D | HWComposer.cpp | 443 const sp<Fence>& acquireFence, const sp<GraphicBuffer>& target, 455 auto error = hwcDisplay->setClientTarget(handle, acquireFence, dataspace); 780 const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buffer) { 800 error = hwcDisplay->setOutputBuffer(buffer, acquireFence); 442 setClientTarget(int32_t displayId, const sp<Fence>& acquireFence, const sp<GraphicBuffer>& target, android_dataspace_t dataspace) argument 779 setOutputBuffer(int32_t displayId, const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buffer) argument
|
H A D | HWC2.cpp | 802 const sp<Fence>& acquireFence, android_dataspace_t dataspace) 805 int32_t fenceFd = acquireFence->dup(); 979 const sp<Fence>& acquireFence) 981 int32_t fenceFd = acquireFence->dup(); 801 setClientTarget(buffer_handle_t target, const sp<Fence>& acquireFence, android_dataspace_t dataspace) argument 978 setBuffer(buffer_handle_t buffer, const sp<Fence>& acquireFence) argument
|
H A D | HWC2On1Adapter.cpp | 884 int32_t acquireFence, int32_t /*dataspace*/, hwc_region_t /*damage*/) 888 ALOGV("[%" PRIu64 "] setClientTarget(%p, %d)", mId, target, acquireFence); 890 mClientTarget.setFence(acquireFence); 2002 int32_t acquireFence) 2004 ALOGV("Setting acquireFence to %d for layer %" PRIu64, acquireFence, mId); 2006 mBuffer.setFence(acquireFence); 883 setClientTarget(buffer_handle_t target, int32_t acquireFence, int32_t , hwc_region_t ) argument 2001 setBuffer(buffer_handle_t buffer, int32_t acquireFence) argument
|
H A D | HWC2On1Adapter.h | 214 int32_t acquireFence, int32_t dataspace, 511 HWC2::Error setBuffer(buffer_handle_t buffer, int32_t acquireFence);
|
/frameworks/native/include/ui/ |
H A D | Gralloc1.h | 109 const sp<Fence>& acquireFence); 114 struct android_flex_layout* outData, const sp<Fence>& acquireFence); 119 const sp<Fence>& acquireFence); 133 const sp<Fence>& acquireFence) { 137 acquireFence->dup()); 129 lockHelper(LockType pfn, buffer_handle_t buffer, gralloc1_producer_usage_t producerUsage, gralloc1_consumer_usage_t consumerUsage, const gralloc1_rect_t* accessRegion, OutType* outData, const sp<Fence>& acquireFence) argument
|
H A D | Gralloc1On0Adapter.h | 57 int32_t acquireFence); 371 const sp<Fence>& acquireFence); 377 const sp<Fence>& acquireFence); 383 const sp<Fence>& acquireFence); 437 sp<Fence> acquireFence{new Fence(acquireFenceFd)}; 439 *accessRegion, outData, acquireFence);
|
/frameworks/native/libs/ui/ |
H A D | Gralloc1.cpp | 233 const sp<Fence>& acquireFence) 237 consumerUsage, accessRegion, outData, acquireFence); 245 const sp<Fence>& acquireFence) 249 consumerUsage, accessRegion, outData, acquireFence); 257 const sp<Fence>& acquireFence) 261 consumerUsage, accessRegion, outData, acquireFence); 229 lock(buffer_handle_t buffer, gralloc1_producer_usage_t producerUsage, gralloc1_consumer_usage_t consumerUsage, const gralloc1_rect_t* accessRegion, void** outData, const sp<Fence>& acquireFence) argument 240 lockFlex(buffer_handle_t buffer, gralloc1_producer_usage_t producerUsage, gralloc1_consumer_usage_t consumerUsage, const gralloc1_rect_t* accessRegion, struct android_flex_layout* outData, const sp<Fence>& acquireFence) argument 252 lockYCbCr(buffer_handle_t buffer, gralloc1_producer_usage_t producerUsage, gralloc1_consumer_usage_t consumerUsage, const gralloc1_rect_t* accessRegion, struct android_ycbcr* outData, const sp<Fence>& acquireFence) argument
|
H A D | Gralloc1On0Adapter.cpp | 363 const sp<Fence>& acquireFence) 369 accessRegion.height, outData, acquireFence->dup()); 374 acquireFence->waitForever("Gralloc1On0Adapter::lock"); 393 const sp<Fence>& /*acquireFence*/) 404 const sp<Fence>& acquireFence) 410 accessRegion.height, outData, acquireFence->dup()); 415 acquireFence->waitForever("Gralloc1On0Adapter::lockYCbCr"); 358 lock( const std::shared_ptr<Buffer>& buffer, gralloc1_producer_usage_t producerUsage, gralloc1_consumer_usage_t consumerUsage, const gralloc1_rect_t& accessRegion, void** outData, const sp<Fence>& acquireFence) argument 399 lockYCbCr( const std::shared_ptr<Buffer>& buffer, gralloc1_producer_usage_t producerUsage, gralloc1_consumer_usage_t consumerUsage, const gralloc1_rect_t& accessRegion, struct android_ycbcr* outData, const sp<Fence>& acquireFence) argument
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3IOStreamBase.cpp | 148 int acquireFence, 160 buffer.acquire_fence = acquireFence; 146 handoutBufferLocked(camera3_stream_buffer &buffer, buffer_handle_t *handle, int acquireFence, int releaseFence, camera3_buffer_status_t status, bool output) argument
|