Searched refs:Fence (Results 51 - 75 of 107) sorted by relevance

12345

/frameworks/av/include/media/stagefright/
H A DMediaSync.h35 class Fence;
260 void returnBufferToInput_l(const sp<GraphicBuffer> &buffer, const sp<Fence> &fence);
/frameworks/av/media/libstagefright/
H A DFrameRenderTracker.cpp46 int64_t mediaTimeUs, const sp<GraphicBuffer> &graphicBuffer, const sp<Fence> &fence) {
84 renderInfo->mFence = new Fence(::dup(fenceFd));
/frameworks/av/media/libstagefright/foundation/include/
H A DMediaSync.h35 class Fence;
260 void returnBufferToInput_l(const sp<GraphicBuffer> &buffer, const sp<Fence> &fence);
/frameworks/av/media/libstagefright/include/
H A DMediaSync.h35 class Fence;
260 void returnBufferToInput_l(const sp<GraphicBuffer> &buffer, const sp<Fence> &fence);
/frameworks/av/media/ndk/
H A DNdkImageReader.cpp489 sp<Fence> unlockFence = unlockFenceFd > 0 ? new Fence(unlockFenceFd) : Fence::NO_FENCE;
490 sp<Fence> releaseFence = releaseFenceFd > 0 ? new Fence(releaseFenceFd) : Fence::NO_FENCE;
491 sp<Fence> bufferFence = Fence::merge("AImageReader", unlockFence, releaseFence);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3DummyStream.cpp59 sp<Fence>*) {
H A DCamera3InputStream.cpp99 sp<Fence> *releaseFenceOut) {
150 sp<Fence> releaseFence = new Fence(buffer.release_fence);
/frameworks/native/include/gui/
H A DGLConsumer.h113 virtual void setReleaseFence(const sp<Fence>& fence);
194 sp<Fence> getCurrentFence() const;
409 sp<Fence> mCurrentFence;
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp419 const sp<Fence>& acquireFence, const sp<GraphicBuffer>& target,
465 sp<android::Fence> outPresentFence;
473 std::unordered_map<std::shared_ptr<HWC2::Layer>, sp<Fence>> releaseFences;
591 sp<Fence> HWComposer::getPresentFence(int32_t displayId) const {
594 return Fence::NO_FENCE;
599 sp<Fence> HWComposer::getLayerReleaseFence(int32_t displayId,
603 return Fence::NO_FENCE;
608 return Fence::NO_FENCE;
641 std::unordered_map<std::shared_ptr<HWC2::Layer>, sp<Fence>> releaseFences;
792 const sp<Fence>
[all...]
/frameworks/native/libs/gui/
H A DBufferQueueProducer.cpp53 mLastQueueBufferFence(Fence::NO_FENCE),
349 sp<android::Fence> *outFence, uint32_t width, uint32_t height,
463 mSlots[found].mFence = Fence::NO_FENCE;
490 Fence::NO_FENCE : mSlots[found].mFence;
492 mSlots[found].mFence = Fence::NO_FENCE;
624 sp<Fence>* outFence) {
740 mSlots[*outSlot].mFence = Fence::NO_FENCE;
762 sp<Fence> acquireFence;
965 sp<Fence> lastQueuedFence;
1012 status_t BufferQueueProducer::cancelBuffer(int slot, const sp<Fence>
[all...]
H A DBufferItemConsumer.cpp97 const sp<Fence>& releaseFence) {
H A DSurface.cpp30 #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));
407 ALOGE("dequeueBuffer_DEPRECATED: Fence::wait returned an error: %d",
503 sp<Fence> fence;
533 ALOGE_IF(fence == NULL, "Surface::dequeueBuffer: received null Fence! buf=%d", buf);
598 sp<Fence> fenc
[all...]
H A DCpuConsumer.cpp237 sp<Fence> fence(new Fence(fd));
H A DGLConsumer.cpp157 mCurrentFence(Fence::NO_FENCE),
186 mCurrentFence(Fence::NO_FENCE),
326 mCurrentFence = Fence::NO_FENCE;
585 void GLConsumer::setReleaseFence(const sp<Fence>& fence) {
715 sp<Fence> fence(new Fence(fenceFd));
997 sp<Fence> GLConsumer::getCurrentFence() const {
/frameworks/native/services/vr/hardware_composer/aidl/android/dvr/
H A Dparcelable_composer_layer.cpp4 #include <ui/Fence.h>
132 layer_.fence = new Fence(dup(parcel->readFileDescriptor()));
134 layer_.fence = new Fence();
/frameworks/native/libs/gui/bufferqueue/1.0/
H A DH2BGraphicBufferProducer.cpp186 // Ref: frameworks/native/libs/ui/Fence.cpp
214 * \brief Unflatten `Fence` to `hidl_handle`.
262 * \brief Flatten `hidl_handle` as `Fence`.
291 * \brief Wrap `Fence` in `hidl_handle`.
295 * \param[in] l The source `Fence`.
300 // wrap: Fence -> hidl_handle
301 inline bool wrapAs(hidl_handle* t, native_handle_t** nh, Fence const& l) {
337 * \brief Convert `hidl_handle` to `Fence`.
339 * \param[out] l The destination `Fence`. `l` must not have been used
345 // convert: hidl_handle -> Fence
[all...]
/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp26 #include <ui/Fence.h>
218 sp<Fence> fence = new Fence(fenceFd);
381 mRenderTracker.onFrameQueued(mediaTimeUs, (GraphicBuffer *)buf, Fence::NO_FENCE);
/frameworks/av/media/libstagefright/filters/
H A DGraphicBufferListener.cpp150 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, Fence::NO_FENCE);
/frameworks/native/services/vr/hardware_composer/impl/
H A Dvr_hwc.h23 #include <ui/Fence.h>
42 class Fence;
61 sp<Fence> fence;
169 sp<Fence> fence_;
/frameworks/av/media/libstagefright/omx/
H A DGraphicBufferSource.cpp141 const sp<Fence> &acquireFence)
204 sp<Fence> getReleaseFence() {
207 // We do this here to avoid a dup, close and recreation of the Fence object.
211 sp<Fence> ret = getReleaseFence(0, mReleaseFenceFds.size());
233 sp<Fence> mAcquireFence;
245 sp<Fence> getReleaseFence(size_t start, size_t num) const {
247 return Fence::NO_FENCE;
249 return new Fence(mReleaseFenceFds[start]);
251 return Fence::merge("GBS::AB",
/frameworks/base/libs/hwui/
H A DOpenGLReadback.cpp28 #include <ui/Fence.h>
39 sp<Fence> sourceFence;
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.h52 class Fence;
180 const sp<Fence>& getClientTargetAcquireFence() const;
H A DSurfaceFlingerConsumer.cpp195 sp<Fence> SurfaceFlingerConsumer::getPrevFinalReleaseFence() const {
201 void SurfaceFlingerConsumer::setReleaseFence(const sp<Fence>& fence)
/frameworks/base/media/jni/
H A Dandroid_media_ImageReader.cpp441 static sp<Fence> Image_unlockIfLocked(JNIEnv* env, jobject image) {
447 return Fence::NO_FENCE;
464 return Fence::NO_FENCE;
467 sp<Fence> releaseFence = new Fence(fenceFd);
471 return Fence::NO_FENCE;
490 sp<Fence> releaseFence = Image_unlockIfLocked(env, image);
/frameworks/native/cmds/flatland/
H A DMain.cpp23 #include <ui/Fence.h>
481 sp<Fence> startFence = mGLConsumer->getCurrentFence();
492 sp<Fence> endFence = mGLConsumer->getCurrentFence();

Completed in 726 milliseconds

12345