Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.cpp163 int query_value; in InitializeWindowInfoStruct() local
164 err = window->query(window, NATIVE_WINDOW_TRANSFORM_HINT, &query_value); in InitializeWindowInfoStruct()
165 if (err != 0 || query_value < 0) { in InitializeWindowInfoStruct()
166 ALOGE("window->query failed: %s (%d) value=%d", strerror(-err), err, query_value); in InitializeWindowInfoStruct()
169 outWindowInfo->transform = query_value; in InitializeWindowInfoStruct()
179 err = window->query(window, NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &query_value); in InitializeWindowInfoStruct()
180 if (err != 0 || query_value < 0) { in InitializeWindowInfoStruct()
181 ALOGE("window->query failed: %s (%d) value=%d", strerror(-err), err, query_value); in InitializeWindowInfoStruct()
185 static_cast<uint32_t>(query_value) + sTargetBufferCount + extraBuffers; in InitializeWindowInfoStruct()
187 err = window->query(window, NATIVE_WINDOW_MAX_BUFFER_COUNT, &query_value); in InitializeWindowInfoStruct()
[all …]
DCanvasContext.cpp159 int query_value; in setBufferCount() local
160 int err = window->query(window, NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &query_value); in setBufferCount()
161 if (err != 0 || query_value < 0) { in setBufferCount()
162 ALOGE("window->query failed: %s (%d) value=%d", strerror(-err), err, query_value); in setBufferCount()
165 auto min_undequeued_buffers = static_cast<uint32_t>(query_value); in setBufferCount()
/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp874 int query_value; in GetPhysicalDeviceSurfacePresentModesKHR() local
883 err = window->query(window, NATIVE_WINDOW_MAX_BUFFER_COUNT, &query_value); in GetPhysicalDeviceSurfacePresentModesKHR()
884 if (err != android::OK || query_value < 0) { in GetPhysicalDeviceSurfacePresentModesKHR()
886 strerror(-err), err, query_value); in GetPhysicalDeviceSurfacePresentModesKHR()
889 uint32_t max_buffer_count = static_cast<uint32_t>(query_value); in GetPhysicalDeviceSurfacePresentModesKHR()