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

1 23 4 5 6 7 8

  /frameworks/av/media/libstagefright/omx/1.0/
WGraphicBufferProducer.cpp 66 sp<Fence> fence; local
69 &slot, &fence, width, height,
76 if ((fence == nullptr) || !wrapAs(&tFence, &nh, *fence)) {
78 "Invalid output fence";
119 sp<Fence> outFence;
134 "Invalid output fence";
169 0, ::android::Fence::NO_FENCE);
198 int32_t slot, const hidl_handle& fence) {
    [all...]
  /frameworks/native/libs/gui/
IGraphicBufferProducer.cpp 128 virtual status_t dequeueBuffer(int* buf, sp<Fence>* fence, uint32_t width, uint32_t height,
147 *fence = new Fence();
148 result = reply.read(**fence);
150 fence->clear();
189 sp<Fence>* outFence) {
216 *outFence = new Fence;
271 virtual status_t cancelBuffer(int buf, const sp<Fence>& fence) {
696 sp<Fence> fence = Fence::NO_FENCE; local
720 sp<Fence> fence; local
762 sp<Fence> fence = new Fence(); local
    [all...]
BufferQueueProducer.cpp 55 mLastQueueBufferFence(Fence::NO_FENCE),
350 status_t BufferQueueProducer::dequeueBuffer(int* outSlot, sp<android::Fence>* outFence,
461 mSlots[found].mFence = Fence::NO_FENCE;
476 BQ_LOGE("dequeueBuffer: about to return a NULL fence - "
483 // Don't return a fence in shared buffer mode, except for the first
487 Fence::NO_FENCE : mSlots[found].mFence;
489 mSlots[found].mFence = Fence::NO_FENCE;
548 BQ_LOGE("dequeueBuffer: error %#x waiting for fence",
551 BQ_LOGE("dequeueBuffer: timeout waiting for fence");
624 sp<Fence>* outFence)
    [all...]
BufferItemConsumer.cpp 87 BI_LOGE("Failed to wait for fence of acquired buffer: %s (%d)",
99 const sp<Fence>& releaseFence) {
Surface.cpp 32 #include <ui/Fence.h>
147 sp<Fence>* outFence, float outTransformMatrix[16]) {
247 *dst = (signalTime == Fence::SIGNAL_TIME_PENDING) ?
249 (signalTime == Fence::SIGNAL_TIME_INVALID) ?
404 sp<Fence> fence(new Fence(fenceFd));
405 int waitResult = fence->waitForever("dequeueBuffer_DEPRECATED");
407 ALOGE("dequeueBuffer_DEPRECATED: Fence::wait returned an error: %d",
503 sp<Fence> fence local
    [all...]
CpuConsumer.cpp 237 sp<Fence> fence(new Fence(fd));
241 fence);
  /frameworks/native/libs/gui/tests/
Malicious.cpp 40 status_t dequeueBuffer(int* slot, sp<Fence>* fence, uint32_t w, uint32_t h, PixelFormat format,
43 return mProducer->dequeueBuffer(slot, fence, w, h, format, usage, outBufferAge,
47 status_t detachNextBuffer(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence) override {
57 status_t cancelBuffer(int slot, const sp<Fence>& fence) override {
58 return mProducer->cancelBuffer(slot, fence);
89 status_t getLastQueuedBuffer(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence,
112 status_t dequeueBuffer(int* buf, sp<Fence>* fence, uint32_t width, uint32_t height
    [all...]
  /frameworks/native/services/surfaceflinger/DisplayHardware/
HWC2.cpp 26 #include <ui/Fence.h>
36 using android::Fence;
489 std::unordered_map<Layer*, sp<Fence>>* outFences) const
500 std::unordered_map<Layer*, sp<Fence>> releaseFences;
505 sp<Fence> fence(new Fence(fenceFds[element]));
506 releaseFences.emplace(layer, fence);
521 Error Display::present(sp<Fence>* outPresentFence)
530 *outPresentFence = new Fence(presentFenceFd)
    [all...]
HWComposer.cpp 405 const sp<Fence>& acquireFence, const sp<GraphicBuffer>& target,
451 sp<android::Fence> outPresentFence;
459 std::unordered_map<HWC2::Layer*, sp<Fence>> releaseFences;
575 sp<Fence> HWComposer::getPresentFence(int32_t displayId) const {
578 return Fence::NO_FENCE;
583 sp<Fence> HWComposer::getLayerReleaseFence(int32_t displayId,
587 return Fence::NO_FENCE;
591 ALOGV("getLayerReleaseFence: Release fence not found");
592 return Fence::NO_FENCE;
625 std::unordered_map<HWC2::Layer*, sp<Fence>> releaseFences
    [all...]
  /frameworks/av/media/libstagefright/
FrameRenderTracker.cpp 46 int64_t mediaTimeUs, const sp<GraphicBuffer> &graphicBuffer, const sp<Fence> &fence) {
47 mRenderQueue.emplace_back(mediaTimeUs, graphicBuffer, fence);
66 // could have been canceled after fence has signaled
75 // was this frame dropped (we could also infer this if the fence is invalid or a dup of
76 // the queued fence; however, there is no way to figure that out.)
83 // store dequeue fence and buffer index
84 renderInfo->mFence = new Fence(::dup(fenceFd));
123 // check if fence signaled
125 if (signalTime < 0) { // invalid fence
    [all...]
  /frameworks/av/media/libstagefright/include/media/stagefright/
MediaSync.h 35 class Fence;
260 void returnBufferToInput_l(const sp<GraphicBuffer> &buffer, const sp<Fence> &fence);
  /frameworks/av/media/ndk/
NdkImageReader.cpp 378 // When the output paramter fence is not NULL, we are acquiring the image asynchronously.
436 // Return the buffer to the queue. No need to provide fence, as this buffer wasn't
458 // When the output paramter fence is not NULL, we are acquiring the image asynchronously.
499 sp<Fence> unlockFence = unlockFenceFd > 0 ? new Fence(unlockFenceFd) : Fence::NO_FENCE;
500 sp<Fence> releaseFence = releaseFenceFd > 0 ? new Fence(releaseFenceFd) : Fence::NO_FENCE;
501 sp<Fence> bufferFence = Fence::merge("AImageReader", unlockFence, releaseFence)
    [all...]
  /frameworks/av/services/camera/libcameraservice/device3/
Camera3DummyStream.cpp 59 sp<Fence>*) {
Camera3InputStream.cpp 99 sp<Fence> *releaseFenceOut) {
140 * Reassign release fence as the acquire fence incase of error
150 sp<Fence> releaseFence = new Fence(buffer.release_fence);
  /frameworks/native/libs/gui/include/gui/
GLConsumer.h 108 // setReleaseFence stores a fence that will signal when the current buffer
109 // is no longer being read. This fence will be returned to the producer
112 // union fence.
113 virtual void setReleaseFence(const sp<Fence>& fence);
192 // getCurrentFence returns the fence indicating when the current buffer is
194 sp<Fence> getCurrentFence() const;
274 graphicBuffer(), display(nullptr), fence(nullptr) {}
280 EGLSyncKHR fence; member in struct:android::GLConsumer::PendingRelease
378 // current slot's fence to guard against a producer accessing the buffe
    [all...]
  /frameworks/native/libs/vr/libbufferhubqueue/
buffer_hub_queue_producer.cpp 133 int* out_slot, sp<Fence>* out_fence, uint32_t width, uint32_t height,
163 LocalHandle fence; local
164 auto buffer_status = queue_->Dequeue(dequeue_timeout_ms_, &slot, &fence);
219 // TODO(jwcai) Handle fence properly. |BufferHub| has full fence support, we
220 // just need to exopose that through |BufferHubQueue| once we need fence.
221 *out_fence = Fence::NO_FENCE;
239 sp<GraphicBuffer>* /* out_buffer */, sp<Fence>* /* out_fence */) {
268 sp<Fence> fence; local
    [all...]
  /frameworks/native/services/surfaceflinger/
DispSync.cpp 598 // fence signals.
600 if (time == Fence::SIGNAL_TIME_PENDING ||
601 time == Fence::SIGNAL_TIME_INVALID) {
682 previous = Fence::SIGNAL_TIME_INVALID;
686 if (presentTime == Fence::SIGNAL_TIME_PENDING) {
687 result.appendFormat(" [unsignaled fence]\n");
688 } else if(presentTime == Fence::SIGNAL_TIME_INVALID) {
689 result.appendFormat(" [invalid fence]\n");
690 } else if (previous == Fence::SIGNAL_TIME_PENDING ||
691 previous == Fence::SIGNAL_TIME_INVALID)
    [all...]
  /external/vulkan-validation-layers/tests/
vktestbinding.h 39 class Fence;
177 VkResult wait(const std::vector<const Fence *> &fences, bool wait_all, uint64_t timeout);
178 VkResult wait(const Fence &fence) { return wait(std::vector<const Fence *>(1, &fence), true, (uint64_t)-1); }
227 void submit(const std::vector<const CommandBuffer *> &cmds, Fence &fence);
228 void submit(const CommandBuffer &cmd, Fence &fence);
    [all...]
  /hardware/qcom/display/msm8994/libhwcomposer/
HWC2On1Adapter.h 26 #include <ui/Fence.h>
138 mFences({Fence::NO_FENCE, Fence::NO_FENCE}) {}
141 mFences.emplace(new Fence(fenceFd));
145 const sp<Fence>& get() const {
151 std::queue<sp<Fence>> mFences;
156 FencedBuffer() : mBuffer(nullptr), mFence(Fence::NO_FENCE) {}
159 void setFence(int fenceFd) { mFence = new Fence(fenceFd); }
166 sp<Fence> mFence;
535 const sp<Fence>& getReleaseFence() const
    [all...]
  /frameworks/native/services/vr/hardware_composer/aidl/android/dvr/
parcelable_composer_layer.cpp 4 #include <ui/Fence.h>
25 ret = parcel->writeBool(layer_.fence->isValid());
28 if (layer_.fence->isValid()) {
29 ret = parcel->writeFileDescriptor(layer_.fence->dup(), true);
132 layer_.fence = new Fence(dup(parcel->readFileDescriptor()));
134 layer_.fence = new Fence();
  /external/swiftshader/third_party/LLVM/lib/VMCore/
Instruction.cpp 133 case Fence: return "fence";
320 case Instruction::Fence: // FIXME: refine definition of mayReadFromMemory
338 case Instruction::Fence: // FIXME: refine definition of mayWriteToMemory
438 case Fence:
  /frameworks/av/media/libstagefright/colorconversion/
SoftwareRenderer.cpp 26 #include <ui/Fence.h>
214 sp<Fence> fence = new Fence(fenceFd); local
215 err = fence->waitForever("SoftwareRenderer::render");
219 // complete (drop) dequeued frame if fence wait failed; otherwise,
377 mRenderTracker.onFrameQueued(mediaTimeUs, (GraphicBuffer *)buf, Fence::NO_FENCE);
  /frameworks/av/media/libstagefright/filters/
GraphicBufferListener.cpp 116 ALOGW("failed to wait for buffer fence: %d", err);
150 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, Fence::NO_FENCE);
  /frameworks/native/services/vr/hardware_composer/impl/
vr_hwc.h 23 #include <ui/Fence.h>
42 class Fence;
61 sp<Fence> fence; member in struct:android::dvr::ComposerView::ComposerLayer
136 bool SetClientTarget(const native_handle_t* handle, base::unique_fd fence);
167 // The client target buffer and the associated fence.
170 sp<Fence> fence_;
  /frameworks/av/media/libstagefright/omx/
GraphicBufferSource.cpp 130 * buffer. This objects also manages its acquire fence and any release fences that may be returned
132 * If no release fences are added by the encoder, the acquire fence is returned as the release
133 * fence for this - as it is assumed that noone waited for the acquire fence. Otherwise, it is
134 * assumed that the encoder has waited for the acquire fence (or returned it as the release
135 * fence).
141 const sp<Fence> &acquireFence)
150 * Adds a release fence returned by the encoder to this object. If this is called with an
152 * producer on release() as a merged fence. Regardless of the validity of the file descriptor,
153 * we take note that a release fence was attempted to be added and the acquire fence can now b
    [all...]

Completed in 973 milliseconds

1 23 4 5 6 7 8