Flutter Engine
 
Loading...
Searching...
No Matches
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 ()
 
virtual AndroidRenderingAPI RenderingApi () const
 
virtual bool IsDynamicSelection () const
 
virtual bool IsValid () const
 
void SetMainSkiaContext (const sk_sp< GrDirectContext > &main_context)
 Setter for the Skia context to be used by subsequent AndroidSurfaces.
 
sk_sp< GrDirectContext > GetMainSkiaContext () const
 Accessor for the Skia context associated with AndroidSurfaces and the raster thread.
 
virtual std::shared_ptr< impeller::ContextGetImpellerContext () const
 Accessor for the Impeller context associated with AndroidSurfaces and the raster thread.
 
virtual void SetupImpellerContext ()
 Perform deferred setup for the impeller Context.
 

Additional Inherited Members

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

Detailed Description

Definition at line 95 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 97 of file android_context_gl_unittests.cc.

99 : AndroidContext(rendering_api), impeller_context_(impeller_context) {
100 SetImpellerContext(impeller_context);
101 }
AndroidContext(AndroidRenderingAPI rendering_api)
void SetImpellerContext(const std::shared_ptr< impeller::Context > &impeller_context)

References flutter::AndroidContext::SetImpellerContext().


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