Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.cpp162 int query_value; in InitializeWindowInfoStruct() local
163 err = window->query(window, NATIVE_WINDOW_TRANSFORM_HINT, &query_value); in InitializeWindowInfoStruct()
164 if (err != 0 || query_value < 0) { in InitializeWindowInfoStruct()
165 ALOGE("window->query failed: %s (%d) value=%d", strerror(-err), err, query_value); in InitializeWindowInfoStruct()
168 outWindowInfo->transform = query_value; in InitializeWindowInfoStruct()
178 err = window->query(window, NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &query_value); in InitializeWindowInfoStruct()
179 if (err != 0 || query_value < 0) { in InitializeWindowInfoStruct()
180 ALOGE("window->query failed: %s (%d) value=%d", strerror(-err), err, query_value); in InitializeWindowInfoStruct()
184 static_cast<uint32_t>(query_value) + sTargetBufferCount + extraBuffers; in InitializeWindowInfoStruct()
186 err = window->query(window, NATIVE_WINDOW_MAX_BUFFER_COUNT, &query_value); in InitializeWindowInfoStruct()
[all …]
DCanvasContext.cpp143 int query_value; in setBufferCount() local
144 int err = window->query(window, NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &query_value); in setBufferCount()
145 if (err != 0 || query_value < 0) { in setBufferCount()
146 ALOGE("window->query failed: %s (%d) value=%d", strerror(-err), err, query_value); in setBufferCount()
149 auto min_undequeued_buffers = static_cast<uint32_t>(query_value); in setBufferCount()
/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp593 int query_value; in GetPhysicalDeviceSurfaceSupportKHR() local
594 int err = window->query(window, NATIVE_WINDOW_FORMAT, &query_value); in GetPhysicalDeviceSurfaceSupportKHR()
595 if (err != android::OK || query_value < 0) { in GetPhysicalDeviceSurfaceSupportKHR()
597 strerror(-err), err, query_value); in GetPhysicalDeviceSurfaceSupportKHR()
602 static_cast<android_pixel_format>(query_value); in GetPhysicalDeviceSurfaceSupportKHR()
859 int query_value; in GetPhysicalDeviceSurfacePresentModesKHR() local
862 err = window->query(window, NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &query_value); in GetPhysicalDeviceSurfacePresentModesKHR()
863 if (err != android::OK || query_value < 0) { in GetPhysicalDeviceSurfacePresentModesKHR()
865 strerror(-err), err, query_value); in GetPhysicalDeviceSurfacePresentModesKHR()
868 uint32_t min_undequeued_buffers = static_cast<uint32_t>(query_value); in GetPhysicalDeviceSurfacePresentModesKHR()
[all …]