/frameworks/native/libs/gui/include/gui/ |
Surface.h | 136 sp<Fence>* outFence, float outTransformMatrix[16]); 274 sp<Fence>* outFence);
|
FrameTimestamps.h | 155 const sp<Fence>& fence) const;
|
/frameworks/native/services/surfaceflinger/ |
DisplayDevice.h | 52 class Fence; 181 const sp<Fence>& getClientTargetAcquireFence() const;
|
SurfaceFlingerConsumer.cpp | 149 // time when previous buffer's actual-present fence was signaled 195 sp<Fence> SurfaceFlingerConsumer::getPrevFinalReleaseFence() const { 201 void SurfaceFlingerConsumer::setReleaseFence(const sp<Fence>& fence) 204 GLConsumer::setReleaseFence(fence); 208 if (fence->isValid() && 211 mPendingRelease.graphicBuffer, fence); 213 " fence: %s (%d)", strerror(-result), result); 227 mPendingRelease.fence);
|
/hardware/interfaces/media/omx/1.0/ |
types.hal | 117 * The fence associated with the message. 119 Fence fence;
|
/frameworks/base/media/jni/ |
android_media_ImageReader.cpp | 440 static sp<Fence> Image_unlockIfLocked(JNIEnv* env, jobject image) { 446 return Fence::NO_FENCE; 463 return Fence::NO_FENCE; 466 sp<Fence> releaseFence = new Fence(fenceFd); 470 return Fence::NO_FENCE; 489 sp<Fence> releaseFence = Image_unlockIfLocked(env, image); 572 // Return the buffer to the queue. No need to provide fence, as this buffer wasn't
|
/frameworks/native/libs/gui/ |
GLConsumer.cpp | 159 mCurrentFence(Fence::NO_FENCE), 188 mCurrentFence(Fence::NO_FENCE), 307 // if we're detached, we just use the fence that was created in detachFromContext() 328 mCurrentFence = Fence::NO_FENCE; 483 pendingRelease->fence = mEglSlots[mCurrentTexture].mEglFence; 587 void GLConsumer::setReleaseFence(const sp<Fence>& fence) { 588 if (fence->isValid() && 591 mCurrentTextureImage->graphicBuffer(), fence); 593 GLC_LOGE("setReleaseFence: failed to add the fence: %s (%d)" 726 EGLSyncKHR fence = mEglSlots[mCurrentTexture].mEglFence; local [all...] |
BufferQueueConsumer.cpp | 131 // earlier buffer if entry[1]'s fence hasn't signaled yet. 210 outBuffer->mFence = Fence::NO_FENCE; 249 mSlots[slot].mFence = Fence::NO_FENCE; 382 mSlots[*outSlot].mFence = Fence::NO_FENCE; 408 const sp<Fence>& releaseFence, EGLDisplay eglDisplay, 415 BQ_LOGE("releaseBuffer: slot %d out of range or fence %p NULL", slot,
|
BufferItem.cpp | 19 #include <ui/Fence.h> 203 mFence = new Fence();
|
IGraphicBufferConsumer.cpp | 24 #include <ui/Fence.h> 85 EGLSyncKHR fence __attribute__((unused)), 86 const sp<Fence>& releaseFence) override {
|
FrameTimestamps.cpp | 93 if (Fence::isValidTimestamp(signalTime)) { 95 } else if (pending || signalTime == Fence::SIGNAL_TIME_PENDING) { 260 // If there isn't an acquire fence, assume that buffer was 326 case FenceTime::Snapshot::State::FENCE: 327 ALOGE_IF((*dst)->isValid(), "applyFenceDelta: Unexpected fence."); 328 *dst = createFenceTime(src.fence); 342 const sp<Fence>& fence) const { 343 return std::make_shared<FenceTime>(fence); 374 // Note: We avoid sending the acquire fence back to the caller sinc [all...] |
/frameworks/native/libs/gui/bufferqueue/1.0/ |
H2BGraphicBufferProducer.cpp | 188 // Ref: frameworks/native/libs/ui/Fence.cpp 191 * \brief Return the size of the non-fd buffer required to flatten a fence. 193 * \param[in] fence The input fence of type `hidl_handle`. 200 inline size_t getFenceFlattenedSize(hidl_handle const& /* fence */) { 205 * \brief Return the number of file descriptors contained in a fence. 207 * \param[in] fence The input fence of type `hidl_handle`. 208 * \return `0` if \p fence does not contain a valid file descriptor, or `1` 211 inline size_t getFenceFdCount(hidl_handle const& fence) { [all...] |
/frameworks/native/cmds/flatland/ |
Main.cpp | 23 #include <ui/Fence.h> 480 // Grab the fence for the start timestamp. 481 sp<Fence> startFence = mGLConsumer->getCurrentFence(); 491 // Grab the fence for the end timestamp. 492 sp<Fence> endFence = mGLConsumer->getCurrentFence(); 494 // Keep doing frames until the end fence has signaled.
|
/external/llvm/lib/IR/ |
Instruction.cpp | 298 case Fence: return "fence"; 486 case Instruction::Fence: // FIXME: refine definition of mayReadFromMemory 506 case Instruction::Fence: // FIXME: refine definition of mayWriteToMemory 529 case Instruction::Fence:
|
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3OutputStream.cpp | 206 sp<Fence> *releaseFenceOut) { 213 // Fence management - always honor release fence from HAL 214 sp<Fence> releaseFence = new Fence(buffer.release_fence); 748 sp<Fence> fence; local 749 status_t res = mConsumer->detachNextBuffer(buffer, &fence); 765 if (fence!= 0 && fence->isValid()) [all...] |
Camera3OutputStream.h | 190 sp<Fence> *releaseFenceOut);
|
Camera3StreamSplitter.cpp | 452 sp<Fence> fence; local 453 status_t res = from->detachNextBuffer(&buffer, &fence); 468 // Merge the release fence of the incoming buffer so that the fence we send 470 if (fence != nullptr && fence->isValid()) { 471 tracker.mergeFence(fence); 549 : mBuffer(buffer), mMergedFence(Fence::NO_FENCE), mRequestedSurfaces(requestedSurfaces), 552 void Camera3StreamSplitter::BufferTracker::mergeFence(const sp<Fence>& with) [all...] |
/external/swiftshader/src/OpenGL/libGLESv2/ |
Android.mk | 32 Fence.cpp \
|
/frameworks/base/libs/hwui/ |
OpenGLReadback.cpp | 28 #include <ui/Fence.h> 40 sp<Fence> sourceFence; 59 ALOGE("Timeout (500ms) exceeded waiting for buffer fence, abandoning readback attempt");
|
/external/vulkan-validation-layers/tests/ |
vktestbinding.cpp | 371 VkResult Device::wait(const std::vector<const Fence *> &fences, bool wait_all, uint64_t timeout) { 384 void Queue::submit(const std::vector<const CommandBuffer *> &cmds, Fence &fence) { 397 EXPECT(vkQueueSubmit(handle(), 1, &submit_info, fence.handle()) == VK_SUCCESS); 400 void Queue::submit(const CommandBuffer &cmd, Fence &fence) { submit(std::vector<const CommandBuffer *>(1, &cmd), fence); } 403 Fence fence; local 404 submit(cmd, fence); [all...] |
/frameworks/av/media/libstagefright/ |
MediaSync.cpp | 139 returnBufferToInput_l(mBuffersSentToOutput.valueAt(0), Fence::NO_FENCE); 707 sp<Fence> fence; local 708 status_t status = mOutput->detachNextBuffer(&buffer, &fence); 733 returnBufferToInput_l(buffer, fence); 737 const sp<GraphicBuffer> &buffer, const sp<Fence> &fence) { 755 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, fence);
|
SurfaceMediaSource.cpp | 296 ALOGW("read: failed to wait for buffer fence: %d", err); 314 EGL_NO_SYNC_KHR, Fence::NO_FENCE); 414 Fence::NO_FENCE);
|
/frameworks/av/media/libstagefright/omx/ |
SoftVideoEncoderOMXComponent.cpp | 33 #include <ui/Fence.h> 560 sp<Fence> fence = new Fence(nativeMeta.nFenceFd); local 562 status_t err = fence->wait(IOMX::kFenceTimeoutMs); 564 ALOGE("Timed out waiting on input fence");
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiObjectManagementTests.cpp | 918 struct Fence 938 return getSafeObjectCount<Fence>(context, params, MAX_CONCURRENT_SYNC_PRIMITIVES); 2652 CaseDescription<Fence> fence; member in struct:vkt::CaseDescriptions [all...] |
/frameworks/native/services/vr/hardware_composer/impl/ |
vr_hwc.cpp | 20 #include <ui/Fence.h> 90 base::unique_fd fence) { 94 fence_ = new Fence(fence.release()); 188 .fence = fence_.get() ? fence_ : new Fence(-1), 199 if (!layer.info.buffer.get() || !layer.info.fence.get()) { 478 base::unique_fd fence(acquireFence); 487 if (!display_ptr->SetClientTarget(target, std::move(fence))) 495 base::unique_fd fence(releaseFence) 553 base::unique_fd fence; local [all...] |