Home
last modified time | relevance | path

Searched refs:newBackend (Results 1 – 4 of 4) sorted by relevance

/external/skia/tools/viewer/
DViewer.cpp332 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()
[all …]
/external/skqp/tools/viewer/
DViewer.cpp311 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()
[all …]
/external/skia/tests/
DImageTest.cpp1122 GrBackendTexture newBackend; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
1125 &newBackend, &proc); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
1133 SkASSERT(newBackend.isValid()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
1136 bool tookDirectly = result && GrBackendTexture::TestingOnly_Equals(origBackend, newBackend); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/skqp/tests/
DImageTest.cpp1122 GrBackendTexture newBackend; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
1125 &newBackend, &proc); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
1133 SkASSERT(newBackend.isValid()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
1136 bool tookDirectly = result && GrBackendTexture::TestingOnly_Equals(origBackend, newBackend); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()