Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.cpp179 int query_value; in InitializeWindowInfoStruct() local
180 err = window->query(window, NATIVE_WINDOW_TRANSFORM_HINT, &query_value); in InitializeWindowInfoStruct()
181 if (err != 0 || query_value < 0) { in InitializeWindowInfoStruct()
182 ALOGE("window->query failed: %s (%d) value=%d", strerror(-err), err, query_value); in InitializeWindowInfoStruct()
185 outWindowInfo->transform = query_value; in InitializeWindowInfoStruct()
197 err = window->query(window, NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &query_value); in InitializeWindowInfoStruct()
198 if (err != 0 || query_value < 0) { in InitializeWindowInfoStruct()
199 ALOGE("window->query failed: %s (%d) value=%d", strerror(-err), err, query_value); in InitializeWindowInfoStruct()
203 static_cast<uint32_t>(query_value) + sTargetBufferCount + extraBuffers; in InitializeWindowInfoStruct()
205 err = window->query(window, NATIVE_WINDOW_MAX_BUFFER_COUNT, &query_value); in InitializeWindowInfoStruct()
[all …]
DCanvasContext.cpp177 int query_value; in setBufferCount() local
178 int err = window->query(window, NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &query_value); in setBufferCount()
179 if (err != 0 || query_value < 0) { in setBufferCount()
180 ALOGE("window->query failed: %s (%d) value=%d", strerror(-err), err, query_value); in setBufferCount()
183 auto min_undequeued_buffers = static_cast<uint32_t>(query_value); in setBufferCount()
/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp1242 int query_value; in GetPhysicalDeviceSurfacePresentModesKHR() local
1263 &query_value); in GetPhysicalDeviceSurfacePresentModesKHR()
1264 if (err != android::OK || query_value < 0) { in GetPhysicalDeviceSurfacePresentModesKHR()
1268 strerror(-err), err, query_value); in GetPhysicalDeviceSurfacePresentModesKHR()
1271 uint32_t min_undequeued_buffers = static_cast<uint32_t>(query_value); in GetPhysicalDeviceSurfacePresentModesKHR()
1274 window->query(window, NATIVE_WINDOW_MAX_BUFFER_COUNT, &query_value); in GetPhysicalDeviceSurfacePresentModesKHR()
1275 if (err != android::OK || query_value < 0) { in GetPhysicalDeviceSurfacePresentModesKHR()
1278 strerror(-err), err, query_value); in GetPhysicalDeviceSurfacePresentModesKHR()
1281 uint32_t max_buffer_count = static_cast<uint32_t>(query_value); in GetPhysicalDeviceSurfacePresentModesKHR()
1834 int query_value; in CreateSwapchainKHR() local
[all …]