#include <gpu_surface_vulkan_impeller.h>
◆ GPUSurfaceVulkanImpeller()
flutter::GPUSurfaceVulkanImpeller::GPUSurfaceVulkanImpeller |
( |
std::shared_ptr< impeller::Context > |
context | ) |
|
|
explicit |
Definition at line 18 of file gpu_surface_vulkan_impeller.cc.
19 {
20 if (!context || !context->IsValid()) {
21 return;
22 }
23
24 auto renderer = std::make_shared<impeller::Renderer>(context);
26 return;
27 }
28
29 auto aiks_context = std::make_shared<impeller::AiksContext>(
31 if (!aiks_context->IsValid()) {
32 return;
33 }
34
35 impeller_context_ = std::move(context);
36 impeller_renderer_ = std::move(
renderer);
37 aiks_context_ = std::move(aiks_context);
38 is_valid_ = true;
39}
static std::shared_ptr< TypographerContext > Make()
◆ ~GPUSurfaceVulkanImpeller()
flutter::GPUSurfaceVulkanImpeller::~GPUSurfaceVulkanImpeller |
( |
| ) |
|
|
overridedefault |
◆ IsValid()
bool flutter::GPUSurfaceVulkanImpeller::IsValid |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: