/external/mesa3d/src/amd/vulkan/ |
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[2] [all...] |
/external/mesa3d/src/intel/vulkan/ |
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[2] [all...] |
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
radeon_drm_bo.h | 56 struct radeon_bo **fences; member in struct:radeon_bo::__anon30269::__anon30271
|
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[bo->u.slab.num_fences] = NULL [all...] |
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[1] [all...] |
/system/core/libsync/tests/ |
sync_test.cpp | 119 // This is ok, as sync fences are immutable after construction, so a dup 180 const auto fences = sync_get_fence_info(info); local 183 fences[i].driver_name, 184 fences[i].obj_name, 185 fences[i].timestamp_ns, 186 fences[i].status}); 227 const struct sync_fence_info* fences = sync_get_fence_info(modern); local 229 EXPECT_STREQ(fences[fenceIdx].obj_name, pt->obj_name); 230 EXPECT_STREQ(fences[fenceIdx].driver_name, pt->driver_name); 231 EXPECT_EQ(fences[fenceIdx].status, pt->status) 564 vector<SyncFence> fences; local [all...] |
/external/mesa3d/src/gallium/winsys/amdgpu/drm/ |
amdgpu_bo.h | 78 /* Fences for buffer synchronization. */ 81 struct pipe_fence_handle **fences; member in struct:amdgpu_winsys_bo
|
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[0] == fence) [all...] |
amdgpu_cs.c | 42 /* FENCES */ 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) [all...] |
/cts/tests/openglperf2/jni/ |
Android.mk | 21 # Needed in order to use fences for synchronization
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
SyncTest.java | 45 // or interact with the system compositor in order to generate fences. That makes tests larger 114 SyncFenceInfo[] fences; // __u32 num_fences; __u64 sync_fence_info field in class:SyncTest.SyncFileInfo
|
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
vktSynchronizationSmokeTests.cpp | 564 VkFence fences[2]; member in struct:vkt::synchronization::__anon17965::TestContext 595 createFences(vkd, device, false, DE_LENGTH_OF_ARRAY(fences), fences); 600 destroyFences(vkd, device, DE_LENGTH_OF_ARRAY(fences), fences); [all...] |
/frameworks/native/libs/gui/ |
FrameTimestamps.cpp | 527 auto fences = allFences(this); local 529 std::accumulate(fences.begin(), fences.end(), size_t(0), 536 auto fences = allFences(this); local 537 return std::accumulate(fences.begin(), fences.end(), size_t(0), 570 // Fences 608 // Fences
|
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/ |
ComposerCommandEngine.h | 280 std::vector<int> fences; local 281 auto err = mHal->presentDisplay(mCurrentDisplay, &presentFence, &layers, &fences); 285 mWriter.setReleaseFences(layers, fences); 330 std::vector<int> fences; local 331 auto err = mHal->presentDisplay(mCurrentDisplay, &presentFence, &layers, &fences); 334 mWriter.setReleaseFences(layers, fences);
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
vktSparseResourcesQueueBindSparseTests.cpp | 134 bool waitForFences (const DeviceInterface& vk, const VkDevice device, const std::vector<FenceSp>& fences) 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/ |
vktWsiSharedPresentableImageTests.cpp | 254 std::vector<vk::VkFence>& fences) 256 for (size_t ndx = 0; ndx < fences.size(); ndx++) 257 fences[ndx] = createFence(vkd, device).disown(); 262 std::vector<vk::VkFence>& fences) 264 for (size_t ndx = 0; ndx < fences.size(); ndx++) 266 if (fences[ndx] != (vk::VkFence)0) 267 vkd.destroyFence(device, fences[ndx], DE_NULL); 269 fences[ndx] = (vk::VkFence)0; 272 fences.clear(); [all...] |
vktWsiDisplayTimingTests.cpp | 240 std::vector<vk::VkFence>& fences) 242 for (size_t ndx = 0; ndx < fences.size(); ndx++) 243 fences[ndx] = createFence(vkd, device).disown(); 248 std::vector<vk::VkFence>& fences) 250 for (size_t ndx = 0; ndx < fences.size(); ndx++) 252 if (fences[ndx] != (vk::VkFence)0) 253 vkd.destroyFence(device, fences[ndx], DE_NULL); 255 fences[ndx] = (vk::VkFence)0; 258 fences.clear(); [all...] |
vktWsiIncrementalPresentTests.cpp | 243 std::vector<vk::VkFence>& fences) 245 for (size_t ndx = 0; ndx < fences.size(); ndx++) 246 fences[ndx] = createFence(vkd, device).disown(); 251 std::vector<vk::VkFence>& fences) 253 for (size_t ndx = 0; ndx < fences.size(); ndx++) 255 if (fences[ndx] != (vk::VkFence)0) 256 vkd.destroyFence(device, fences[ndx], DE_NULL); 258 fences[ndx] = (vk::VkFence)0; 261 fences.clear(); [all...] |
/cts/hostsidetests/security/securityPatch/CVE-2016-6736/ |
poc.c | 86 __u64 fences; member in struct:drm_tegra_submit
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8431/ |
local_poc.h | 94 __u64 fences; member in struct:drm_tegra_submit
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8432/ |
local_poc.h | 94 __u64 fences; member in struct:drm_tegra_submit
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8482/ |
poc.c | 102 __u64 fences; member in struct:nvhost_submit_args
|
/external/mesa3d/src/vulkan/wsi/ |
wsi_common.h | 55 VkFence fences[3]; member in struct:wsi_swapchain
|
/frameworks/native/libs/gui/tests/ |
Surface_test.cpp | 420 int fences[BUFFER_COUNT]; local 424 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffers[i], &fences[i])); 427 ASSERT_EQ(NO_ERROR, window->cancelBuffer(window.get(), buffers[i], fences[i])); 443 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffers[0], &fences[0])); 446 ASSERT_EQ(NO_ERROR, window->cancelBuffer(window.get(), buffers[0], fences[0])); 457 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffers[i], &fences[i])); 460 ASSERT_EQ(NO_ERROR, window->cancelBuffer(window.get(), buffers[i], fences[i])); [all...] |
/cts/hostsidetests/security/securityPatch/CVE-2017-6262/ |
local_poc.h | 324 __u64 fences; member in struct:drm_tegra_submit
|