HomeSort by relevance Sort by last modified time
    Searched refs:Fence (Results 26 - 50 of 179) sorted by null

12 3 4 5 6 7 8

  /frameworks/native/services/surfaceflinger/
MonitoredProducer.h 42 virtual status_t dequeueBuffer(int* slot, sp<Fence>* fence, uint32_t w, uint32_t h,
47 sp<Fence>* outFence);
52 virtual status_t cancelBuffer(int slot, const sp<Fence>& fence);
65 sp<Fence>* outFence, float outTransformMatrix[16]) override;
SurfaceFlingerConsumer.h 83 sp<Fence> getPrevFinalReleaseFence() const;
85 virtual void setReleaseFence(const sp<Fence>& fence) override;
108 // A release that is pending on the receipt of a new release fence from
MonitoredProducer.cpp 71 status_t MonitoredProducer::dequeueBuffer(int* slot, sp<Fence>* fence, uint32_t w, uint32_t h,
75 return mProducer->dequeueBuffer(slot, fence, w, h, format, usage, outBufferAge, outTimestamps);
83 sp<Fence>* outFence) {
97 status_t MonitoredProducer::cancelBuffer(int slot, const sp<Fence>& fence) {
98 return mProducer->cancelBuffer(slot, fence);
148 sp<Fence>* outFence, float outTransformMatrix[16]) {
  /frameworks/native/libs/gui/tests/
IGraphicBufferProducer_test.cpp 68 const sp<Fence> QUEUE_BUFFER_INPUT_FENCE = Fence::NO_FENCE;
131 fence = QUEUE_BUFFER_INPUT_FENCE;
142 fence);
175 QueueBufferInputBuilder& setFence(sp<Fence> fence) {
176 this->fence = fence;
187 sp<Fence> fence; member in struct:android::IGraphicBufferProducerTest::QueueBufferInputBuilder
193 sp<Fence> fence; member in struct:android::IGraphicBufferProducerTest::DequeueBufferResult
638 sp<Fence> fence; local
647 sp<Fence> fence; local
658 sp<Fence> fence; local
680 sp<Fence> fence; local
693 sp<Fence> fence; local
710 sp<Fence> fence; local
723 sp<Fence> fence; local
    [all...]
StreamSplitter_test.cpp 82 sp<Fence> fence; local
85 inputProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN,
97 NATIVE_WINDOW_SCALING_MODE_FREEZE, 0, Fence::NO_FENCE);
114 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, Fence::NO_FENCE));
119 inputProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN,
154 sp<Fence> fence; local
157 inputProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN,
169 NATIVE_WINDOW_SCALING_MODE_FREEZE, 0, Fence::NO_FENCE)
218 sp<Fence> fence; local
    [all...]
BufferItemConsumer_test.cpp 78 sp<Fence> outFence;
95 NATIVE_WINDOW_SCALING_MODE_FREEZE, 0, Fence::NO_FENCE);
116 status_t ret = mBIC->releaseBuffer(buffer, Fence::NO_FENCE);
  /frameworks/av/services/camera/libcameraservice/device3/
Camera3IOStreamBase.h 62 // The merged release fence for all returned buffers
63 sp<Fence> mCombinedFence;
75 sp<Fence> *releaseFenceOut) = 0;
Camera3InputStream.h 64 sp<Fence> *releaseFenceOut);
Camera3IOStreamBase.cpp 43 mCombinedFence = new Fence();
235 sp<Fence> releaseFence;
243 mCombinedFence = Fence::merge(mName, mCombinedFence, releaseFence);
Camera3StreamSplitter.h 165 const sp<Fence>& getMergedFence() const { return mMergedFence; }
167 void mergeFence(const sp<Fence>& with);
182 sp<Fence> mMergedFence;
Camera3DummyStream.h 84 sp<Fence> *releaseFenceOut);
  /frameworks/native/libs/gui/include/gui/
BufferItem.h 31 class Fence;
57 // mFence is a fence that will signal when the buffer is idle.
58 sp<Fence> mFence;
IGraphicBufferProducer.h 28 #include <ui/Fence.h>
153 // The fence parameter will be updated to hold the fence associated with
155 // fence signals. If the fence is Fence::NO_FENCE, the buffer may be written
197 virtual status_t dequeueBuffer(int* slot, sp<Fence>* fence, uint32_t w, uint32_t h,
229 // equivalent to fence from the dequeueBuffer call.
238 sp<Fence>* outFence) = 0
365 sp<Fence> fence; member in struct:android::IGraphicBufferProducer::QueueBufferInput
    [all...]
IGraphicBufferConsumer.h 34 class Fence;
112 // done while the buffer's contents are still being accessed. The fence will signal when the
131 // * the fence was NULL
134 EGLSyncKHR fence, const sp<Fence>& releaseFence) = 0;
136 status_t releaseHelper(int buf, uint64_t frameNumber, const sp<Fence>& releaseFence) {
BufferQueueConsumer.h 61 // being accessed. The fence will signal when the buffer is no longer
72 const sp<Fence>& releaseFence, EGLDisplay display,
73 EGLSyncKHR fence);
160 EGLDisplay display, EGLSyncKHR fence,
161 const sp<Fence>& releaseFence) {
162 return releaseBuffer(buf, frameNumber, releaseFence, display, fence);
  /hardware/interfaces/media/1.0/
types.hal 25 typedef FileDescriptor Fence;
  /frameworks/native/libs/gui/
ConsumerBase.cpp 61 mPrevFinalReleaseFence(Fence::NO_FENCE) {
100 mSlots[slotIndex].mFence = Fence::NO_FENCE;
318 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) {
320 return addReleaseFenceLocked(slot, graphicBuffer, fence);
324 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) {
328 // drop this fence, as it will never be received by the producer.
334 mSlots[slot].mFence = fence;
339 // Merging an invalid fence with any other fence results in a
    [all...]
StreamSplitter.cpp 195 sp<Fence> fence; local
196 status_t status = from->detachNextBuffer(&buffer, &fence);
212 // Merge the release fence of the incoming buffer so that the fence we send
214 tracker->mergeFence(fence);
279 : mBuffer(buffer), mMergedFence(Fence::NO_FENCE), mReleaseCount(0) {}
283 void StreamSplitter::BufferTracker::mergeFence(const sp<Fence>& with) {
284 mMergedFence = Fence::merge(String8("StreamSplitter"), mMergedFence, with);
  /frameworks/native/libs/gui/include/gui/bufferqueue/1.0/
H2BGraphicBufferProducer.h 67 status_t dequeueBuffer(int* slot, sp<Fence>* fence, uint32_t w, uint32_t h,
71 status_t detachNextBuffer(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence)
78 status_t cancelBuffer(int slot, const sp<Fence>& fence) override;
94 sp<Fence>* outFence, float outTransformMatrix[16]) override;
  /frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/
buffer_hub_queue_producer.h 44 status_t dequeueBuffer(int* out_slot, sp<Fence>* out_fence, uint32_t width,
54 sp<Fence>* out_fence) override;
65 status_t cancelBuffer(int slot, const sp<Fence>& fence) override;
106 sp<Fence>* out_fence,
  /frameworks/native/services/surfaceflinger/DisplayHardware/
VirtualDisplaySurface.cpp 70 mFbFence(Fence::NO_FENCE),
71 mOutputFence(Fence::NO_FENCE),
218 // At this point we know the output buffer acquire fence,
250 sp<Fence> retireFence = mHwc.getPresentFence(mDisplayId);
252 sp<Fence> fbFence = mHwc.getAndResetReleaseFence(mDisplayId);
273 sp<Fence> outFence = mHwc.getLastRetireFence(mDisplayId);
318 const sp<Fence>& VirtualDisplaySurface::getClientTargetAcquireFence() const {
345 PixelFormat format, uint64_t usage, int* sslot, sp<Fence>* fence) {
349 mSource[source]->dequeueBuffer(sslot, fence, mSinkBufferWidth, mSinkBufferHeight
    [all...]
HWC2.h 41 class Fence;
225 android::sp<android::Fence>>* outFences) const;
227 android::sp<android::Fence>* outPresentFence);
232 const android::sp<android::Fence>& acquireFence,
239 const android::sp<android::Fence>& releaseFence);
246 android::sp<android::Fence>* outPresentFence, uint32_t* state);
305 const android::sp<android::Fence>& acquireFence);
HWComposer_hwc1.cpp 483 sp<Fence> HWComposer::getDisplayFence(int disp) const {
638 const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buf) {
656 // ALOGD("fbPost: handle=%p, fence=%d", buf->handle, acquireFenceFd);
753 sp<Fence> HWComposer::getAndResetReleaseFence(int32_t id) {
755 return Fence::NO_FENCE;
766 return fd >= 0 ? new Fence(fd) : Fence::NO_FENCE;
794 disp.lastRetireFence = Fence::NO_FENCE;
797 disp.lastRetireFence = new Fence(disp.list->retireFenceFd);
843 dd.lastRetireFence = Fence::NO_FENCE
    [all...]
  /frameworks/native/libs/vr/libbufferhubqueue/tests/
buffer_hub_queue_producer-test.cpp 70 QueueBufferInputBuilder& setFence(sp<Fence> fence) {
71 this->mFence = fence;
82 sp<Fence> mFence{Fence::NO_FENCE};
112 sp<Fence> fence; local
113 ASSERT_NO_FATAL_FAILURE(DequeueBuffer(outSlot, &fence));
116 void DequeueBuffer(int* outSlot, sp<Fence>* outFence) {
302 // Test when fence was NUL
363 sp<Fence> fence; local
405 sp<Fence> fence; local
440 sp<Fence> fence; local
458 sp<Fence> fence; local
    [all...]
  /hardware/interfaces/media/omx/1.0/
IOmxNode.hal 270 * Pass \p fence to the node if it supports fences. Otherwise, it waits on
271 * \p fence before calling OMX_FillThisBuffer(). The node will take
272 * ownership of the fence even if this call fails.
280 * @param fence Fence to wait for (if not null).
288 Fence fence
294 * Pass \p fence to the node if it supports fences. Otherwise, wait on
295 * \p fence before calling OMX_EmptyThisBuffer(). The node will take
296 * ownership of the fence even if this call fails
    [all...]

Completed in 2744 milliseconds

12 3 4 5 6 7 8