Lines Matching refs:newBackend
311 sk_app::Window::BackendType newBackend = (sk_app::Window::BackendType)( in __anon567afbe30e02() local
315 if (newBackend == sk_app::Window::kVulkan_BackendType) { in __anon567afbe30e02()
316 newBackend = (sk_app::Window::BackendType)((newBackend + 1) % in __anon567afbe30e02()
319 newBackend = sk_app::Window::kVulkan_BackendType; in __anon567afbe30e02()
322 this->setBackend(newBackend); in __anon567afbe30e02()
1502 int newBackend = static_cast<int>(fBackendType); in drawImGui() local
1503 ImGui::RadioButton("Raster", &newBackend, sk_app::Window::kRaster_BackendType); in drawImGui()
1505 ImGui::RadioButton("OpenGL", &newBackend, sk_app::Window::kNativeGL_BackendType); in drawImGui()
1508 ImGui::RadioButton("ANGLE", &newBackend, sk_app::Window::kANGLE_BackendType); in drawImGui()
1512 ImGui::RadioButton("Vulkan", &newBackend, sk_app::Window::kVulkan_BackendType); in drawImGui()
1514 if (newBackend != fBackendType) { in drawImGui()
1516 this->setBackend(static_cast<sk_app::Window::BackendType>(newBackend)); in drawImGui()