/frameworks/native/libs/ui/include/ui/ |
Fence.h | 31 // Fence 34 class Fence 35 : public LightRefBase<Fence>, public Flattenable<Fence> 38 static const sp<Fence> NO_FENCE; 46 // should wait indefinitely for the fence to signal. 49 // Construct a new Fence object with an invalid file descriptor. This 50 // should be done when the Fence object will be set up by unflattening 52 Fence(); 54 // Construct a new Fence object to manage a given fence file descriptor [all...] |
FenceTime.h | 20 #include <ui/Fence.h> 33 // A wrapper around fence that only implements isValid and getSignalTime. 34 // It automatically closes the fence in a thread-safe manner once the signal 48 FENCE, 53 explicit Snapshot(const sp<Fence>& fence); 72 sp<Fence> fence{Fence::NO_FENCE}; 73 nsecs_t signalTime{Fence::SIGNAL_TIME_INVALID} [all...] |
/external/swiftshader/src/OpenGL/libGL/ |
Fence.cpp | 15 // Fence.cpp: Implements the Fence class, which supports the GL_NV_fence extension. 17 #include "Fence.h" 25 Fence::Fence() 32 Fence::~Fence() 37 GLboolean Fence::isFence() 40 // A name returned by GenFencesNV, but not yet set via SetFenceNV, is not the name of an existing fence. 44 void Fence::setFence(GLenum condition [all...] |
Fence.h | 15 // Fence.h: Defines the Fence class, which supports the GL_NV_fence extension. 28 class Fence 31 Fence(); 32 virtual ~Fence();
|
/frameworks/native/libs/ui/ |
Fence.cpp | 17 #include <ui/Fence.h> 19 #define LOG_TAG "Fence" 38 const sp<Fence> Fence::NO_FENCE = sp<Fence>(new Fence); 40 Fence::Fence() : 44 Fence::Fence(int fenceFd) [all...] |
FenceTime.cpp | 34 const auto FenceTime::NO_FENCE = std::make_shared<FenceTime>(Fence::NO_FENCE); 48 FenceTime::FenceTime(const sp<Fence>& fence) 49 : mState(((fence.get() != nullptr) && fence->isValid()) ? 51 mFence(fence), 53 Fence::SIGNAL_TIME_INVALID : Fence::SIGNAL_TIME_PENDING) { 56 FenceTime::FenceTime(sp<Fence>&& fence) 123 sp<Fence> fence; local 296 std::shared_ptr<FenceTime> fence = mQueue.front().lock(); local [all...] |
/external/swiftshader/src/OpenGL/libGLESv2/ |
Fence.cpp | 15 // Fence.cpp: Implements the Fence class, which supports the GL_NV_fence extension. 17 #include "Fence.h" 25 Fence::Fence() 32 Fence::~Fence() 37 GLboolean Fence::isFence() 40 // A name returned by GenFencesNV, but not yet set via SetFenceNV, is not the name of an existing fence. 44 void Fence::setFence(GLenum condition [all...] |
Fence.h | 15 // Fence.h: Defines the Fence class, which supports the GL_NV_fence extension. 26 class Fence 29 Fence(); 30 virtual ~Fence();
|
/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);
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
DisplaySurface.h | 28 class Fence; 72 // hardware composer. The surface collects the release fence for this 80 virtual const sp<Fence>& getClientTargetAcquireFence() const = 0;
|
FramebufferSurface.h | 56 virtual const sp<Fence>& getClientTargetAcquireFence() const override; 73 sp<Fence>& outFence, android_dataspace_t& outDataspace); 75 status_t nextBuffer(sp<GraphicBuffer>& outBuffer, sp<Fence>& outFence); 90 // mCurrentFence is the current buffer's acquire fence 91 sp<Fence> mCurrentFence; 99 // Previous buffer to release after getting an updated retire fence
|
VirtualDisplaySurface.h | 94 virtual const sp<Fence>& getClientTargetAcquireFence() const override; 107 virtual status_t dequeueBuffer(int* pslot, sp<Fence>* fence, uint32_t w, uint32_t h, 112 sp<Fence>* outFence); 116 virtual status_t cancelBuffer(int pslot, const sp<Fence>& fence); 131 sp<Fence>* outFence, float outTransformMatrix[16]) override; 140 int* sslot, sp<Fence>* fence); 202 // mFbFence is the fence HWC should wait for before reading the framebuffe [all...] |
HWComposer_hwc1.h | 27 #include <ui/Fence.h> 50 class Fence; 125 // the release fence is only valid after commit() 126 sp<Fence> getAndResetReleaseFence(int32_t id); 136 int fbPost(int32_t id, const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buf); 140 // Set the output buffer and acquire fence for a virtual display. 142 status_t setOutputBuffer(int32_t id, const sp<Fence>& acquireFence, 145 // Get the retire fence for the last committed frame. This fence will 149 sp<Fence> getLastRetireFence(int32_t id) const [all...] |
FramebufferSurface.cpp | 60 mCurrentFence(Fence::NO_FENCE), 103 sp<Fence> acquireFence(Fence::NO_FENCE); 121 sp<GraphicBuffer>& outBuffer, sp<Fence>& outFence, 124 status_t FramebufferSurface::nextBuffer(sp<GraphicBuffer>& outBuffer, sp<Fence>& outFence) { 193 sp<Fence> acquireFence; 217 sp<Fence> fence = mHwc.getPresentFence(mDisplayType); local 218 if (fence->isValid()) { 220 mPreviousBuffer, fence); [all...] |
HWComposer.h | 29 #include <ui/Fence.h> 58 class Fence; 94 const sp<Fence>& acquireFence, 118 // get the present fence received from the last call to present. 119 sp<Fence> getPresentFence(int32_t displayId) const; 121 // Get last release fence for the given layer 122 sp<Fence> getLayerReleaseFence(int32_t displayId, 125 // Set the output buffer and acquire fence for a virtual display. 127 status_t setOutputBuffer(int32_t displayId, const sp<Fence>& acquireFence, 131 // it can call this to clear the shared pointers in the release fence ma [all...] |
/hardware/interfaces/media/omx/1.0/ |
IOmxBufferSource.hal | 64 * @param[in] fence is the fence associated with the buffer. 66 oneway onInputBufferEmptied(BufferId buffer, Fence fence);
|
/frameworks/native/libs/gui/include/gui/ |
BufferSlot.h | 20 #include <ui/Fence.h> 30 class Fence; 64 // buffer's contents as soon as the associated release fence is signaled. 72 // the associated fence is signaled. The slot is "owned" by BufferQueue. It 78 // acquire fence is signaled. The slot is "owned" by the consumer. It 183 mFence(Fence::NO_FENCE), 205 // may be released before their release fence is signaled). 215 // mFence is a fence which will signal when work initiated by the 217 // the fence indicates when the consumer has finished reading 221 // buffer. When the buffer is DEQUEUED or ACQUIRED, the fence has bee [all...] |
BufferItemConsumer.h | 78 // If waitForFence is true, and the acquired BufferItem has a valid fence object, 79 // acquireBuffer will wait on the fence with no timeout before returning. 90 const sp<Fence>& releaseFence = Fence::NO_FENCE);
|
BufferQueueProducer.h | 54 // The outFence parameter will be updated to hold the fence associated with 56 // fence signals. If the fence is Fence::NO_FENCE, the buffer may be 83 virtual status_t dequeueBuffer(int* outSlot, sp<Fence>* outFence, uint32_t width, 93 sp<Fence>* outFence); 106 // The caller may provide a fence that signals when all rendering 119 // The buffer will not be overwritten until the fence signals. The fence 121 virtual status_t cancelBuffer(int slot, const sp<Fence>& fence) [all...] |
StreamSplitter.h | 134 const sp<Fence>& getMergedFence() const { return mMergedFence; } 136 void mergeFence(const sp<Fence>& with); 152 sp<Fence> mMergedFence;
|
ConsumerBase.h | 195 // addReleaseFence* adds the sync points associated with a fence to the set 201 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence); 203 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence); 212 // mFence is a fence which will signal when the buffer associated with 214 // overwritten. The buffer can be dequeued before the fence signals; 216 sp<Fence> mFence; 253 // The final release fence of the most recent buffer released by 255 sp<Fence> mPrevFinalReleaseFence [all...] |
/frameworks/av/media/libstagefright/include/media/stagefright/ |
FrameRenderTracker.h | 26 #include <ui/Fence.h> 39 // queue fence (read fence). mIndex is negative, and mRenderTimeNs is invalid. 42 // 2. dequeued frame: mFence is updated with the dequeue fence (write fence). mIndex is set. 61 const sp<Fence> &fence) 66 mFence(fence) { 83 sp<Fence> mFence; 99 // queued to the output surface using |fence| [all...] |
/hardware/interfaces/graphics/bufferqueue/1.0/ |
IGraphicBufferProducer.hal | 19 import android.hardware.media@1.0::Fence; 49 FENCE, 53 Fence fence; 133 /** A fence that the consumer must wait on before reading the buffer; 134 * set this to Fence::NO_FENCE if the buffer is ready immediately. */ 135 Fence fence; 250 * The fence parameter will be updated to hold the fence associated wit [all...] |
/frameworks/native/libs/gui/tests/ |
BufferQueue_test.cpp | 82 sp<Fence> fence; local 85 &scalingMode, &transform, &fence, NULL); 92 ASSERT_EQ(fence, item.mFence); 144 sp<Fence> fence; local 147 mProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN, 159 NATIVE_WINDOW_SCALING_MODE_FREEZE, 0, Fence::NO_FENCE); 182 sp<Fence> fence; local 233 sp<Fence> fence; local 270 sp<Fence> fence; local 335 sp<Fence> fence; local 384 sp<Fence> fence; local 443 sp<Fence> fence; local 491 sp<Fence> fence; local 527 sp<Fence> fence; local 569 sp<Fence> fence; local 620 sp<Fence> fence; local 686 sp<Fence> fence; local 740 sp<Fence> fence = Fence::NO_FENCE; local 767 sp<Fence> fence = Fence::NO_FENCE; local 777 sp<Fence> fence = Fence::NO_FENCE; local 821 sp<Fence> fence; local 874 sp<Fence> fence = Fence::NO_FENCE; local 1010 sp<Fence> fence = Fence::NO_FENCE; local 1088 sp<Fence> fence = Fence::NO_FENCE; local 1129 sp<Fence> fence = Fence::NO_FENCE; local [all...] |