#include <gpu_surface_gl_impeller.h>
Definition at line 18 of file gpu_surface_gl_impeller.h.
◆ GPUSurfaceGLImpeller()
Definition at line 15 of file gpu_surface_gl_impeller.cc.
19 : weak_factory_(this) {
20 if (delegate == nullptr) {
21 return;
22 }
23
24 if (!context || !context->IsValid()) {
25 return;
26 }
27
28 auto aiks_context = std::make_shared<impeller::AiksContext>(
30
31 if (!aiks_context->IsValid()) {
32 return;
33 }
34
35 delegate_ = delegate;
36 impeller_context_ = std::move(context);
37 render_to_surface_ = render_to_surface;
38 aiks_context_ = std::move(aiks_context);
39 is_valid_ = true;
40}
static std::shared_ptr< TypographerContext > Make()
References impeller::TypographerContextSkia::Make().
◆ ~GPUSurfaceGLImpeller()
| flutter::GPUSurfaceGLImpeller::~GPUSurfaceGLImpeller |
( |
| ) |
|
|
overridedefault |
◆ IsValid()
| bool flutter::GPUSurfaceGLImpeller::IsValid |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: