Home
last modified time | relevance | path

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

12

/device/generic/opengl-transport/host/libs/virglrenderer/
DContext.h100 fence = fence_; in setFence()
127 int fence; member
132 fence = 0; in reset()
138 cv.wait(lk, [this] { return killWorker || (cmdBuf && fence); }); in worker_func()
146 pfnProcessCmd(this, cmdBuf, cmdBufSize, fence); in processCmd()
DAVDVirglRenderer.cpp465 for (auto fence : g_fence_deque) in virgl_renderer_poll() local
466 g_cb->write_fence(g_cookie, fence); in virgl_renderer_poll()
498 static void process_cmd(Context* ctx, char* buf, size_t bufSize, int fence) { in process_cmd() argument
525 cmd_resp->cmdSize - sizeof(*cmd_resp), fence); in process_cmd()
542 g_fence_deque.push_back(fence); in process_cmd()
/device/generic/goldfish/camera/
DCachedStreamBuffer.cpp83 NativeHandle moveFenceToAidlNativeHandle(unique_fd fence) { in moveFenceToAidlNativeHandle() argument
84 if (!fence.ok()) { in moveFenceToAidlNativeHandle()
93 nh->data[0] = fence.release(); in moveFenceToAidlNativeHandle()
127 void CachedStreamBuffer::importAcquireFence(const NativeHandle& fence) { in importAcquireFence() argument
129 mAcquireFence = importAidlNativeHandleFence(fence); in importAcquireFence()
DCachedStreamBuffer.h43 void importAcquireFence(const NativeHandle& fence);
/device/generic/goldfish-opengl/system/hwc3/
DHostFrameComposer.cpp520 ::android::base::unique_fd fence = displayClientTarget.getFence(); in presentDisplay()
523 displayId, displayInfo.clientTargetDrmBuffer, fence); in presentDisplay()
528 *outDisplayFence = std::move(fence); in presentDisplay()
572 ::android::base::unique_fd fence = layer->getBuffer().getFence(); in presentDisplay()
573 if (fence.ok()) { in presentDisplay()
574 int err = sync_wait(fence.get(), 3000); in presentDisplay()
576 ALOGE("%s waited on fence %d for 3000 ms", __FUNCTION__, fence.get()); in presentDisplay()
667 auto [_, fence] = in presentDisplay()
669 retire_fd = std::move(fence); in presentDisplay()
DLayer.cpp52 HWC3::Error Layer::setBuffer(buffer_handle_t buffer, const ndk::ScopedFileDescriptor& fence) { in setBuffer() argument
60 mBuffer.set(buffer, fence); in setBuffer()
73 ::android::base::unique_fd fence = mBuffer.getFence(); in waitAndGetBuffer()
74 if (fence.ok()) { in waitAndGetBuffer()
75 int err = sync_wait(fence.get(), 3000); in waitAndGetBuffer()
77 ALOGE("%s waited on fence %" PRId32 " for 3000 ms", __FUNCTION__, fence.get()); in waitAndGetBuffer()
DDisplay.cpp699 const ndk::ScopedFileDescriptor& fence) { in setReadbackBuffer() argument
702 mReadbackBuffer.set(buffer, fence); in setReadbackBuffer()
752 HWC3::Error Display::setClientTarget(buffer_handle_t buffer, const ndk::ScopedFileDescriptor& fence, in setClientTarget() argument
759 mClientTarget.set(buffer, fence); in setClientTarget()
1014 ::android::base::unique_fd fence = mClientTarget.getFence(); in waitAndGetClientTargetBuffer()
1015 if (fence.ok()) { in waitAndGetClientTargetBuffer()
1016 int err = sync_wait(fence.get(), 3000); in waitAndGetClientTargetBuffer()
1018 ALOGE("%s waited on fence %" PRId32 " for 3000 ms", __FUNCTION__, fence.get()); in waitAndGetClientTargetBuffer()
DFencedBuffer.h30 void set(buffer_handle_t buffer, const ndk::ScopedFileDescriptor& fence) { in set() argument
32 mFence = GetUniqueFd(fence); in set()
DComposerClient.cpp55 void addPresentFence(int64_t displayId, ::android::base::unique_fd fence) { in addPresentFence() argument
56 if (fence >= 0) { in addPresentFence()
59 presentFenceResult.fence = ndk::ScopedFileDescriptor(fence.release()); in addPresentFence()
72 releaseFencesLayerResult.fence = ndk::ScopedFileDescriptor(layerFence.release()); in addReleaseFences()
836 error = display.setClientTarget(importedBuffer, clientTarget.buffer.fence, in executeDisplayCommandSetClientTarget()
861 error = display.setOutputBuffer(importedBuffer, buffer.fence); in executeDisplayCommandSetOutputBuffer()
985 error = layer->setBuffer(importedBuffer, buffer.fence); in executeLayerCommandSetLayerBuffer()
DClientFrameComposer.cpp148 ::android::base::unique_fd fence = display->getClientTarget().getFence(); in presentDisplay()
151 static_cast<uint32_t>(displayId), displayInfo.clientTargetDrmBuffer, fence); in presentDisplay()
DDisplay.h123 HWC3::Error setClientTarget(buffer_handle_t buffer, const ndk::ScopedFileDescriptor& fence,
126 HWC3::Error setOutputBuffer(buffer_handle_t buffer, const ndk::ScopedFileDescriptor& fence);
DLayer.h43 HWC3::Error setBuffer(buffer_handle_t buffer, const ndk::ScopedFileDescriptor& fence);
/device/google/sunfish-kernel/sm7150/kernel-headers/drm/
Dmsm_drm.h144 __u32 fence; member
152 __u32 fence; member
/device/google/coral-kernel/sm8150/original-kernel-headers/drm/
Dmsm_drm.h264 __u32 fence; /* out */ member
280 __u32 fence; /* in */ member
/device/google/sunfish-kernel/sm7150/original-kernel-headers/drm/
Dmsm_drm.h264 __u32 fence; /* out */ member
280 __u32 fence; /* in */ member
/device/google/coral-kernel/sm8150/kernel-headers/drm/
Dmsm_drm.h144 __u32 fence; member
152 __u32 fence; member
/device/google/redbull-kernel/sm7250/original-kernel-headers/drm/
Dmsm_drm.h289 __u32 fence; /* out */ member
306 __u32 fence; /* in */ member
/device/google/redbull-kernel/sm7250/kernel-headers/drm/
Dmsm_drm.h148 __u32 fence; member
157 __u32 fence; member
/device/generic/opengl-transport/host/libs/virglrenderer/GLESv1_dec/
Dgles1.in276 GL_ENTRY(GLboolean, glIsFenceNV, GLuint fence)
277 GL_ENTRY(GLboolean, glTestFenceNV, GLuint fence)
278 GL_ENTRY(void, glGetFenceivNV, GLuint fence, GLenum pname, GLint *params)
279 GL_ENTRY(void, glFinishFenceNV, GLuint fence)
280 GL_ENTRY(void, glSetFenceNV, GLuint fence, GLenum condition)
/device/generic/opengl-transport/host/libs/virglrenderer/GLESv3_dec/
Dgles3.in181 GL_ENTRY(GLboolean, glIsFenceNV, GLuint fence)
182 GL_ENTRY(GLboolean, glTestFenceNV, GLuint fence)
183 GL_ENTRY(void, glGetFenceivNV, GLuint fence, GLenum pname, GLint *params)
184 GL_ENTRY(void, glFinishFenceNV, GLuint fence)
185 GL_ENTRY(void, glSetFenceNV, GLuint fence, GLenum condition)
/device/google/sunfish-kernel/sm7150/kernel-headers/media/
Dcam_defs.h234 int32_t fence; member
/device/google/coral-kernel/sm8150/kernel-headers/linux/
Dmsm_mdp_ext.h121 int fence; member
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/
Dmsm_mdp_ext.h311 int fence; member
/device/google/sunfish-kernel/sm7150/kernel-headers/linux/
Dmsm_mdp_ext.h121 int fence; member
/device/google/sunfish-kernel/sm7150/original-kernel-headers/linux/
Dmsm_mdp_ext.h311 int fence; member

12