#include <gpu_surface_gl_impeller.h>
Definition at line 19 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 renderer = std::make_shared<impeller::Renderer>(context);
30 return;
31 }
32
33 auto aiks_context = std::make_shared<impeller::AiksContext>(
35
36 if (!aiks_context->IsValid()) {
37 return;
38 }
39
40 delegate_ = delegate;
41 impeller_context_ = std::move(context);
42 render_to_surface_ = render_to_surface;
43 impeller_renderer_ = std::move(
renderer);
44 aiks_context_ = std::move(aiks_context);
45 is_valid_ = true;
46}
static std::shared_ptr< TypographerContext > Make()
◆ ~GPUSurfaceGLImpeller()
flutter::GPUSurfaceGLImpeller::~GPUSurfaceGLImpeller |
( |
| ) |
|
|
overridedefault |
◆ IsValid()
bool flutter::GPUSurfaceGLImpeller::IsValid |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: