Lines Matching refs:newBackend
332 sk_app::Window::BackendType newBackend = (sk_app::Window::BackendType)( in __anonc7f885cc0e02() local
336 if (newBackend == sk_app::Window::kVulkan_BackendType) { in __anonc7f885cc0e02()
337 newBackend = (sk_app::Window::BackendType)((newBackend + 1) % in __anonc7f885cc0e02()
340 newBackend = sk_app::Window::kVulkan_BackendType; in __anonc7f885cc0e02()
343 this->setBackend(newBackend); in __anonc7f885cc0e02()
1466 int newBackend = static_cast<int>(fBackendType); in drawImGui() local
1467 ImGui::RadioButton("Raster", &newBackend, sk_app::Window::kRaster_BackendType); in drawImGui()
1469 ImGui::RadioButton("OpenGL", &newBackend, sk_app::Window::kNativeGL_BackendType); in drawImGui()
1472 ImGui::RadioButton("ANGLE", &newBackend, sk_app::Window::kANGLE_BackendType); in drawImGui()
1476 ImGui::RadioButton("Vulkan", &newBackend, sk_app::Window::kVulkan_BackendType); in drawImGui()
1480 ImGui::RadioButton("Metal", &newBackend, sk_app::Window::kMetal_BackendType); in drawImGui()
1482 if (newBackend != fBackendType) { in drawImGui()
1484 this->setBackend(static_cast<sk_app::Window::BackendType>(newBackend)); in drawImGui()