/frameworks/base/libs/hwui/renderthread/ |
H A D | RenderProxy.h | 106 ANDROID_API void fence();
|
H A D | RenderProxy.cpp | 93 // This is also a fence as we need to be certain that there are no 247 // destroyCanvasAndSurface() needs a fence as when it returns the 386 CREATE_BRIDGE0(fence) { 394 void RenderProxy::fence() { function in class:android::uirenderer::renderthread::RenderProxy 395 SETUP_TASK(fence); 401 SETUP_TASK(fence);
|
H A D | CanvasContext.cpp | 586 // TODO: Use a fence for real completion? 830 for (auto& fence : mFrameFences) { 831 fence->getResult();
|
/frameworks/av/media/libstagefright/omx/ |
H A D | GraphicBufferSource.cpp | 397 sp<Fence> fence = new Fence(fenceFd); local 410 releaseBuffer(id, codecBuffer.mFrameNumber, mBufferSlot[id], fence); 415 // we will not reuse codec buffer, so there is no need to wait for fence 731 // mLatestBufferFence will be set to new fence just below 941 * fence: fence of the frame being released 945 const sp<GraphicBuffer> buffer, const sp<Fence> &fence) { 953 id, 0, EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, fence); 957 id, frameNum, EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, fence); 943 releaseBuffer( int &id, uint64_t frameNum, const sp<GraphicBuffer> buffer, const sp<Fence> &fence) argument
|
H A D | SoftVideoEncoderOMXComponent.cpp | 550 sp<Fence> fence = new Fence(nativeMeta.nFenceFd); local 552 status_t err = fence->wait(IOMX::kFenceTimeoutMs); 554 ALOGE("Timed out waiting on input fence");
|
H A D | OMXNodeInstance.cpp | 1458 // propagate fence if component supports it; wait for it otherwise 1464 ALOGE("fence (%d) already exists in meta", nativeMeta.nFenceFd); 1472 CLOG_BUFFER(storeFenceInMeta, "waiting for fence %d", fenceFd); 1473 sp<Fence> fence = new Fence(fenceFd); local 1474 return fence->wait(IOMX::kFenceTimeoutMs);
|
/frameworks/native/vulkan/libvulkan/ |
H A D | swapchain.cpp | 134 // The fence is only valid when the buffer is dequeued, and should be 156 "ReleaseSwapchainImage: can't provide a release fence for " 806 ALOGE("dup(fence) failed, stalling until signalled: %s (%d)", 872 int fence = -1; local 875 present_info->pWaitSemaphores, img.image, &fence); 885 err = window->queueBuffer(window, img.buffer.get(), fence); 886 // queueBuffer always closes fence, even on error 901 ReleaseSwapchainImage(device, window, fence, img); 905 ReleaseSwapchainImage(device, nullptr, fence, img);
|
/frameworks/native/vulkan/nulldrv/ |
H A D | null_driver_gen.h | 49 VKAPI_ATTR VkResult QueueSubmit(VkQueue queue, uint32_t submitCount, const VkSubmitInfo* pSubmits, VkFence fence); 65 VKAPI_ATTR VkResult QueueBindSparse(VkQueue queue, uint32_t bindInfoCount, const VkBindSparseInfo* pBindInfo, VkFence fence); 67 VKAPI_ATTR void DestroyFence(VkDevice device, VkFence fence, const VkAllocationCallbacks* pAllocator); 69 VKAPI_ATTR VkResult GetFenceStatus(VkDevice device, VkFence fence); 172 VKAPI_ATTR VkResult AcquireImageANDROID(VkDevice device, VkImage image, int nativeFenceFd, VkSemaphore semaphore, VkFence fence);
|
/frameworks/av/media/libstagefright/colorconversion/ |
H A D | SoftwareRenderer.cpp | 216 sp<Fence> fence = new Fence(fenceFd); local 217 err = fence->waitForever("SoftwareRenderer::render"); 221 // complete (drop) dequeued frame if fence wait failed; otherwise,
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3Stream.cpp | 728 sp<Fence> fence = new Fence(streamBuffers[bufferIdx].acquire_fence); local 729 fence->waitForever("Camera3Stream::registerBuffers");
|
/frameworks/native/services/surfaceflinger/ |
H A D | DispSync.cpp | 58 // This is the offset from the present fence timestamps to the corresponding 423 bool DispSync::addPresentFence(const sp<Fence>& fence) { argument 426 mPresentFences[mPresentSampleOffset] = fence; 681 result.appendFormat(" [unsignaled fence]\n");
|
H A D | Layer.cpp | 841 // acquire fence the first time a new buffer is acquired on EACH display. 844 sp<Fence> fence = mSurfaceFlingerConsumer->getCurrentFence(); local 845 if (fence->isValid()) { 846 fenceFd = fence->dup(); 848 ALOGW("failed to dup layer fence, skipping sync: %d", errno); 1161 // Even though this buffer's fence may not have signaled yet, it could 1763 // There was no fence for this frame, so assume that it was ready 1835 // If the head buffer's acquire fence hasn't signaled yet, return and
|
/frameworks/native/opengl/include/GLES/ |
H A D | glext.h | 1188 typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); 1189 typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); 1190 typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); 1191 typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); 1192 typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
|
/frameworks/native/vulkan/include/vulkan/ |
H A D | vulkan.h | 2251 typedef VkResult (VKAPI_PTR *PFN_vkQueueSubmit)(VkQueue queue, uint32_t submitCount, const VkSubmitInfo* pSubmits, VkFence fence); 2267 typedef VkResult (VKAPI_PTR *PFN_vkQueueBindSparse)(VkQueue queue, uint32_t bindInfoCount, const VkBindSparseInfo* pBindInfo, VkFence fence); 2269 typedef void (VKAPI_PTR *PFN_vkDestroyFence)(VkDevice device, VkFence fence, const VkAllocationCallbacks* pAllocator); 2271 typedef VkResult (VKAPI_PTR *PFN_vkGetFenceStatus)(VkDevice device, VkFence fence); 2465 VkFence fence); 2553 VkFence fence); 2563 VkFence fence, 2573 VkFence fence); 3320 typedef VkResult (VKAPI_PTR *PFN_vkAcquireNextImageKHR)(VkDevice device, VkSwapchainKHR swapchain, uint64_t timeout, VkSemaphore semaphore, VkFence fence, uint32_t* pImageIndex); 3346 VkFence fence, [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_ImageWriter.cpp | 154 sp<Fence> fence; local 157 mProducer->detachNextBuffer(&buffer, &fence); 351 // 3. need use lockAsync here, as it will handle the dequeued fence for us automatically. 630 // no need to use fence here, as we it will be consumed by either cancel or queue buffer.
|
/frameworks/native/opengl/include/GLES2/ |
H A D | gl2ext.h | 2224 typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); 2225 typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); 2226 typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); 2227 typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); 2228 typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); 2232 GL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint fence); 2233 GL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint fence); 2234 GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params); 2235 GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint fence); 2236 GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint fence, GLenu [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ThreadedRenderer.java | 850 void fence() { method in class:ThreadedRenderer
|
H A D | ViewRootImpl.java | 2638 mAttachInfo.mHardwareRenderer.fence();
|
/frameworks/native/libs/gui/ |
H A D | IGraphicBufferConsumer.cpp | 113 EGLDisplay display __attribute__((unused)), EGLSyncKHR fence __attribute__((unused)),
|
/frameworks/native/opengl/libagl/ |
H A D | egl.cpp | 380 sp<Fence> fence(new Fence(fenceFd)); 381 if (fence->wait(Fence::TIMEOUT_NEVER) != NO_ERROR) { 530 sp<Fence> fence(new Fence(fenceFd)); 531 if (fence->wait(Fence::TIMEOUT_NEVER)) {
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWC2.cpp | 761 sp<Fence> fence(new Fence(fenceFds[element])); 762 releaseFences.emplace(std::move(layer), fence); local
|
/frameworks/base/core/jni/ |
H A D | android_view_ThreadedRenderer.cpp | 826 proxy->fence();
|
/frameworks/av/media/libstagefright/ |
H A D | ACodec.cpp | 466 ALOGW("OVERWRITE OF %s fence %d by write fence %d in %s", 475 ALOGW("OVERWRITE OF %s fence %d by read fence %d in %s", 484 ALOGD("REUSING read fence %d as write fence in %s", mFenceFd, dbg); 490 ALOGD("REUSING write fence %d as read fence in %s", mFenceFd, dbg); 1296 sp<Fence> fence = new Fence(fd); local 1297 res = fence [all...] |