Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
RasterSurfaceManager Class Reference
Inheritance diagram for RasterSurfaceManager:
SurfaceManager

Public Member Functions

 RasterSurfaceManager (sk_sp< SkSurface > surface, std::string config, SkColorInfo colorInfo)
 
sk_sp< SkSurfacegetSurface () override
 
- Public Member Functions inherited from SurfaceManager
virtual sk_sp< SkSurfacegetSurface ()=0
 
virtual void flush ()
 
std::map< std::string, std::string > getGoldKeyValuePairs (std::string cpuName, std::string gpuName) const
 
std::map< std::string, std::string > getPerfKeyValuePairs (std::string cpuName, std::string gpuName) const
 
CpuOrGpu isCpuOrGpuBound () const
 
virtual sk_gpu_test::ContextInfogetGaneshContextInfo ()
 
virtual ~SurfaceManager ()=default
 

Additional Inherited Members

- Public Types inherited from SurfaceManager
enum class  CpuOrGpu { kCPU , kGPU }
 
- Static Public Member Functions inherited from SurfaceManager
static std::unique_ptr< SurfaceManagerFromConfig (std::string config, SurfaceOptions surfaceOptions)
 
- Protected Member Functions inherited from SurfaceManager
 SurfaceManager (std::string config, SkColorInfo colorInfo, CpuOrGpu cpuOrGpu)
 

Detailed Description

Definition at line 17 of file RasterSurfaceManager.cpp.

Constructor & Destructor Documentation

◆ RasterSurfaceManager()

RasterSurfaceManager::RasterSurfaceManager ( sk_sp< SkSurface surface,
std::string  config,
SkColorInfo  colorInfo 
)
inline

Definition at line 19 of file RasterSurfaceManager.cpp.

20 : SurfaceManager(config, colorInfo, CpuOrGpu::kCPU), fSurface(surface) {}
SurfaceManager(std::string config, SkColorInfo colorInfo, CpuOrGpu cpuOrGpu)
VkSurfaceKHR surface
Definition: main.cc:49

Member Function Documentation

◆ getSurface()

sk_sp< SkSurface > RasterSurfaceManager::getSurface ( )
inlineoverridevirtual

Implements SurfaceManager.

Definition at line 22 of file RasterSurfaceManager.cpp.

22{ return fSurface; }

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