Home
last modified time | relevance | path

Searched refs:supportsPresent (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/gui/tests/
DSurface_test.cpp546 void setSupportsPresent(bool supportsPresent) { in setSupportsPresent() argument
547 mSupportsPresent = supportsPresent; in setSupportsPresent()
1146 int supportsPresent = -1; in TEST_F() local
1148 NATIVE_WINDOW_FRAME_TIMESTAMPS_SUPPORTS_PRESENT, &supportsPresent); in TEST_F()
1149 EXPECT_EQ(displayPresentSupported, supportsPresent); in TEST_F()
1157 int supportsPresent = -1; in TEST_F() local
1159 NATIVE_WINDOW_FRAME_TIMESTAMPS_SUPPORTS_PRESENT, &supportsPresent); in TEST_F()
1160 EXPECT_EQ(displayPresentSupported, supportsPresent); in TEST_F()
/frameworks/opt/gamesdk/third_party/cube/app/src/main/cpp/
Dcube.cpp1323 std::unique_ptr<vk::Bool32[]> supportsPresent(new vk::Bool32[queue_family_count]); in init_vk_swapchain() local
1325 gpu.getSurfaceSupportKHR(i, surface, &supportsPresent[i]); in init_vk_swapchain()
1336 if (supportsPresent[i] == VK_TRUE) { in init_vk_swapchain()
1349 if (supportsPresent[i] == VK_TRUE) { in init_vk_swapchain()
Dcube.c3528 VkBool32 *supportsPresent = (VkBool32 *)malloc(demo->queue_family_count * sizeof(VkBool32)); in demo_init_vk_swapchain() local
3530 … demo->fpGetPhysicalDeviceSurfaceSupportKHR(demo->gpu, i, demo->surface, &supportsPresent[i]); in demo_init_vk_swapchain()
3543 if (supportsPresent[i] == VK_TRUE) { in demo_init_vk_swapchain()
3555 if (supportsPresent[i] == VK_TRUE) { in demo_init_vk_swapchain()
3570 free(supportsPresent); in demo_init_vk_swapchain()