Flutter Engine
The Flutter Engine
Public Types | Public Member Functions | List of all members
DM::Src Struct Referenceabstract

#include <DMSrcSink.h>

Inheritance diagram for DM::Src:
DM::AndroidCodecSrc DM::CodecSrc DM::ColorCodecSrc DM::GMSrc DM::ImageGenSrc DM::MSKPSrc DM::SKPSrc DM::BisectSrc

Public Types

using GraphiteTestContext = skiatest::graphite::GraphiteTestContext
 

Public Member Functions

virtual ~Src ()
 
virtual Result draw (SkCanvas *canvas, GraphiteTestContext *) const =0
 
virtual SkISize size () const =0
 
virtual Name name () const =0
 
virtual void modifyGrContextOptions (GrContextOptions *) const
 
virtual void modifyGraphiteContextOptions (skgpu::graphite::ContextOptions *) const
 
virtual bool veto (SinkFlags) const
 
virtual int pageCount () const
 
virtual Result draw (int page, SkCanvas *canvas, GraphiteTestContext *graphiteTestContext) const
 
virtual SkISize size (int page) const
 
virtual bool serial () const
 

Detailed Description

Definition at line 92 of file DMSrcSink.h.

Member Typedef Documentation

◆ GraphiteTestContext

Definition at line 93 of file DMSrcSink.h.

Constructor & Destructor Documentation

◆ ~Src()

virtual DM::Src::~Src ( )
inlinevirtual

Definition at line 95 of file DMSrcSink.h.

95{}

Member Function Documentation

◆ draw() [1/2]

virtual Result DM::Src::draw ( int  page,
SkCanvas canvas,
GraphiteTestContext graphiteTestContext 
) const
inlinevirtual

Reimplemented in DM::MSKPSrc.

Definition at line 104 of file DMSrcSink.h.

106 {
107 return this->draw(canvas, graphiteTestContext);
108 }
virtual Result draw(SkCanvas *canvas, GraphiteTestContext *) const =0

◆ draw() [2/2]

virtual Result DM::Src::draw ( SkCanvas canvas,
GraphiteTestContext  
) const
pure virtual

◆ modifyGraphiteContextOptions()

virtual void DM::Src::modifyGraphiteContextOptions ( skgpu::graphite::ContextOptions ) const
inlinevirtual

Definition at line 100 of file DMSrcSink.h.

100{}

◆ modifyGrContextOptions()

virtual void DM::Src::modifyGrContextOptions ( GrContextOptions ) const
inlinevirtual

Reimplemented in DM::GMSrc.

Definition at line 99 of file DMSrcSink.h.

99{}

◆ name()

virtual Name DM::Src::name ( ) const
pure virtual

◆ pageCount()

virtual int DM::Src::pageCount ( ) const
inlinevirtual

Reimplemented in DM::MSKPSrc.

Definition at line 103 of file DMSrcSink.h.

103{ return 1; }

◆ serial()

virtual bool DM::Src::serial ( ) const
inlinevirtual

Reimplemented in DM::CodecSrc, DM::AndroidCodecSrc, and DM::ImageGenSrc.

Definition at line 111 of file DMSrcSink.h.

111{ return false; }

◆ size() [1/2]

virtual SkISize DM::Src::size ( ) const
pure virtual

◆ size() [2/2]

virtual SkISize DM::Src::size ( int  page) const
inlinevirtual

Reimplemented in DM::MSKPSrc.

Definition at line 109 of file DMSrcSink.h.

109{ return this->size(); }
virtual SkISize size() const =0

◆ veto()

virtual bool DM::Src::veto ( SinkFlags  ) const
inlinevirtual

Reimplemented in DM::CodecSrc, DM::AndroidCodecSrc, DM::ImageGenSrc, and DM::ColorCodecSrc.

Definition at line 101 of file DMSrcSink.h.

101{ return false; }

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