Lines Matching refs:newBackend
370 sk_app::Window::BackendType newBackend = fBackendType; in Viewer() local
373 newBackend = sk_app::Window::kNativeGL_BackendType; in Viewer()
376 newBackend = sk_app::Window::kVulkan_BackendType; in Viewer()
379 newBackend = sk_app::Window::kRaster_BackendType; in Viewer()
384 newBackend = sk_app::Window::kNativeGL_BackendType; in Viewer()
386 newBackend = sk_app::Window::kRaster_BackendType; in Viewer()
390 this->setBackend(newBackend); in Viewer()
1011 int newBackend = static_cast<int>(fBackendType); in drawImGui() local
1012 ImGui::RadioButton("Raster", &newBackend, sk_app::Window::kRaster_BackendType); in drawImGui()
1014 ImGui::RadioButton("OpenGL", &newBackend, sk_app::Window::kNativeGL_BackendType); in drawImGui()
1017 ImGui::RadioButton("Vulkan", &newBackend, sk_app::Window::kVulkan_BackendType); in drawImGui()
1019 if (newBackend != fBackendType) { in drawImGui()
1021 this->setBackend(static_cast<sk_app::Window::BackendType>(newBackend)); in drawImGui()