Home
last modified time | relevance | path

Searched refs:GraphicsApi (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/libs/renderengine/skia/
DSkiaVkRenderEngine.cpp67 bool RenderEngine::canSupport(GraphicsApi graphicsApi) { in canSupport()
69 case GraphicsApi::GL: in canSupport()
71 case GraphicsApi::VK: { in canSupport()
90 void RenderEngine::teardown(GraphicsApi graphicsApi) { in teardown()
92 case GraphicsApi::GL: in teardown()
94 case GraphicsApi::VK: { in teardown()
119 teardown(GraphicsApi::VK); in ~SkiaVkRenderEngine()
/frameworks/native/libs/renderengine/include/renderengine/
DRenderEngine.h120 enum class GraphicsApi { enum
146 static bool canSupport(GraphicsApi graphicsApi);
155 static void teardown(GraphicsApi graphicsApi);
307 RenderEngine::GraphicsApi graphicsApi;
319 RenderEngine::GraphicsApi _graphicsApi, in RenderEngineCreationArgs()
364 Builder& setGraphicsApi(RenderEngine::GraphicsApi graphicsApi) { in setGraphicsApi()
387 RenderEngine::GraphicsApi graphicsApi = RenderEngine::GraphicsApi::GL;
/frameworks/native/libs/renderengine/
DRenderEngine.cpp50 args.graphicsApi == RenderEngine::GraphicsApi::GL ? "GL" : "Vulkan"); in create()
56 args.graphicsApi == GraphicsApi::GL ? "SkiaGL" : "SkiaVK", in create()
68 if (args.graphicsApi == GraphicsApi::VK) { in create()
/frameworks/native/libs/renderengine/benchmark/
DRenderEngineBench.cpp68 RenderEngine::GraphicsApi graphicsApi) { in createRenderEngine()
183 static_cast<RenderEngine::GraphicsApi>(std::get<1>(args_tuple))); in BM_blur()
228 RenderEngine::GraphicsApi::GL);
/frameworks/native/libs/renderengine/tests/
DRenderEngineTest.cpp118 virtual renderengine::RenderEngine::GraphicsApi graphicsApi() = 0;
142 renderengine::RenderEngine::GraphicsApi graphicsApi() { in graphicsApi()
143 return renderengine::RenderEngine::GraphicsApi::GL; in graphicsApi()
155 renderengine::RenderEngine::GraphicsApi graphicsApi() override { in graphicsApi()
156 return renderengine::RenderEngine::GraphicsApi::VK; in graphicsApi()
170 renderengine::RenderEngine::GraphicsApi graphicsApi() override { in graphicsApi()
171 return renderengine::RenderEngine::GraphicsApi::VK; in graphicsApi()
2268 EXPECT_TRUE(GetParam()->graphicsApi() == renderengine::RenderEngine::GraphicsApi::VK); in TEST_P()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp805 .setGraphicsApi(renderengine::RenderEngine::GraphicsApi::GL); in chooseRenderEngineType()
808 .setGraphicsApi(renderengine::RenderEngine::GraphicsApi::GL); in chooseRenderEngineType()
811 .setGraphicsApi(renderengine::RenderEngine::GraphicsApi::VK); in chooseRenderEngineType()
814 .setGraphicsApi(renderengine::RenderEngine::GraphicsApi::VK); in chooseRenderEngineType()
816 const auto kVulkan = renderengine::RenderEngine::GraphicsApi::VK; in chooseRenderEngineType()
841 builder.setGraphicsApi(useVulkan ? kVulkan : renderengine::RenderEngine::GraphicsApi::GL); in chooseRenderEngineType()