Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
flutter::testing::DlSurfaceInstanceBase Class Reference

#include <dl_test_surface_provider.h>

Inheritance diagram for flutter::testing::DlSurfaceInstanceBase:
flutter::testing::DlSurfaceInstance

Public Member Functions

 DlSurfaceInstanceBase (sk_sp< SkSurface > surface)
 
 ~DlSurfaceInstanceBase ()=default
 
sk_sp< SkSurfacesk_surface () const override
 
- Public Member Functions inherited from flutter::testing::DlSurfaceInstance
virtual ~DlSurfaceInstance ()=default
 
virtual sk_sp< SkSurfacesk_surface () const =0
 
int width () const
 
int height () const
 

Detailed Description

Definition at line 40 of file dl_test_surface_provider.h.

Constructor & Destructor Documentation

◆ DlSurfaceInstanceBase()

flutter::testing::DlSurfaceInstanceBase::DlSurfaceInstanceBase ( sk_sp< SkSurface surface)
inlineexplicit

Definition at line 42 of file dl_test_surface_provider.h.

43 : surface_(std::move(surface)) {}
VkSurfaceKHR surface
Definition: main.cc:49

◆ ~DlSurfaceInstanceBase()

flutter::testing::DlSurfaceInstanceBase::~DlSurfaceInstanceBase ( )
default

Member Function Documentation

◆ sk_surface()

sk_sp< SkSurface > flutter::testing::DlSurfaceInstanceBase::sk_surface ( ) const
inlineoverridevirtual

Implements flutter::testing::DlSurfaceInstance.

Definition at line 46 of file dl_test_surface_provider.h.

46{ return surface_; }

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