HomeSort by relevance Sort by last modified time
    Searched refs:Fence (Results 1 - 25 of 73) sorted by null

1 2 3

  /external/chromium_org/third_party/angle_dx11/src/libGLESv2/
Fence.cpp 8 // Fence.cpp: Implements the gl::Fence class, which supports the GL_NV_fence extension.
10 #include "libGLESv2/Fence.h"
17 Fence::Fence(rx::Renderer *renderer)
22 Fence::~Fence()
27 GLboolean Fence::isFence()
32 void Fence::setFence(GLenum condition)
37 GLboolean Fence::testFence(
    [all...]
Fence.h 7 // Fence.h: Defines the gl::Fence class, which supports the GL_NV_fence extension.
23 class Fence
26 explicit Fence(rx::Renderer *renderer);
27 virtual ~Fence();
36 DISALLOW_COPY_AND_ASSIGN(Fence);
  /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"
25 #include <ui/Fence.h>
32 const sp<Fence> Fence::NO_FENCE = sp<Fence>(new Fence);
34 Fence::Fence() :
38 Fence::Fence(int fenceFd)
    [all...]
FramebufferNativeWindow.cpp 31 #include <ui/Fence.h>
225 sp<Fence> fence(new Fence(fenceFd));
226 int waitResult = fence->wait(Fence::TIMEOUT_NEVER);
228 ALOGE("dequeueBuffer_DEPRECATED: Fence::wait returned an "
282 sp<Fence> fence(new Fence(fenceFd))
    [all...]
  /frameworks/base/libs/hwui/
Fence.h 27 * Creating a Fence instance inserts a new sync fence in the OpenGL
28 * commands stream. The caller can then wait for the fence to be signaled
31 class Fence {
41 * Inserts a new sync fence in the OpenGL commands stream.
43 Fence() {
53 * Destroys the fence. Any caller waiting on the fence will be
56 ~Fence() {
63 * Blocks the calling thread until this fence is signaled, or unti
    [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 26 #include <ui/Fence.h>
39 mIdleFence(new Fence()),
86 void StatusTracker::markComponentIdle(int id, const sp<Fence>& componentFence) {
91 markComponent(id, ACTIVE, Fence::NO_FENCE);
95 const sp<Fence>& componentFence) {
126 // - If invalid fence or error, returns -1
170 // First pass for changed components or fence completions
185 mIdleFence = Fence::merge(String8("idleFence"),
186 mIdleFence, newState.fence);
Camera3IOStreamBase.h 57 // The merged release fence for all returned buffers
58 sp<Fence> mCombinedFence;
70 sp<Fence> *releaseFenceOut) = 0;
Camera3InputStream.h 62 sp<Fence> *releaseFenceOut);
Camera3ZslStream.h 98 sp<Fence> *releaseFenceOut);
Camera3IOStreamBase.cpp 42 mCombinedFence = new Fence();
214 sp<Fence> releaseFence;
222 mCombinedFence = Fence::merge(mName, mCombinedFence, releaseFence);
  /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);
100 sp<Fence> frameReadyFence
    [all...]
DispSync.h 29 class Fence;
38 // The model is validated using timestamps from Fence objects that are passed
39 // to the DispSync object via the addPresentFence method. These fence
60 // addPresentFence adds a fence for use in validating the current vsync
61 // event model. The fence need not be signaled at the time
62 // addPresentFence is called. When the fence does signal, its timestamp
67 // This method should be called with the retire fence from each HWComposer
69 bool addPresentFence(const sp<Fence>& fence);
136 sp<Fence> mPresentFences[NUM_PRESENT_SAMPLES]
    [all...]
FrameTracker.cpp 22 #include <ui/Fence.h>
48 void FrameTracker::setFrameReadyFence(const sp<Fence>& readyFence) {
59 void FrameTracker::setActualPresentFence(const sp<Fence>& readyFence) {
83 // We're clobbering an unsignaled fence, so we need to decrement the
84 // fence count.
90 // We're clobbering an unsignaled fence, so we need to decrement the
91 // fence count.
96 // Clean up the signaled fences to keep the number of open fence FDs in
130 const sp<Fence>& rfence = records[idx].frameReadyFence;
140 const sp<Fence>& pfence = records[idx].actualPresentFence
    [all...]
  /frameworks/native/include/gui/
BufferItemConsumer.h 76 // If waitForFence is true, and the acquired BufferItem has a valid fence object,
77 // acquireBuffer will wait on the fence with no timeout before returning.
88 const sp<Fence>& releaseFence = Fence::NO_FENCE);
ConsumerBase.h 170 // addReleaseFence* adds the sync points associated with a fence to the set
176 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence);
178 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence);
187 // mFence is a fence which will signal when the buffer associated with
189 // overwritten. The buffer can be dequeued before the fence signals;
191 sp<Fence> mFence;
IGraphicBufferProducer.h 28 #include <ui/Fence.h>
83 // The fence parameter will be updated to hold the fence associated with
85 // fence signals. If the fence is NULL, the buffer may be written
90 virtual status_t dequeueBuffer(int *slot, sp<Fence>* fence, bool async,
113 const sp<Fence>& fence)
116 fence(fence) {
142 sp<Fence> fence; member in struct:android::IGraphicBufferProducer::QueueBufferInput
    [all...]
IGraphicBufferConsumer.h 35 class Fence;
59 // mFence is a fence that will signal when the buffer is idle.
60 sp<Fence> mFence;
118 // being accessed. The fence will signal when the buffer is no longer
129 EGLDisplay display, EGLSyncKHR fence,
130 const sp<Fence>& releaseFence) = 0;
BufferQueue.h 30 #include <ui/Fence.h>
129 // The fence parameter will be updated to hold the fence associated with
131 // fence signals. If the fence is Fence::NO_FENCE, the buffer may be
160 virtual status_t dequeueBuffer(int *buf, sp<Fence>* fence, bool async,
171 // The caller may provide a fence that signals when all rendering
184 // The buffer will not be overwritten until the fence signals. The fenc
    [all...]
  /frameworks/native/services/surfaceflinger/DisplayHardware/
HWComposer.h 25 #include <ui/Fence.h>
49 class Fence;
120 // the release fence is only valid after commit()
121 sp<Fence> getAndResetReleaseFence(int32_t id);
131 int fbPost(int32_t id, const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buf);
135 // Set the output buffer and acquire fence for a virtual display.
137 status_t setOutputBuffer(int32_t id, const sp<Fence>& acquireFence,
140 // Get the retire fence for the last committed frame. This fence will
144 sp<Fence> getLastRetireFence(int32_t id)
    [all...]
VirtualDisplaySurface.h 99 virtual status_t dequeueBuffer(int* pslot, sp<Fence>* fence, bool async,
103 virtual void cancelBuffer(int pslot, const sp<Fence>& fence);
114 int* sslot, sp<Fence>* fence);
174 // mFbFence is the fence HWC should wait for before reading the framebuffer
176 sp<Fence> mFbFence;
178 // mOutputFence is the fence HWC should wait for before writing to the
180 sp<Fence> mOutputFence
    [all...]
FramebufferSurface.h 63 status_t nextBuffer(sp<GraphicBuffer>& outBuffer, sp<Fence>& outFence);
  /external/chromium_org/cc/resources/
resource_provider.h 266 class Fence : public base::RefCounted<Fence> {
268 Fence() {}
272 friend class base::RefCounted<Fence>;
273 virtual ~Fence() {}
276 DISALLOW_COPY_AND_ASSIGN(Fence);
313 // Sets the current read fence. If a resource is locked for read
315 // until this fence has passed.
316 void SetReadLockFence(scoped_refptr<Fence> fence) {
    [all...]
  /frameworks/native/libs/gui/
ConsumerBase.cpp 95 mSlots[slotIndex].mFence = Fence::NO_FENCE;
198 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) {
200 return addReleaseFenceLocked(slot, graphicBuffer, fence);
204 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) {
208 // drop this fence, as it will never be received by the producer.
214 mSlots[slot].mFence = fence;
216 sp<Fence> mergedFence = Fence::merge
    [all...]

Completed in 276 milliseconds

1 2 3