/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 | 35 const sp<Fence> Fence::NO_FENCE = sp<Fence>(new Fence); 37 Fence::Fence() : in Fence() function in android::Fence 41 Fence::Fence(int fenceFd) : in Fence() function in android::Fence 45 Fence::~Fence() { in ~Fence() 51 status_t Fence::wait(int timeout) { in wait() 60 status_t Fence::waitForever(const char* logname) { in waitForever() 75 sp<Fence> Fence::merge(const String8& name, const sp<Fence>& f1, in merge() 76 const sp<Fence>& f2) { in merge() 98 return sp<Fence>(new Fence(result)); in merge() 101 int Fence::dup() const { in dup() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | FenceTracker.h | 41 void addFrame(nsecs_t refreshStartTime, sp<Fence> retireFence, 42 const Vector<sp<Layer>>& layers, sp<Fence> glDoneFence); 54 sp<Fence> acquireFence; // acquire fence 55 sp<Fence> releaseFence; // release fence 60 sp<Fence> acquireFence, sp<Fence> releaseFence) : in LayerRecord() 67 releaseTime(0), acquireFence(Fence::NO_FENCE), in LayerRecord() 68 releaseFence(Fence::NO_FENCE) {}; in LayerRecord() 83 sp<Fence> retireFence; 85 sp<Fence> glesCompositionDoneFence; 89 retireFence(Fence::NO_FENCE), in FrameRecord() [all …]
|
D | FenceTracker.cpp | 46 } else if (frame.glesCompositionDoneFence != Fence::NO_FENCE) { in dump() 86 if (frame.retireFence != Fence::NO_FENCE) { in checkFencesForCompletion() 90 frame.retireFence = Fence::NO_FENCE; in checkFencesForCompletion() 93 if (frame.glesCompositionDoneFence != Fence::NO_FENCE) { in checkFencesForCompletion() 97 frame.glesCompositionDoneFence = Fence::NO_FENCE; in checkFencesForCompletion() 102 if (layer.acquireFence != Fence::NO_FENCE) { in checkFencesForCompletion() 106 layer.acquireFence = Fence::NO_FENCE; in checkFencesForCompletion() 109 if (layer.releaseFence != Fence::NO_FENCE) { in checkFencesForCompletion() 113 layer.releaseFence = Fence::NO_FENCE; in checkFencesForCompletion() 120 void FenceTracker::addFrame(nsecs_t refreshStartTime, sp<Fence> retireFence, in addFrame() [all …]
|
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 | SurfaceFlingerConsumer.h | 41 mPrevReleaseFence(Fence::NO_FENCE) in SurfaceFlingerConsumer() 79 virtual void setReleaseFence(const sp<Fence>& fence) override; 80 sp<Fence> getPrevReleaseFence() const; 105 sp<Fence> mPrevReleaseFence;
|
D | MonitoredProducer.h | 40 virtual status_t dequeueBuffer(int* slot, sp<Fence>* fence, uint32_t w, 44 sp<Fence>* outFence); 49 virtual status_t cancelBuffer(int slot, const sp<Fence>& fence); 63 sp<Fence>* outFence, float outTransformMatrix[16]) override;
|
D | DispSync.h | 38 class Fence; variable 79 bool addPresentFence(const sp<Fence>& fence); 174 sp<Fence> mPresentFences[NUM_PRESENT_SAMPLES];
|
/frameworks/native/libs/gui/tests/ |
D | BufferQueue_test.cpp | 76 sp<Fence> fence; in testBufferItem() 134 sp<Fence> fence; in TEST_F() 149 NATIVE_WINDOW_SCALING_MODE_FREEZE, 0, Fence::NO_FENCE); in TEST_F() 172 sp<Fence> fence; in TEST_F() 176 NATIVE_WINDOW_SCALING_MODE_FREEZE, 0, Fence::NO_FENCE); in TEST_F() 223 sp<Fence> fence; in TEST_F() 227 NATIVE_WINDOW_SCALING_MODE_FREEZE, 0, Fence::NO_FENCE); in TEST_F() 260 sp<Fence> fence; in TEST_F() 264 NATIVE_WINDOW_SCALING_MODE_FREEZE, 0, Fence::NO_FENCE); in TEST_F() 325 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; 202 void setupDequeueRequestBuffer(int *slot, sp<Fence> *fence, in setupDequeueRequestBuffer() 346 sp<Fence> dequeuedFence; in TEST_F() 411 sp<Fence> dequeuedFence; in TEST_F() 432 sp<Fence> nullFence = NULL; in TEST_F() 480 sp<Fence> dequeuedFence; in TEST_F() 527 sp<Fence> dequeuedFence; in TEST_F() [all …]
|
D | StreamSplitter_test.cpp | 80 sp<Fence> fence; in TEST_F() 95 NATIVE_WINDOW_SCALING_MODE_FREEZE, 0, Fence::NO_FENCE); in TEST_F() 112 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, Fence::NO_FENCE)); in TEST_F() 152 sp<Fence> fence; in TEST_F() 167 NATIVE_WINDOW_SCALING_MODE_FREEZE, 0, Fence::NO_FENCE); in TEST_F() 186 Fence::NO_FENCE)); in TEST_F() 216 sp<Fence> fence; in TEST_F() 228 NATIVE_WINDOW_SCALING_MODE_FREEZE, 0, Fence::NO_FENCE); in TEST_F()
|
/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/DisplayHardware/ |
D | VirtualDisplaySurface.h | 93 virtual const sp<Fence>& getClientTargetAcquireFence() const override; 106 virtual status_t dequeueBuffer(int* pslot, sp<Fence>* fence, uint32_t w, 110 sp<Fence>* outFence); 114 virtual status_t cancelBuffer(int pslot, const sp<Fence>& fence); 130 sp<Fence>* outFence, float outTransformMatrix[16]) override; 138 int* sslot, sp<Fence>* fence); 200 sp<Fence> mFbFence; 204 sp<Fence> mOutputFence;
|
D | FramebufferSurface.cpp | 64 mCurrentFence(Fence::NO_FENCE), in FramebufferSurface() 105 sp<Fence> acquireFence(Fence::NO_FENCE); in advanceFrame() 128 sp<Fence>& outFence, android_dataspace_t& outDataspace) { in nextBuffer() 130 status_t FramebufferSurface::nextBuffer(sp<GraphicBuffer>& outBuffer, sp<Fence>& outFence) { in nextBuffer() 184 sp<Fence> acquireFence; in nextBuffer() 208 sp<Fence> fence = mHwc.getRetireFence(mDisplayType); in nextBuffer() 224 sp<Fence> fence = mHwc.getAndResetReleaseFence(mDisplayType); in nextBuffer() 254 const sp<Fence>& FramebufferSurface::getClientTargetAcquireFence() const { in nextBuffer()
|
D | HWComposer_hwc1.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; 266 sp<Fence> getDisplayFence(int disp) const; 326 const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buf); 341 sp<Fence> lastRetireFence; // signals when the last set op retires 342 sp<Fence> lastDisplayFence; // signals when the last set op takes [all …]
|
D | HWComposer.h | 58 class Fence; variable 95 status_t setClientTarget(int32_t displayId, const sp<Fence>& acquireFence, 118 sp<Fence> getRetireFence(int32_t displayId) const; 121 sp<Fence> getLayerReleaseFence(int32_t displayId, 126 status_t setOutputBuffer(int32_t displayId, const sp<Fence>& acquireFence, 189 sp<Fence> lastRetireFence; // signals when the last set op retires 190 std::unordered_map<std::shared_ptr<HWC2::Layer>, sp<Fence>> 193 sp<Fence> outbufAcquireFence;
|
D | FramebufferSurface.h | 55 virtual const sp<Fence>& getClientTargetAcquireFence() const override; 71 status_t nextBuffer(sp<GraphicBuffer>& outBuffer, sp<Fence>& outFence, 74 status_t nextBuffer(sp<GraphicBuffer>& outBuffer, sp<Fence>& outFence); 90 sp<Fence> mCurrentFence;
|
D | VirtualDisplaySurface.cpp | 70 mFbFence(Fence::NO_FENCE), 71 mOutputFence(Fence::NO_FENCE), 244 sp<Fence> retireFence = mHwc.getRetireFence(mDisplayId); in onFrameCommitted() 246 sp<Fence> fbFence = mHwc.getAndResetReleaseFence(mDisplayId); in onFrameCommitted() 267 sp<Fence> outFence = mHwc.getLastRetireFence(mDisplayId); in onFrameCommitted() 314 const sp<Fence>& VirtualDisplaySurface::getClientTargetAcquireFence() const { in getClientTargetAcquireFence() 341 PixelFormat format, uint32_t usage, int* sslot, sp<Fence>* fence) { in dequeueBuffer() 383 status_t VirtualDisplaySurface::dequeueBuffer(int* pslot, sp<Fence>* fence, in dequeueBuffer() 454 sp<GraphicBuffer>* /* outBuffer */, sp<Fence>* /* outFence */) { in detachNextBuffer() argument 523 const sp<Fence>& fence) { in cancelBuffer() [all …]
|
/frameworks/native/include/gui/ |
D | IGraphicBufferProducer.h | 190 virtual status_t dequeueBuffer(int* slot, sp<Fence>* fence, uint32_t w, 230 sp<Fence>* outFence) = 0; 308 uint32_t transform, const sp<Fence>& fence, uint32_t sticky = 0) 316 uint32_t* outTransform, sp<Fence>* outFence, 347 sp<Fence> fence; 403 virtual status_t cancelBuffer(int slot, const sp<Fence>& fence) = 0; 570 sp<Fence>* outFence, float outTransformMatrix[16]) = 0;
|
D | BufferQueueProducer.h | 83 virtual status_t dequeueBuffer(int *outSlot, sp<Fence>* outFence, 92 sp<Fence>* outFence); 120 virtual status_t cancelBuffer(int slot, const sp<Fence>& fence); 187 sp<Fence>* outFence, float outTransformMatrix[16]) override; 231 sp<Fence> mLastQueueBufferFence;
|
D | BufferSlot.h | 30 class Fence; variable 183 mFence(Fence::NO_FENCE), in BufferSlot() 224 sp<Fence> mFence;
|
/frameworks/av/include/media/stagefright/ |
D | FrameRenderTracker.h | 32 class Fence; variable 61 Info(int64_t mediaTimeUs, const sp<GraphicBuffer> &graphicBuffer, const sp<Fence> &fence) in Info() 83 sp<Fence> mFence; 98 int64_t mediaTimeUs, const sp<GraphicBuffer> &graphicBuffer, const sp<Fence> &fence);
|
/frameworks/native/libs/gui/ |
D | ConsumerBase.cpp | 98 mSlots[slotIndex].mFence = Fence::NO_FENCE; in freeBufferLocked() 281 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) { in addReleaseFence() 287 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) { in addReleaseFenceLocked() 299 sp<Fence> mergedFence = Fence::merge( in addReleaseFenceLocked() 337 mSlots[slot].mFence = Fence::NO_FENCE; in releaseBufferLocked()
|
D | IGraphicBufferProducer.cpp | 120 virtual status_t dequeueBuffer(int *buf, sp<Fence>* fence, uint32_t width, in dequeueBuffer() 135 *fence = new Fence(); in dequeueBuffer() 155 sp<Fence>* outFence) { in detachNextBuffer() 178 *outFence = new Fence; in detachNextBuffer() 213 virtual status_t cancelBuffer(int buf, const sp<Fence>& fence) { in cancelBuffer() 386 sp<Fence>* outFence, float outTransformMatrix[16]) override { in getLastQueuedBuffer() 412 sp<Fence> fence(new Fence); in getLastQueuedBuffer() 488 sp<Fence> fence; in onTransact() 509 sp<Fence> fence; in onTransact() 549 sp<Fence> fence = new Fence(); in onTransact() [all …]
|