/frameworks/native/include/ui/ |
Fence.h | 35 // Fence 38 class Fence 39 : public LightRefBase<Fence>, public Flattenable<Fence> 42 static const sp<Fence> NO_FENCE; 45 // should wait indefinitely for the fence to signal. 48 // Construct a new Fence object with an invalid file descriptor. This 49 // should be done when the Fence object will be set up by unflattening 51 Fence(); 53 // Construct a new Fence object to manage a given fence file descriptor [all...] |
/frameworks/native/libs/ui/ |
Fence.cpp | 17 #define LOG_TAG "Fence" 28 #include <ui/Fence.h> 35 const sp<Fence> Fence::NO_FENCE = sp<Fence>(new Fence); 37 Fence::Fence() : 41 Fence::Fence(int fenceFd) [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
StatusTracker.h | 33 class Fence; 63 // accept a fence to wait on to complete idle. The fence is merged with any 66 void markComponentIdle(int id, const sp<Fence>& componentFence); 83 const sp<Fence>& componentFence); 93 sp<Fence> fence; member in struct:android::camera3::StatusTracker::StateChange 108 // Merged fence for all processed state changes 109 sp<Fence> mIdleFence; 118 // - The merged fence for all component updates has signalle [all...] |
StatusTracker.cpp | 23 #include <ui/Fence.h> 36 mIdleFence(new Fence()), 83 void StatusTracker::markComponentIdle(int id, const sp<Fence>& componentFence) { 88 markComponent(id, ACTIVE, Fence::NO_FENCE); 92 const sp<Fence>& componentFence) { 123 // - If invalid fence or error, returns -1 167 // First pass for changed components or fence completions 182 mIdleFence = Fence::merge(String8("idleFence"), 183 mIdleFence, newState.fence);
|
Camera3IOStreamBase.h | 61 // The merged release fence for all returned buffers 62 sp<Fence> mCombinedFence; 74 sp<Fence> *releaseFenceOut) = 0;
|
Camera3DummyStream.h | 67 sp<Fence> *releaseFenceOut);
|
Camera3InputStream.h | 63 sp<Fence> *releaseFenceOut);
|
/frameworks/native/services/surfaceflinger/ |
FrameTracker.h | 29 class Fence; 37 // or a fence. When a non-NULL fence is set for a given time value, the 38 // signal time of that fence is used instead of the timestamp. 61 // setFrameReadyFence sets the fence that is used to get the time at which 63 void setFrameReadyFence(const sp<Fence>& readyFence); 69 // setActualPresentFence sets the fence that is used to get the time 71 void setActualPresentFence(const sp<Fence>& fence); 103 sp<Fence> frameReadyFence [all...] |
DispSync.h | 41 class Fence; 50 // The model is validated using timestamps from Fence objects that are passed 51 // to the DispSync object via the addPresentFence method. These fence 73 // addPresentFence adds a fence for use in validating the current vsync 74 // event model. The fence need not be signaled at the time 75 // addPresentFence is called. When the fence does signal, its timestamp 80 // This method should be called with the retire fence from each HWComposer 82 bool addPresentFence(const sp<Fence>& fence); 167 sp<Fence> mPresentFences[NUM_PRESENT_SAMPLES] [all...] |
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/include/gui/ |
BufferSlot.h | 20 #include <ui/Fence.h> 30 class Fence; 58 // associated fence is signaled. 67 // associated ready fence is signaled. 76 // the contents must not be accessed until the associated fence 86 // by the consumer until the fence is signaled. 105 // may be released before their release fence is signaled). 115 // mFence is a fence which will signal when work initiated by the 117 // the fence indicates when the consumer has finished reading 121 // buffer. When the buffer is DEQUEUED or ACQUIRED, the fence has bee [all...] |
BufferItemConsumer.h | 75 // If waitForFence is true, and the acquired BufferItem has a valid fence object, 76 // acquireBuffer will wait on the fence with no timeout before returning. 87 const sp<Fence>& releaseFence = Fence::NO_FENCE);
|
BufferQueueProducer.h | 65 // The outFence parameter will be updated to hold the fence associated with 67 // fence signals. If the fence is Fence::NO_FENCE, the buffer may be 94 virtual status_t dequeueBuffer(int *outSlot, sp<Fence>* outFence, 103 sp<Fence>* outFence); 116 // The caller may provide a fence that signals when all rendering 129 // The buffer will not be overwritten until the fence signals. The fence 131 virtual void cancelBuffer(int slot, const sp<Fence>& fence) [all...] |
IGraphicBufferProducer.h | 28 #include <ui/Fence.h> 124 // The fence parameter will be updated to hold the fence associated with 126 // fence signals. If the fence is Fence::NO_FENCE, the buffer may be written 168 virtual status_t dequeueBuffer(int* slot, sp<Fence>* fence, bool async, 198 // equivalent to fence from the dequeueBuffer call. 206 sp<Fence>* outFence) = 0 323 sp<Fence> fence; member in struct:android::IGraphicBufferProducer::QueueBufferInput [all...] |
ConsumerBase.h | 184 // addReleaseFence* adds the sync points associated with a fence to the set 190 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence); 192 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence); 201 // mFence is a fence which will signal when the buffer associated with 203 // overwritten. The buffer can be dequeued before the fence signals; 205 sp<Fence> mFence;
|
StreamSplitter.h | 134 const sp<Fence>& getMergedFence() const { return mMergedFence; } 136 void mergeFence(const sp<Fence>& with); 152 sp<Fence> mMergedFence;
|
BufferItem.h | 33 class Fence; 57 // mFence is a fence that will signal when the buffer is idle. 58 sp<Fence> mFence;
|
BufferQueueConsumer.h | 60 // being accessed. The fence will signal when the buffer is no longer 71 const sp<Fence>& releaseFence, EGLDisplay display, 72 EGLSyncKHR fence); 159 EGLDisplay display, EGLSyncKHR fence, 160 const sp<Fence>& releaseFence) { 161 return releaseBuffer(buf, frameNumber, releaseFence, display, fence);
|
IGraphicBufferConsumer.h | 38 class Fence; 123 // being accessed. The fence will signal when the buffer is no longer 143 // * the fence was NULL 146 EGLDisplay display, EGLSyncKHR fence, 147 const sp<Fence>& releaseFence) = 0;
|
/frameworks/av/include/media/stagefright/ |
FrameRenderTracker.h | 32 class Fence; 40 // queue fence (read fence). mIndex is negative, and mRenderTimeNs is invalid. 43 // 2. dequeued frame: mFence is updated with the dequeue fence (write fence). mIndex is set. 61 Info(int64_t mediaTimeUs, const sp<GraphicBuffer> &graphicBuffer, const sp<Fence> &fence) 66 mFence(fence) { 83 sp<Fence> mFence; 96 // queued to the output surface using |fence| [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
HWComposer.h | 25 #include <ui/Fence.h> 48 class Fence; 121 // the release fence is only valid after commit() 122 sp<Fence> getAndResetReleaseFence(int32_t id); 132 int fbPost(int32_t id, const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buf); 136 // Set the output buffer and acquire fence for a virtual display. 138 status_t setOutputBuffer(int32_t id, const sp<Fence>& acquireFence, 141 // Get the retire fence for the last committed frame. This fence will 145 sp<Fence> getLastRetireFence(int32_t id) const [all...] |
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); 127 int* sslot, sp<Fence>* fence); 187 // mFbFence is the fence HWC should wait for before reading the framebuffer 189 sp<Fence> mFbFence; 191 // mOutputFence is the fence HWC should wait for before writing to th [all...] |
FramebufferSurface.h | 64 status_t nextBuffer(sp<GraphicBuffer>& outBuffer, sp<Fence>& outFence);
|
/frameworks/native/libs/gui/tests/ |
IGraphicBufferProducer_test.cpp | 65 const sp<Fence> QUEUE_BUFFER_INPUT_FENCE = Fence::NO_FENCE; 135 fence = QUEUE_BUFFER_INPUT_FENCE; 147 fence); 185 QueueBufferInputBuilder& setFence(sp<Fence> fence) { 186 this->fence = fence; 198 sp<Fence> fence; member in struct:android::IGraphicBufferProducerTest::QueueBufferInputBuilder 204 sp<Fence> fence; member in struct:android::IGraphicBufferProducerTest::DequeueBufferResult [all...] |
StreamSplitter_test.cpp | 103 sp<Fence> fence; local 106 inputProducer->dequeueBuffer(&slot, &fence, false, 0, 0, 0, 119 Fence::NO_FENCE); 132 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, Fence::NO_FENCE)); 135 inputProducer->dequeueBuffer(&slot, &fence, false, 0, 0, 0, 170 sp<Fence> fence; local 173 inputProducer->dequeueBuffer(&slot, &fence, false, 0, 0, 0, 186 Fence::NO_FENCE) 231 sp<Fence> fence; local [all...] |