Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
flutter::testing::SurfaceMock Class Reference
Inheritance diagram for flutter::testing::SurfaceMock:
flutter::Surface

Public Member Functions

 MOCK_METHOD (bool, IsValid,(),(override))
 
 MOCK_METHOD (std::unique_ptr< SurfaceFrame >, AcquireFrame,(const SkISize &size),(override))
 
 MOCK_METHOD (SkMatrix, GetRootTransformation,(),(const, override))
 
 MOCK_METHOD (GrDirectContext *, GetContext,(),(override))
 
 MOCK_METHOD (std::unique_ptr< GLContextResult >, MakeRenderContextCurrent,(),(override))
 
- Public Member Functions inherited from flutter::Surface
 Surface ()
 
virtual ~Surface ()
 
virtual bool IsValid ()=0
 
virtual std::unique_ptr< SurfaceFrameAcquireFrame (const SkISize &size)=0
 
virtual SkMatrix GetRootTransformation () const =0
 
virtual GrDirectContextGetContext ()=0
 
virtual std::unique_ptr< GLContextResultMakeRenderContextCurrent ()
 
virtual bool ClearRenderContext ()
 
virtual bool AllowsDrawingWhenGpuDisabled () const
 
virtual bool EnableRasterCache () const
 
virtual std::shared_ptr< impeller::AiksContextGetAiksContext () const
 
virtual SurfaceData GetSurfaceData () const
 

Detailed Description

Definition at line 50 of file external_view_embedder_unittests.cc.

Member Function Documentation

◆ MOCK_METHOD() [1/5]

flutter::testing::SurfaceMock::MOCK_METHOD ( bool  ,
IsValid  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [2/5]

flutter::testing::SurfaceMock::MOCK_METHOD ( GrDirectContext ,
GetContext  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [3/5]

flutter::testing::SurfaceMock::MOCK_METHOD ( SkMatrix  ,
GetRootTransformation  ,
()  ,
(const, override)   
)

◆ MOCK_METHOD() [4/5]

flutter::testing::SurfaceMock::MOCK_METHOD ( std::unique_ptr< GLContextResult ,
MakeRenderContextCurrent  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [5/5]

flutter::testing::SurfaceMock::MOCK_METHOD ( std::unique_ptr< SurfaceFrame ,
AcquireFrame  ,
(const SkISize &size ,
(override)   
)

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