Home
last modified time | relevance | path

Searched refs:mFence (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/libs/hwui/
DFence.h46 mFence = eglCreateSyncKHR(mDisplay, EGL_SYNC_FENCE_KHR, NULL); in Fence()
48 mFence = EGL_NO_SYNC_KHR; in Fence()
57 if (mFence != EGL_NO_SYNC_KHR) { in ~Fence()
58 eglDestroySyncKHR(mDisplay, mFence); in ~Fence()
70 EGLint waitStatus = eglClientWaitSyncKHR(mDisplay, mFence,
80 EGLSyncKHR mFence; variable
101 mFence.wait(mTimeout); in ~AutoFence()
106 Fence mFence; variable
/frameworks/native/libs/gui/
DBufferItem.cpp42 bufferItem.mFence = mFence; in operator IGraphicBufferConsumer::BufferItem()
76 if (mFence != 0) { in getFlattenedSize()
77 c += mFence->getFlattenedSize(); in getFlattenedSize()
88 if (mFence != 0) { in getFdCount()
89 c += mFence->getFdCount(); in getFdCount()
115 if (mFence != 0) { in flatten()
116 status_t err = mFence->flatten(buffer, size, fds, count); in flatten()
158 mFence = new Fence(); in unflatten()
159 status_t err = mFence->unflatten(buffer, size, fds, count); in unflatten()
DConsumerBase.cpp97 mSlots[slotIndex].mFence = Fence::NO_FENCE; in freeBufferLocked()
194 mSlots[item->mBuf].mFence = item->mFence; in acquireBufferLocked()
218 if (!mSlots[slot].mFence.get()) { in addReleaseFenceLocked()
219 mSlots[slot].mFence = fence; in addReleaseFenceLocked()
223 mSlots[slot].mFence, fence); in addReleaseFenceLocked()
228 mSlots[slot].mFence = fence; in addReleaseFenceLocked()
231 mSlots[slot].mFence = mergedFence; in addReleaseFenceLocked()
250 display, eglFence, mSlots[slot].mFence); in releaseBufferLocked()
255 mSlots[slot].mFence = Fence::NO_FENCE; in releaseBufferLocked()
DIGraphicBufferConsumer.cpp70 if (mFence != 0) { in getFlattenedSize()
71 c += mFence->getFlattenedSize(); in getFlattenedSize()
82 if (mFence != 0) { in getFdCount()
83 c += mFence->getFdCount(); in getFdCount()
119 if (mFence != 0) { in flatten()
120 status_t err = mFence->flatten(buffer, size, fds, count); in flatten()
162 mFence = new Fence(); in unflatten()
163 status_t err = mFence->unflatten(buffer, size, fds, count); in unflatten()
DBufferQueueProducer.cpp317 mSlots[found].mFence = Fence::NO_FENCE; in dequeueBuffer()
322 if (CC_UNLIKELY(mSlots[found].mFence == NULL)) { in dequeueBuffer()
330 *outFence = mSlots[found].mFence; in dequeueBuffer()
332 mSlots[found].mFence = Fence::NO_FENCE; in dequeueBuffer()
455 *outFence = mSlots[found].mFence; in detachNextBuffer()
501 mSlots[*outSlot].mFence = Fence::NO_FENCE; in attachBuffer()
595 mSlots[slot].mFence = fence; in queueBuffer()
612 item.mFence = fence; in queueBuffer()
685 mSlots[slot].mFence = fence; in cancelBuffer()
963 mSlots[slot].mFence = Fence::NO_FENCE; in allocateBuffers()
DCpuConsumer.cpp99 if (b.mFence.get()) { in lockNextBuffer()
106 b.mFence->dup()); in lockNextBuffer()
119 b.mFence->dup()); in lockNextBuffer()
DBufferQueueConsumer.cpp157 mSlots[slot].mFence = Fence::NO_FENCE; in acquireBuffer()
254 mSlots[*outSlot].mFence = Fence::NO_FENCE; in attachBuffer()
312 mSlots[slot].mFence = releaseFence; in releaseBuffer()
DBufferItemConsumer.cpp73 err = item->mFence->waitForever("BufferItemConsumer::acquireBuffer"); in acquireBuffer()
DBufferQueueCore.cpp205 mSlots[slot].mFence = Fence::NO_FENCE; in freeBufferLocked()
DStreamSplitter.cpp146 bufferItem.mFence); in onFrameAvailable()
DGLConsumer.cpp438 mCurrentFence = item.mFence; in updateAndReleaseLocked()
/frameworks/base/services/core/java/com/android/server/location/
DGeofenceState.java35 public final Geofence mFence; field in GeofenceState
51 mFence = fence; in GeofenceState()
72 boolean inside = mDistanceToCenter <= Math.max(mFence.getRadius(), location.getAccuracy()); in processLocation()
95 return Math.abs(mFence.getRadius() - mDistanceToCenter); in getDistanceToBoundary()
112 return String.format("%s d=%.0f %s", mFence.toString(), mDistanceToCenter, state); in toString()
DGeofenceManager.java132 if (geofence.equals(w.mFence) && intent.equals(w.mIntent)) { in addFence()
159 if (fence.equals(state.mFence)) { in removeFence()
420 pw.append(state.mFence.toString()); in dump()
/frameworks/native/include/gui/
DBufferSlot.h124 sp<Fence> mFence; member
DBufferItem.h57 sp<Fence> mFence; variable
DConsumerBase.h194 sp<Fence> mFence; member
DIGraphicBufferConsumer.h65 sp<Fence> mFence; variable
/frameworks/av/services/camera/libcameraservice/gui/
DRingBufferConsumer.cpp109 status_t err = pinnedBuffer->getBufferItem().mFence->waitForever( in pinSelectedBuffer()
233 item.mGraphicBuffer, item.mFence); in releaseOldestBufferLocked()
339 item.mGraphicBuffer, item.mFence); in unpinBuffer()
/frameworks/rs/
DrsGrallocConsumer.cpp81 if (b.mFence.get()) { in lockNextBuffer()
82 err = b.mFence->waitForever("GrallocConsumer::lockNextBuffer"); in lockNextBuffer()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3ZslStream.cpp172 fenceFd = bufferItem->getBufferItem().mFence->dup(); in getInputBufferLocked()
250 bufferItem->getBufferItem().mFence = releaseFence; in returnBufferCheckedLocked()
DCamera3InputStream.cpp77 fenceFd = bufferItem.mFence->dup(); in getInputBufferLocked()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DFramebufferSurface.cpp119 outFence = item.mFence; in nextBuffer()
DVirtualDisplaySurface.cpp446 mFbFence = mSlots[item.mBuf].mFence; in queueBuffer()
/frameworks/av/media/libstagefright/omx/
DGraphicBufferSource.cpp377 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, item.mFence); in suspend()
427 err = item.mFence->waitForever("GraphicBufferSource::fillCodecBuffer_l"); in fillCodecBuffer_l()
779 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, item.mFence); in onFrameAvailable()
/frameworks/av/media/libstagefright/
DSurfaceMediaSource.cpp303 err = item.mFence->waitForever("SurfaceMediaSource::read"); in read()