Flutter Engine
flutter::GPUSurfaceMetal Class Reference

#include <gpu_surface_metal.h>

Inheritance diagram for flutter::GPUSurfaceMetal:
flutter::Surface

Public Member Functions

 GPUSurfaceMetal (GPUSurfaceMetalDelegate *delegate, sk_sp< GrDirectContext > context, bool render_to_surface=true)
 
 ~GPUSurfaceMetal ()
 
bool IsValid () override
 
- Public Member Functions inherited from flutter::Surface
 Surface ()
 
virtual ~Surface ()
 
virtual bool ClearRenderContext ()
 

Detailed Description

Definition at line 16 of file gpu_surface_metal.h.

Constructor & Destructor Documentation

◆ GPUSurfaceMetal()

flutter::GPUSurfaceMetal::GPUSurfaceMetal ( GPUSurfaceMetalDelegate delegate,
sk_sp< GrDirectContext >  context,
bool  render_to_surface = true 
)

Definition at line 40 of file gpu_surface_metal.mm.

References ~GPUSurfaceMetal().

43  : delegate_(delegate),
44  render_target_type_(delegate->GetRenderTargetType()),
45  context_(std::move(context)),
46  render_to_surface_(render_to_surface) {}
MockDelegate delegate_

◆ ~GPUSurfaceMetal()

flutter::GPUSurfaceMetal::~GPUSurfaceMetal ( )
default

Referenced by GPUSurfaceMetal().

Member Function Documentation

◆ IsValid()


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