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

12 3

  /frameworks/av/services/camera/libcameraservice/device3/
Camera3InputStream.cpp 95 sp<Fence> *releaseFenceOut) {
135 * Reassign release fence as the acquire fence incase of error
145 sp<Fence> releaseFence = new Fence(buffer.release_fence);
Camera3OutputStream.h 77 sp<Fence> *releaseFenceOut);
Camera3OutputStream.cpp 148 sp<Fence> *releaseFenceOut) {
154 sp<Fence> releaseFence;
157 * Fence management - calculate Release Fence
167 * Reassign release fence as the acquire fence in case of error
169 releaseFence = new Fence(buffer.acquire_fence);
178 releaseFence = new Fence(buffer.release_fence);
Camera3ZslStream.cpp 187 sp<Fence> *releaseFenceOut) {
236 * Reassign release fence as the acquire fence incase of error
245 sp<Fence> releaseFence = new Fence(releaseFenceFd);
Camera3Stream.cpp 349 sp<Fence> fence = new Fence(streamBuffers[bufferIdx].acquire_fence); local
350 fence->waitForever("Camera3Stream::registerBuffers");
  /frameworks/native/include/gui/
GLConsumer.h 104 // setReleaseFence stores a fence that will signal when the current buffer
105 // is no longer being read. This fence will be returned to the producer
108 // union fence.
109 void setReleaseFence(const sp<Fence>& fence);
181 // getCurrentFence returns the fence indicating when the current buffer is
183 sp<Fence> getCurrentFence() const;
298 // current slot's fence to guard against a producer accessing the buffer
335 // mCurrentFence is the fence received from BufferQueue in updateTexImage.
336 sp<Fence> mCurrentFence
    [all...]
  /frameworks/native/services/surfaceflinger/DisplayHardware/
FramebufferSurface.cpp 86 status_t FramebufferSurface::nextBuffer(sp<GraphicBuffer>& outBuffer, sp<Fence>& outFence) {
127 sp<Fence> acquireFence;
148 sp<Fence> fence = mHwc.getAndResetReleaseFence(mDisplayType); local
149 if (fence->isValid() &&
152 mCurrentBuffer, fence);
153 ALOGE_IF(err, "setReleaseFenceFd: failed to add the fence: %s (%d)",
HWComposer.cpp 445 sp<Fence> HWComposer::getDisplayFence(int disp) const {
565 const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buf) {
583 // ALOGD("fbPost: handle=%p, fence=%d", buf->handle, acquireFenceFd);
676 sp<Fence> HWComposer::getAndResetReleaseFence(int32_t id) {
678 return Fence::NO_FENCE;
689 return fd >= 0 ? new Fence(fd) : Fence::NO_FENCE;
717 disp.lastRetireFence = Fence::NO_FENCE;
720 disp.lastRetireFence = new Fence(disp.list->retireFenceFd);
755 dd.lastRetireFence = Fence::NO_FENCE
    [all...]
VirtualDisplaySurface.cpp 195 // At this point we know the output buffer acquire fence,
215 sp<Fence> fbFence = mHwc.getAndResetReleaseFence(mDisplayId);
229 sp<Fence> outFence = mHwc.getLastRetireFence(mDisplayId);
265 uint32_t format, uint32_t usage, int* sslot, sp<Fence>* fence) {
269 status_t result = mSource[source]->dequeueBuffer(sslot, fence, async,
303 status_t VirtualDisplaySurface::dequeueBuffer(int* pslot, sp<Fence>* fence, bool async,
355 *fence = mOutputFence;
358 result = dequeueBuffer(source, format, usage, &sslot, fence);
    [all...]
  /frameworks/native/libs/gui/tests/
BufferQueue_test.cpp 71 sp<Fence> fence; local
74 NATIVE_WINDOW_SCALING_MODE_FREEZE, 0, false, Fence::NO_FENCE);
79 mBQ->dequeueBuffer(&slot, &fence, false, 1, 1, 0,
87 mBQ->dequeueBuffer(&slot, &fence, false, 1, 1, 0,
  /frameworks/native/libs/gui/
IGraphicBufferProducer.cpp 82 virtual status_t dequeueBuffer(int *buf, sp<Fence>* fence, bool async,
98 *fence = new Fence();
99 reply.read(**fence);
120 virtual void cancelBuffer(int buf, const sp<Fence>& fence) {
124 data.write(*fence.get());
205 sp<Fence> fence; local
229 sp<Fence> fence = new Fence(); local
    [all...]
Surface.cpp 28 #include <ui/Fence.h>
118 sp<Fence> fence(new Fence(fenceFd));
119 int waitResult = fence->waitForever("dequeueBuffer_DEPRECATED");
121 ALOGE("dequeueBuffer_DEPRECATED: Fence::wait returned an error: %d",
185 sp<Fence> fence; local
186 status_t result = mGraphicBufferProducer->dequeueBuffer(&buf, &fence, mSwapIntervalZero,
197 ALOGE_IF(fence == NULL, "Surface::dequeueBuffer: received null Fence! buf=%d", buf)
    [all...]
BufferItemConsumer.cpp 68 BI_LOGE("Failed to wait for fence of acquired buffer: %s (%d)",
80 const sp<Fence>& releaseFence) {
BufferQueue.cpp 253 status_t BufferQueue::dequeueBuffer(int *outBuf, sp<Fence>* outFence, bool async,
407 mSlots[buf].mFence = Fence::NO_FENCE;
415 ST_LOGE("dequeueBuffer: about to return a NULL fence from mSlot. "
424 mSlots[buf].mFence = Fence::NO_FENCE;
455 ST_LOGE("dequeueBuffer: error waiting for fence: %#x", eglGetError());
457 ST_LOGE("dequeueBuffer: timeout waiting for fence");
480 sp<Fence> fence; local
483 &async, &fence);
485 if (fence == NULL)
    [all...]
IGraphicBufferConsumer.cpp 35 #include <ui/Fence.h>
121 // check we have enough space (in case flattening the fence/graphicbuffer lied to us)
157 mFence = new Fence();
226 EGLDisplay display, EGLSyncKHR fence,
227 const sp<Fence>& releaseFence) {
389 sp<Fence> releaseFence = new Fence();
GLConsumer.cpp 124 mCurrentFence(Fence::NO_FENCE),
244 // if we're detached, we just use the fence that was created in detachFromContext()
261 mCurrentFence = Fence::NO_FENCE;
499 void GLConsumer::setReleaseFence(const sp<Fence>& fence) {
500 if (fence->isValid() &&
503 mCurrentTextureBuf, fence);
505 ST_LOGE("setReleaseFence: failed to add the fence: %s (%d)",
660 ST_LOGE("syncForReleaseLocked: error creating EGL fence: %#x",
668 ST_LOGE("syncForReleaseLocked: error dup'ing native fence "
681 EGLSyncKHR fence = mEglSlots[mCurrentTexture].mEglFence; local
    [all...]
  /frameworks/native/services/surfaceflinger/
DispSync.cpp 26 #include <ui/Fence.h>
56 // This is the offset from the present fence timestamps to the corresponding
328 bool DispSync::addPresentFence(const sp<Fence>& fence) {
331 mPresentFences[mPresentSampleOffset] = fence;
337 const sp<Fence>& f(mPresentFences[i]);
Layer.cpp 426 // acquire fence the first time a new buffer is acquired on EACH display.
429 sp<Fence> fence = mSurfaceFlingerConsumer->getCurrentFence(); local
430 if (fence->isValid()) {
431 fenceFd = fence->dup();
433 ALOGW("failed to dup layer fence, skipping sync: %d", errno);
909 sp<Fence> frameReadyFence = mSurfaceFlingerConsumer->getCurrentFence();
913 // There was no fence for this frame, so assume that it was ready
919 sp<Fence> presentFence = hwc.getDisplayFence(HWC_DISPLAY_PRIMARY);
    [all...]
  /frameworks/av/media/libstagefright/omx/
GraphicBufferSource.cpp 268 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, Fence::NO_FENCE);
376 ALOGW("failed to wait for buffer fence: %d", err);
391 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, Fence::NO_FENCE);
418 Fence::NO_FENCE);
457 Fence::NO_FENCE);
  /frameworks/native/libs/ui/
Android.mk 19 Fence.cpp \
  /external/chromium_org/third_party/angle_dx11/src/libGLESv2/
Context.h 59 class Fence;
295 void deleteFence(GLuint fence);
323 Fence *getFence(GLuint handle);
441 typedef HASH_MAP<GLuint, Fence*> FenceMap;
  /frameworks/native/cmds/flatland/
Main.cpp 24 #include <ui/Fence.h>
481 // Grab the fence for the start timestamp.
482 sp<Fence> startFence = mGLConsumer->getCurrentFence();
492 // Grab the fence for the end timestamp.
493 sp<Fence> endFence = mGLConsumer->getCurrentFence();
495 // Keep doing frames until the end fence has signaled.
  /frameworks/av/media/libstagefright/
SurfaceMediaSource.cpp 300 ALOGW("read: failed to wait for buffer fence: %d", err);
318 EGL_NO_SYNC_KHR, Fence::NO_FENCE);
418 Fence::NO_FENCE);
  /external/llvm/lib/IR/
Instruction.cpp 222 case Fence: return "fence";
425 case Instruction::Fence: // FIXME: refine definition of mayReadFromMemory
443 case Instruction::Fence: // FIXME: refine definition of mayWriteToMemory
  /frameworks/native/opengl/libagl/
egl.cpp 34 #include <ui/Fence.h>
384 sp<Fence> fence(new Fence(fenceFd));
385 if (fence->wait(Fence::TIMEOUT_NEVER) != NO_ERROR) {
534 sp<Fence> fence(new Fence(fenceFd));
535 if (fence->wait(Fence::TIMEOUT_NEVER))
    [all...]

Completed in 4197 milliseconds

12 3