Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
flutter::testing::android::TestAndroidContext Class Reference
Inheritance diagram for flutter::testing::android::TestAndroidContext:
flutter::AndroidContext

Public Member Functions

 TestAndroidContext (const std::shared_ptr< impeller::Context > &impeller_context, AndroidRenderingAPI rendering_api)
 
- Public Member Functions inherited from flutter::AndroidContext
 AndroidContext (AndroidRenderingAPI rendering_api)
 
virtual ~AndroidContext ()
 
AndroidRenderingAPI RenderingApi () const
 
virtual bool IsValid () const
 
void SetMainSkiaContext (const sk_sp< GrDirectContext > &main_context)
 Setter for the Skia context to be used by subsequent AndroidSurfaces. More...
 
sk_sp< GrDirectContextGetMainSkiaContext () const
 Accessor for the Skia context associated with AndroidSurfaces and the raster thread. More...
 
std::shared_ptr< impeller::ContextGetImpellerContext () const
 Accessor for the Impeller context associated with AndroidSurfaces and the raster thread. More...
 

Additional Inherited Members

- Protected Member Functions inherited from flutter::AndroidContext
void SetImpellerContext (const std::shared_ptr< impeller::Context > &context)
 

Detailed Description

Definition at line 90 of file android_context_gl_unittests.cc.

Constructor & Destructor Documentation

◆ TestAndroidContext()

flutter::testing::android::TestAndroidContext::TestAndroidContext ( const std::shared_ptr< impeller::Context > &  impeller_context,
AndroidRenderingAPI  rendering_api 
)
inline

Definition at line 92 of file android_context_gl_unittests.cc.

94 : AndroidContext(rendering_api) {
95 SetImpellerContext(impeller_context);
96 }
AndroidContext(AndroidRenderingAPI rendering_api)
void SetImpellerContext(const std::shared_ptr< impeller::Context > &context)

The documentation for this class was generated from the following file: