Flutter Engine
The Flutter Engine
|
Public Member Functions | |
GaneshGLSurfaceManager (std::unique_ptr< sk_gpu_test::GrContextFactory > contextFactory, sk_gpu_test::ContextInfo contextInfo, GrDirectContext *context, sk_sp< SkSurface > surface, std::string config, SkColorInfo colorInfo) | |
sk_sp< SkSurface > | getSurface () override |
void | flush () override |
sk_gpu_test::ContextInfo * | getGaneshContextInfo () override |
Public Member Functions inherited from SurfaceManager | |
virtual sk_sp< SkSurface > | getSurface ()=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::ContextInfo * | getGaneshContextInfo () |
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< SurfaceManager > | FromConfig (std::string config, SurfaceOptions surfaceOptions) |
Protected Member Functions inherited from SurfaceManager | |
SurfaceManager (std::string config, SkColorInfo colorInfo, CpuOrGpu cpuOrGpu) | |
Definition at line 21 of file GaneshGLSurfaceManager.cpp.
|
inline |
Definition at line 23 of file GaneshGLSurfaceManager.cpp.
|
inlineoverridevirtual |
Reimplemented from SurfaceManager.
Definition at line 37 of file GaneshGLSurfaceManager.cpp.
|
inlineoverridevirtual |
Reimplemented from SurfaceManager.
Definition at line 39 of file GaneshGLSurfaceManager.cpp.
Implements SurfaceManager.
Definition at line 35 of file GaneshGLSurfaceManager.cpp.