/external/mesa3d/src/amd/vulkan/ |
H A D | radv_wsi.c | 274 for (unsigned i = 0; i < ARRAY_SIZE(swapchain->fences); i++) 275 swapchain->fences[i] = VK_NULL_HANDLE; 299 for (unsigned i = 0; i < ARRAY_SIZE(swapchain->fences); i++) { 300 if (swapchain->fences[i] != VK_NULL_HANDLE) 301 radv_DestroyFence(_device, swapchain->fences[i], pAllocator); 352 if (swapchain->fences[0] == VK_NULL_HANDLE) { 357 }, &swapchain->alloc, &swapchain->fences[0]); 362 1, &swapchain->fences[0]); 365 RADV_FROM_HANDLE(radv_fence, fence, swapchain->fences[0]); 381 VkFence last = swapchain->fences[ [all...] |
/external/mesa3d/src/intel/vulkan/ |
H A D | anv_wsi.c | 283 for (unsigned i = 0; i < ARRAY_SIZE(swapchain->fences); i++) 284 swapchain->fences[i] = VK_NULL_HANDLE; 307 for (unsigned i = 0; i < ARRAY_SIZE(swapchain->fences); i++) { 308 if (swapchain->fences[i] != VK_NULL_HANDLE) 309 anv_DestroyFence(_device, swapchain->fences[i], pAllocator); 361 if (swapchain->fences[0] == VK_NULL_HANDLE) { 366 }, &swapchain->alloc, &swapchain->fences[0]); 374 1, &swapchain->fences[0]); 377 anv_QueueSubmit(_queue, 0, NULL, swapchain->fences[0]); 388 VkFence last = swapchain->fences[ [all...] |
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
H A D | radeon_drm_bo.h | 56 struct radeon_bo **fences; member in struct:radeon_bo::__anon15687::__anon15689
|
H A D | radeon_drm_cs.c | 496 * submissions will be sent to the GPU first, we have to keep the fences 499 * However, fences that belong to submissions that have already returned from 509 /* Cleanup older fences */ 512 if (bo->u.slab.fences[src]->num_cs_references) { 513 bo->u.slab.fences[dst] = bo->u.slab.fences[src]; 516 radeon_bo_reference(&bo->u.slab.fences[src], NULL); 524 struct radeon_bo **new_fences = REALLOC(bo->u.slab.fences, 532 bo->u.slab.fences = new_fences; 537 bo->u.slab.fences[b [all...] |
H A D | radeon_drm_bo.c | 82 if (radeon_real_bo_is_busy(bo->u.slab.fences[num_idle])) { 86 radeon_bo_reference(&bo->u.slab.fences[num_idle], NULL); 88 memmove(&bo->u.slab.fences[0], &bo->u.slab.fences[num_idle], 89 (bo->u.slab.num_fences - num_idle) * sizeof(bo->u.slab.fences[0])); 113 radeon_bo_reference(&fence, bo->u.slab.fences[0]); 120 if (bo->u.slab.num_fences && fence == bo->u.slab.fences[0]) { 121 radeon_bo_reference(&bo->u.slab.fences[0], NULL); 122 memmove(&bo->u.slab.fences[0], &bo->u.slab.fences[ [all...] |
/external/mesa3d/src/gallium/winsys/amdgpu/drm/ |
H A D | amdgpu_bo.h | 81 struct pipe_fence_handle **fences; member in struct:amdgpu_winsys_bo
|
H A D | amdgpu_bo.c | 68 /* We can't use user fences for shared buffers, because user fences 89 if (!amdgpu_fence_wait(bo->fences[idle_fences], 0, false)) 93 /* Release the idle fences to avoid checking them again later. */ 95 amdgpu_fence_reference(&bo->fences[i], NULL); 97 memmove(&bo->fences[0], &bo->fences[idle_fences], 98 (bo->num_fences - idle_fences) * sizeof(*bo->fences)); 113 amdgpu_fence_reference(&fence, bo->fences[0]); 126 if (fence_idle && bo->num_fences && bo->fences[ [all...] |
H A D | amdgpu_cs.c | 522 * waiting for buffers and fences. Proof: 543 * and there is less waiting for buffers and fences. Proof: 895 struct amdgpu_fence *bo_fence = (void *)bo->fences[j]; 907 amdgpu_fence_reference(&bo->fences[new_num_fences], bo->fences[j]); 931 amdgpu_fence_reference(&bo->fences[j], NULL); 958 REALLOC(bo->fences, 962 bo->fences = new_fences; 970 amdgpu_fence_reference(&bo->fences[bo->num_fences], NULL); 974 bo->fences[b [all...] |
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
H A D | vktSynchronizationSmokeTests.cpp | 564 VkFence fences[2]; member in struct:vkt::synchronization::__anon4048::TestContext 595 createFences(vkd, device, false, DE_LENGTH_OF_ARRAY(fences), fences); 600 destroyFences(vkd, device, DE_LENGTH_OF_ARRAY(fences), fences); 1026 fenceStatus = deviceInterface.getFenceStatus(device, testContext.fences[0]); 1032 fenceStatus = deviceInterface.getFenceStatus(device, testContext.fences[1]); 1039 VK_CHECK(deviceInterface.queueSubmit(queue, 1, &submitInfo, testContext.fences[0])); 1042 waitStatus = deviceInterface.waitForFences(device, 1, &testContext.fences[0], true, 0u); 1051 waitStatus = deviceInterface.waitForFences(device, 1, &testContext.fences[ [all...] |
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
H A D | vktSparseResourcesQueueBindSparseTests.cpp | 134 bool waitForFences (const DeviceInterface& vk, const VkDevice device, const std::vector<FenceSp>& fences) argument 136 for (std::vector<FenceSp>::const_iterator fenceSpIter = fences.begin(); fenceSpIter != fences.end(); ++fenceSpIter) 300 return tcu::TestStatus::fail("Some fences weren't signaled (vkQueueBindSparse didn't signal semaphores?)"); 372 //! Sparse queue binding edge cases and synchronization with semaphores/fences.
|
/external/deqp/external/vulkancts/modules/vulkan/wsi/ |
H A D | vktWsiSharedPresentableImageTests.cpp | 251 std::vector<vk::VkFence>& fences) 253 for (size_t ndx = 0; ndx < fences.size(); ndx++) 254 fences[ndx] = createFence(vkd, device).disown(); 259 std::vector<vk::VkFence>& fences) 261 for (size_t ndx = 0; ndx < fences.size(); ndx++) 263 if (fences[ndx] != (vk::VkFence)0) 264 vkd.destroyFence(device, fences[ndx], DE_NULL); 266 fences[ndx] = (vk::VkFence)0; 269 fences.clear(); 249 initFences(const vk::DeviceInterface& vkd, vk::VkDevice device, std::vector<vk::VkFence>& fences) argument 257 deinitFences(const vk::DeviceInterface& vkd, vk::VkDevice device, std::vector<vk::VkFence>& fences) argument
|
H A D | vktWsiDisplayTimingTests.cpp | 239 std::vector<vk::VkFence>& fences) 241 for (size_t ndx = 0; ndx < fences.size(); ndx++) 242 fences[ndx] = createFence(vkd, device).disown(); 247 std::vector<vk::VkFence>& fences) 249 for (size_t ndx = 0; ndx < fences.size(); ndx++) 251 if (fences[ndx] != (vk::VkFence)0) 252 vkd.destroyFence(device, fences[ndx], DE_NULL); 254 fences[ndx] = (vk::VkFence)0; 257 fences.clear(); 237 initFences(const vk::DeviceInterface& vkd, vk::VkDevice device, std::vector<vk::VkFence>& fences) argument 245 deinitFences(const vk::DeviceInterface& vkd, vk::VkDevice device, std::vector<vk::VkFence>& fences) argument
|
H A D | vktWsiIncrementalPresentTests.cpp | 242 std::vector<vk::VkFence>& fences) 244 for (size_t ndx = 0; ndx < fences.size(); ndx++) 245 fences[ndx] = createFence(vkd, device).disown(); 250 std::vector<vk::VkFence>& fences) 252 for (size_t ndx = 0; ndx < fences.size(); ndx++) 254 if (fences[ndx] != (vk::VkFence)0) 255 vkd.destroyFence(device, fences[ndx], DE_NULL); 257 fences[ndx] = (vk::VkFence)0; 260 fences.clear(); 240 initFences(const vk::DeviceInterface& vkd, vk::VkDevice device, std::vector<vk::VkFence>& fences) argument 248 deinitFences(const vk::DeviceInterface& vkd, vk::VkDevice device, std::vector<vk::VkFence>& fences) argument
|
H A D | vktWsiSwapchainTests.cpp | 1307 vector<FenceSp> fences(numFences); 1310 fences[ndx] = FenceSp(new Unique<VkFence>(createFence(vkd, device))); 1312 return fences; 1367 // We need to keep hold of fences from vkAcquireNextImageKHR to actually 1516 // We need to keep hold of fences from vkAcquireNextImageKHR to actually
|
/external/mesa3d/src/vulkan/wsi/ |
H A D | wsi_common.h | 55 VkFence fences[3]; member in struct:wsi_swapchain
|
/external/vulkan-validation-layers/demos/ |
H A D | cube.cpp | 294 // Wait for fences from present operations 297 device.waitForFences(1, &fences[i], VK_TRUE, UINT64_MAX); 299 device.destroyFence(fences[i], nullptr); 405 device.waitForFences(1, &fences[frame_index], VK_TRUE, UINT64_MAX); 406 device.resetFences(1, &fences[frame_index]); 412 fences[frame_index], ¤t_buffer); 1161 // Create fences that we can use to throttle if we get too far 1165 device.createFence(&fence_ci, nullptr, &fences[i]); 2650 vk::Fence fences[FRAME_LAG]; local
|
H A D | cube.c | 358 VkFence fences[FRAME_LAG]; member in struct:demo 430 // We know we're submitting queues without fences, ignore this 780 vkWaitForFences(demo->device, 1, &demo->fences[demo->frame_index], VK_TRUE, UINT64_MAX); 781 vkResetFences(demo->device, 1, &demo->fences[demo->frame_index]); 785 demo->image_acquired_semaphores[demo->frame_index], demo->fences[demo->frame_index], 2034 // Wait for fences from present operations 2036 vkWaitForFences(demo->device, 1, &demo->fences[i], VK_TRUE, UINT64_MAX); 2037 vkDestroyFence(demo->device, demo->fences[i], NULL); 3141 // Create fences that we can use to throttle if we get too far 3149 vkCreateFence(demo->device, &fence_ci, NULL, &demo->fences[ [all...] |
/external/swiftshader/src/OpenGL/libGLESv2/ |
H A D | main.cpp | 185 void DeleteFencesNV(GLsizei n, const GLuint* fences); 217 void GenFencesNV(GLsizei n, GLuint* fences); 525 GL_APICALL void GL_APIENTRY glDeleteFencesNV(GLsizei n, const GLuint* fences) argument 527 return es2::DeleteFencesNV(n, fences); 710 GL_APICALL void GL_APIENTRY glGenFencesNV(GLsizei n, GLuint* fences) argument 712 return es2::GenFencesNV(n, fences);
|
H A D | libGLESv2.hpp | 75 void (*glDeleteFencesNV)(GLsizei n, const GLuint* fences); 107 void (*glGenFencesNV)(GLsizei n, GLuint* fences);
|
H A D | libGLESv2.cpp | 1230 void DeleteFencesNV(GLsizei n, const GLuint* fences) argument 1232 TRACE("(GLsizei n = %d, const GLuint* fences = %p)", n, fences); 1245 context->deleteFence(fences[i]); 2281 void GenFencesNV(GLsizei n, GLuint* fences) argument 2283 TRACE("(GLsizei n = %d, GLuint* fences = %p)", n, fences); 2296 fences[i] = context->createFence();
|
/external/kernel-headers/original/uapi/drm/ |
H A D | amdgpu_drm.h | 321 /** This points to uint64_t * which points to fences */ 322 __u64 fences; member in struct:drm_amdgpu_wait_fences_in
|
/external/swiftshader/third_party/PowerVR_SDK/Builds/Include/GLES/ |
H A D | glext.h | 1178 GL_API void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
1179 GL_API void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
1186 typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
1187 typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
|
/external/vulkan-validation-layers/tests/ |
H A D | vktestbinding.cpp | 371 VkResult Device::wait(const std::vector<const Fence *> &fences, bool wait_all, uint64_t timeout) { argument 372 const std::vector<VkFence> fence_handles = make_handles<VkFence>(fences);
|
/external/swiftshader/third_party/PowerVR_SDK/Builds/Include/GLES2/ |
H A D | gl2ext.h | 1753 GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
1754 GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
1761 typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
1762 typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
|
/external/mesa3d/include/GLES/ |
H A D | glext.h | 1186 typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); 1187 typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
|