Lines Matching refs:window

207     android::sp<ANativeWindow> window;  member
238 ANativeWindow* window = surface.window.get(); in Swapchain() local
240 window, in Swapchain()
245 ANativeWindow* window = surface.window.get(); in get_refresh_duration() local
247 window, in get_refresh_duration()
285 ANativeWindow* window, in ReleaseSwapchainImage() argument
313 if (window) { in ReleaseSwapchainImage()
314 window->cancelBuffer(window, image.buffer.get(), release_fence); in ReleaseSwapchainImage()
368 swapchain.surface.window.get(), ti.native_frame_id_, in get_num_ready_timings()
533 surface->window = pCreateInfo->window; in CreateAndroidSurfaceKHR()
535 int err = native_window_get_consumer_usage(surface->window.get(), in CreateAndroidSurfaceKHR()
547 native_window_api_connect(surface->window.get(), NATIVE_WINDOW_API_EGL); in CreateAndroidSurfaceKHR()
571 native_window_api_disconnect(surface->window.get(), NATIVE_WINDOW_API_EGL); in DestroySurfaceKHR()
594 const ANativeWindow* window = surface->window.get(); in GetPhysicalDeviceSurfaceSupportKHR() local
597 int err = window->query(window, NATIVE_WINDOW_FORMAT, &query_value); in GetPhysicalDeviceSurfaceSupportKHR()
635 ANativeWindow* window = SurfaceFromHandle(surface)->window.get(); in GetPhysicalDeviceSurfaceCapabilitiesKHR() local
638 err = window->query(window, NATIVE_WINDOW_DEFAULT_WIDTH, &width); in GetPhysicalDeviceSurfaceCapabilitiesKHR()
644 err = window->query(window, NATIVE_WINDOW_DEFAULT_HEIGHT, &height); in GetPhysicalDeviceSurfaceCapabilitiesKHR()
652 err = window->query(window, NATIVE_WINDOW_TRANSFORM_HINT, &transform_hint); in GetPhysicalDeviceSurfaceCapabilitiesKHR()
661 err = window->query(window, NATIVE_WINDOW_MAX_BUFFER_COUNT, &max_buffer_count); in GetPhysicalDeviceSurfaceCapabilitiesKHR()
713 int err = native_window_get_wide_color_support(surface.window.get(), in GetPhysicalDeviceSurfaceFormatsKHR()
872 ANativeWindow* window = SurfaceFromHandle(surface)->window.get(); in GetPhysicalDeviceSurfacePresentModesKHR() local
874 err = window->query(window, NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &query_value); in GetPhysicalDeviceSurfacePresentModesKHR()
882 err = window->query(window, NATIVE_WINDOW_MAX_BUFFER_COUNT, &query_value); in GetPhysicalDeviceSurfacePresentModesKHR()
971 ANativeWindow* window = SurfaceFromHandle(surface)->window.get(); in GetPhysicalDevicePresentRectanglesKHR() local
974 err = window->query(window, NATIVE_WINDOW_DEFAULT_WIDTH, &width); in GetPhysicalDevicePresentRectanglesKHR()
979 err = window->query(window, NATIVE_WINDOW_DEFAULT_HEIGHT, &height); in GetPhysicalDevicePresentRectanglesKHR()
1068 err = native_window_api_disconnect(surface.window.get(), in CreateSwapchainKHR()
1073 native_window_api_connect(surface.window.get(), NATIVE_WINDOW_API_EGL); in CreateSwapchainKHR()
1077 err = native_window_set_buffer_count(surface.window.get(), 0); in CreateSwapchainKHR()
1086 err = surface.window->setSwapInterval(surface.window.get(), swap_interval); in CreateSwapchainKHR()
1095 err = native_window_set_shared_buffer_mode(surface.window.get(), false); in CreateSwapchainKHR()
1102 err = native_window_set_auto_refresh(surface.window.get(), false); in CreateSwapchainKHR()
1113 err = native_window_set_buffers_format(surface.window.get(), in CreateSwapchainKHR()
1122 err = native_window_set_buffers_data_space(surface.window.get(), in CreateSwapchainKHR()
1133 surface.window.get(), static_cast<int>(create_info->imageExtent.width), in CreateSwapchainKHR()
1153 surface.window.get(), in CreateSwapchainKHR()
1165 surface.window.get(), NATIVE_WINDOW_SCALING_MODE_SCALE_TO_WINDOW); in CreateSwapchainKHR()
1178 err = native_window_set_shared_buffer_mode(surface.window.get(), true); in CreateSwapchainKHR()
1186 err = native_window_set_auto_refresh(surface.window.get(), true); in CreateSwapchainKHR()
1194 err = surface.window->query(surface.window.get(), in CreateSwapchainKHR()
1215 err = native_window_set_buffer_count(surface.window.get(), std::max(2u, num_images)); in CreateSwapchainKHR()
1256 err = native_window_set_usage(surface.window.get(), native_usage); in CreateSwapchainKHR()
1314 err = surface.window->dequeueBuffer(surface.window.get(), &buffer, in CreateSwapchainKHR()
1365 surface.window->cancelBuffer(surface.window.get(), img.buffer.get(), in CreateSwapchainKHR()
1402 ANativeWindow* window = active ? swapchain->surface.window.get() : nullptr; in DestroySwapchainKHR() local
1404 if (window && swapchain->frame_timestamps_enabled) { in DestroySwapchainKHR()
1405 native_window_enable_frame_timestamps(window, false); in DestroySwapchainKHR()
1408 ReleaseSwapchainImage(device, window, -1, swapchain->images[i]); in DestroySwapchainKHR()
1455 ANativeWindow* window = swapchain.surface.window.get(); in AcquireNextImageKHR() local
1478 err = window->dequeueBuffer(window, &buffer, &fence_fd); in AcquireNextImageKHR()
1496 window->cancelBuffer(window, buffer, fence_fd); in AcquireNextImageKHR()
1520 window->cancelBuffer(window, buffer, fence_fd); in AcquireNextImageKHR()
1635 ANativeWindow* window = swapchain.surface.window.get(); in QueuePresentKHR() local
1674 native_window_set_surface_damage(window, rects, rcount); in QueuePresentKHR()
1681 native_window_enable_frame_timestamps(window, true); in QueuePresentKHR()
1689 window, &nativeFrameId); in QueuePresentKHR()
1707 window, in QueuePresentKHR()
1712 err = window->queueBuffer(window, img.buffer.get(), fence); in QueuePresentKHR()
1734 err = window->dequeueBuffer(window, &buffer, &fence_fd); in QueuePresentKHR()
1752 ReleaseSwapchainImage(device, window, fence, img); in QueuePresentKHR()
1756 err = window->query(window, NATIVE_WINDOW_TRANSFORM_HINT, in QueuePresentKHR()
1810 ANativeWindow* window = swapchain.surface.window.get(); in GetPastPresentationTimingGOOGLE() local
1815 native_window_enable_frame_timestamps(window, true); in GetPastPresentationTimingGOOGLE()
1861 ANativeWindow* window = swapchain->surface.window.get(); in SetHdrMetadataEXT() local
1874 native_window_set_buffers_smpte2086_metadata(window, &smpteMetdata); in SetHdrMetadataEXT()
1879 native_window_set_buffers_cta861_3_metadata(window, &cta8613Metadata); in SetHdrMetadataEXT()