Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
SkSL::AutoProgramConfig Class Reference

Public Member Functions

 AutoProgramConfig (Context &context, ProgramConfig *config)
 
 ~AutoProgramConfig ()
 

Public Attributes

ContextfContext
 
ProgramConfigfOldConfig
 

Detailed Description

Definition at line 40 of file SkSLCompiler.cpp.

Constructor & Destructor Documentation

◆ AutoProgramConfig()

SkSL::AutoProgramConfig::AutoProgramConfig ( Context context,
ProgramConfig config 
)
inline

Definition at line 42 of file SkSLCompiler.cpp.

43 : fContext(context)
44 , fOldConfig(context.fConfig) {
45 fContext.fConfig = config;
46 }
ProgramConfig * fOldConfig
ProgramConfig * fConfig
Definition: SkSLContext.h:33

◆ ~AutoProgramConfig()

SkSL::AutoProgramConfig::~AutoProgramConfig ( )
inline

Definition at line 48 of file SkSLCompiler.cpp.

48 {
50 }

Member Data Documentation

◆ fContext

Context& SkSL::AutoProgramConfig::fContext

Definition at line 52 of file SkSLCompiler.cpp.

◆ fOldConfig

ProgramConfig* SkSL::AutoProgramConfig::fOldConfig

Definition at line 53 of file SkSLCompiler.cpp.


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