/frameworks/native/include/ui/ |
D | Fence.h | 38 class Fence 39 : public LightRefBase<Fence>, public Flattenable<Fence> 42 static const sp<Fence> NO_FENCE; 51 Fence(); 56 Fence(int fenceFd); 82 static sp<Fence> merge(const String8& name, const sp<Fence>& f1, 83 const sp<Fence>& f2); 104 friend class LightRefBase<Fence>; 105 ~Fence(); 108 Fence(const Fence& rhs); [all …]
|
/frameworks/native/libs/ui/ |
D | Fence.cpp | 32 const sp<Fence> Fence::NO_FENCE = sp<Fence>(new Fence); 34 Fence::Fence() : in Fence() function in android::Fence 38 Fence::Fence(int fenceFd) : in Fence() function in android::Fence 42 Fence::~Fence() { in ~Fence() 48 status_t Fence::wait(unsigned int timeout) { in wait() 57 status_t Fence::waitForever(const char* logname) { in waitForever() 72 sp<Fence> Fence::merge(const String8& name, const sp<Fence>& f1, in merge() 73 const sp<Fence>& f2) { in merge() 95 return sp<Fence>(new Fence(result)); in merge() 98 int Fence::dup() const { in dup() [all …]
|
D | FramebufferNativeWindow.cpp | 225 sp<Fence> fence(new Fence(fenceFd)); in dequeueBuffer_DEPRECATED() 226 int waitResult = fence->wait(Fence::TIMEOUT_NEVER); in dequeueBuffer_DEPRECATED() 282 sp<Fence> fence(new Fence(fenceFd)); in queueBuffer() 283 fence->wait(Fence::TIMEOUT_NEVER); in queueBuffer()
|
/frameworks/base/libs/hwui/ |
D | Fence.h | 31 class Fence { 43 Fence() { in Fence() function 56 ~Fence() { in ~Fence() 97 AutoFence(EGLTimeKHR timeout = Fence::kDefaultTimeout): mTimeout(timeout) { in mTimeout() 106 Fence mFence;
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | StatusTracker.h | 33 class Fence; variable 66 void markComponentIdle(int id, const sp<Fence>& componentFence); 83 const sp<Fence>& componentFence); 93 sp<Fence> fence; 109 sp<Fence> mIdleFence;
|
D | StatusTracker.cpp | 36 mIdleFence(new Fence()), in StatusTracker() 83 void StatusTracker::markComponentIdle(int id, const sp<Fence>& componentFence) { in markComponentIdle() 88 markComponent(id, ACTIVE, Fence::NO_FENCE); in markComponentActive() 92 const sp<Fence>& componentFence) { in markComponent() 182 mIdleFence = Fence::merge(String8("idleFence"), in threadLoop()
|
/frameworks/native/services/surfaceflinger/ |
D | FrameTracker.h | 29 class Fence; variable 63 void setFrameReadyFence(const sp<Fence>& readyFence); 71 void setActualPresentFence(const sp<Fence>& fence); 103 sp<Fence> frameReadyFence; 104 sp<Fence> actualPresentFence;
|
D | DispSync.h | 41 class Fence; variable 82 bool addPresentFence(const sp<Fence>& fence); 167 sp<Fence> mPresentFences[NUM_PRESENT_SAMPLES];
|
D | MonitoredProducer.h | 39 virtual status_t dequeueBuffer(int* slot, sp<Fence>* fence, bool async, 43 sp<Fence>* outFence); 48 virtual void cancelBuffer(int slot, const sp<Fence>& fence);
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.h | 48 class Fence; variable 122 sp<Fence> getAndResetReleaseFence(int32_t id); 132 int fbPost(int32_t id, const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buf); 138 status_t setOutputBuffer(int32_t id, const sp<Fence>& acquireFence, 145 sp<Fence> getLastRetireFence(int32_t id) const; 162 virtual sp<Fence> getAndResetReleaseFence() = 0; 264 sp<Fence> getDisplayFence(int disp) const; 324 const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buf); 339 sp<Fence> lastRetireFence; // signals when the last set op retires 340 sp<Fence> lastDisplayFence; // signals when the last set op takes [all …]
|
D | VirtualDisplaySurface.h | 102 virtual status_t dequeueBuffer(int* pslot, sp<Fence>* fence, bool async, 106 sp<Fence>* outFence); 110 virtual void cancelBuffer(int pslot, const sp<Fence>& fence); 124 int* sslot, sp<Fence>* fence); 186 sp<Fence> mFbFence; 190 sp<Fence> mOutputFence;
|
D | HWComposer.cpp | 459 sp<Fence> HWComposer::getDisplayFence(int disp) const { in getDisplayFence() 609 const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buf) { in setFramebufferTarget() 723 sp<Fence> HWComposer::getAndResetReleaseFence(int32_t id) { in getAndResetReleaseFence() 725 return Fence::NO_FENCE; in getAndResetReleaseFence() 736 return fd >= 0 ? new Fence(fd) : Fence::NO_FENCE; in getAndResetReleaseFence() 764 disp.lastRetireFence = Fence::NO_FENCE; in commit() 767 disp.lastRetireFence = new Fence(disp.list->retireFenceFd); in commit() 813 dd.lastRetireFence = Fence::NO_FENCE; in disconnectDisplay() 814 dd.lastDisplayFence = Fence::NO_FENCE; in disconnectDisplay() 815 dd.outbufAcquireFence = Fence::NO_FENCE; in disconnectDisplay() [all …]
|
D | VirtualDisplaySurface.cpp | 217 sp<Fence> fbFence = mHwc.getAndResetReleaseFence(mDisplayId); in onFrameCommitted() 231 sp<Fence> outFence = mHwc.getLastRetireFence(mDisplayId); in onFrameCommitted() 287 uint32_t format, uint32_t usage, int* sslot, sp<Fence>* fence) { in dequeueBuffer() 331 status_t VirtualDisplaySurface::dequeueBuffer(int* pslot, sp<Fence>* fence, bool async, in dequeueBuffer() 403 sp<GraphicBuffer>* /* outBuffer */, sp<Fence>* /* outFence */) { in detachNextBuffer() argument 471 void VirtualDisplaySurface::cancelBuffer(int pslot, const sp<Fence>& fence) { in cancelBuffer() 534 mFbFence = Fence::NO_FENCE; in resetPerFrameState() 535 mOutputFence = Fence::NO_FENCE; in resetPerFrameState() 558 result = mHwc.setOutputBuffer(mDisplayId, Fence::NO_FENCE, in refreshOutputBuffer()
|
/frameworks/native/include/gui/ |
D | IGraphicBufferProducer.h | 169 virtual status_t dequeueBuffer(int* slot, sp<Fence>* fence, bool async, 207 sp<Fence>* outFence) = 0; 280 const sp<Fence>& fence, uint32_t sticky = 0) 286 bool* outAsync, sp<Fence>* outFence, 314 sp<Fence> fence; 359 virtual void cancelBuffer(int slot, const sp<Fence>& fence) = 0;
|
D | ConsumerBase.h | 179 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence); 181 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence); 194 sp<Fence> mFence;
|
D | BufferQueueProducer.h | 96 virtual status_t dequeueBuffer(int *outSlot, sp<Fence>* outFence, bool async, 104 sp<Fence>* outFence); 132 virtual void cancelBuffer(int slot, const sp<Fence>& fence);
|
D | StreamSplitter.h | 134 const sp<Fence>& getMergedFence() const { return mMergedFence; } in getMergedFence() 136 void mergeFence(const sp<Fence>& with); 152 sp<Fence> mMergedFence;
|
D | BufferSlot.h | 30 class Fence; variable 124 sp<Fence> mFence;
|
D | BufferItemConsumer.h | 89 const sp<Fence>& releaseFence = Fence::NO_FENCE);
|
D | IGraphicBufferConsumer.h | 36 class Fence; variable 65 sp<Fence> mFence; 202 const sp<Fence>& releaseFence) = 0;
|
D | BufferItem.h | 32 class Fence; variable 57 sp<Fence> mFence;
|
/frameworks/native/libs/gui/tests/ |
D | StreamSplitter_test.cpp | 100 sp<Fence> fence; in TEST_F() 115 Fence::NO_FENCE); in TEST_F() 128 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, Fence::NO_FENCE)); in TEST_F() 166 sp<Fence> fence; in TEST_F() 181 Fence::NO_FENCE); in TEST_F() 196 Fence::NO_FENCE)); in TEST_F() 226 sp<Fence> fence; in TEST_F() 238 Fence::NO_FENCE); in TEST_F()
|
D | BufferQueue_test.cpp | 114 sp<Fence> fence; in TEST_F() 128 NATIVE_WINDOW_SCALING_MODE_FREEZE, 0, false, Fence::NO_FENCE); in TEST_F() 151 sp<Fence> fence; in TEST_F() 154 NATIVE_WINDOW_SCALING_MODE_FREEZE, 0, false, Fence::NO_FENCE); in TEST_F() 222 sp<Fence> fence; in TEST_F() 248 NATIVE_WINDOW_SCALING_MODE_FREEZE, 0, false, Fence::NO_FENCE); in TEST_F() 270 sp<Fence> fence; in TEST_F() 277 NATIVE_WINDOW_SCALING_MODE_FREEZE, 0, false, Fence::NO_FENCE); in TEST_F() 305 EGL_NO_SYNC_KHR, Fence::NO_FENCE)); in TEST_F() 328 sp<Fence> fence; in TEST_F() [all …]
|
D | IGraphicBufferProducer_test.cpp | 64 const sp<Fence> QUEUE_BUFFER_INPUT_FENCE = Fence::NO_FENCE; 177 QueueBufferInputBuilder& setFence(sp<Fence> fence) { in setFence() 189 sp<Fence> fence; 195 sp<Fence> fence; 329 sp<Fence> dequeuedFence; in TEST_F() 395 sp<Fence> dequeuedFence; in TEST_F() 417 sp<Fence> nullFence = NULL; in TEST_F() 465 sp<Fence> dequeuedFence; in TEST_F() 518 sp<Fence> dequeuedFence; in TEST_F() 545 sp<Fence> dequeuedFence; in TEST_F()
|
/frameworks/native/libs/gui/ |
D | ConsumerBase.cpp | 97 mSlots[slotIndex].mFence = Fence::NO_FENCE; in freeBufferLocked() 203 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) { in addReleaseFence() 209 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) { in addReleaseFenceLocked() 221 sp<Fence> mergedFence = Fence::merge( in addReleaseFenceLocked() 255 mSlots[slot].mFence = Fence::NO_FENCE; in releaseBufferLocked()
|