Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/pipeline/skia/
DSkiaOpenGLPipeline.cpp160 int query_value; in setBufferCount() local
161 int err = window->query(window, NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &query_value); in setBufferCount()
162 if (err != 0 || query_value < 0) { in setBufferCount()
163 ALOGE("window->query failed: %s (%d) value=%d", strerror(-err), err, query_value); in setBufferCount()
166 auto min_undequeued_buffers = static_cast<uint32_t>(query_value); in setBufferCount()
/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp596 int query_value; in GetPhysicalDeviceSurfaceSupportKHR() local
597 int err = window->query(window, NATIVE_WINDOW_FORMAT, &query_value); in GetPhysicalDeviceSurfaceSupportKHR()
598 if (err != 0 || query_value < 0) { in GetPhysicalDeviceSurfaceSupportKHR()
600 strerror(-err), err, query_value); in GetPhysicalDeviceSurfaceSupportKHR()
605 static_cast<android_pixel_format>(query_value); in GetPhysicalDeviceSurfaceSupportKHR()
871 int query_value; in GetPhysicalDeviceSurfacePresentModesKHR() local
874 err = window->query(window, NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &query_value); in GetPhysicalDeviceSurfacePresentModesKHR()
875 if (err != 0 || query_value < 0) { in GetPhysicalDeviceSurfacePresentModesKHR()
877 strerror(-err), err, query_value); in GetPhysicalDeviceSurfacePresentModesKHR()
880 uint32_t min_undequeued_buffers = static_cast<uint32_t>(query_value); in GetPhysicalDeviceSurfacePresentModesKHR()
[all …]
/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.cpp221 int query_value; in Create() local
222 int err = window->query(window, NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &query_value); in Create()
223 if (err != 0 || query_value < 0) { in Create()
224 ALOGE("window->query failed: %s (%d) value=%d", strerror(-err), err, query_value); in Create()
227 auto min_undequeued_buffers = static_cast<uint32_t>(query_value); in Create()