Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
GrGLGpu::ProgramCache::Entry Struct Reference

Public Member Functions

 Entry (sk_sp< GrGLProgram > program)
 
 Entry (const GrGLPrecompiledProgram &precompiledProgram)
 

Public Attributes

sk_sp< GrGLProgramfProgram
 
GrGLPrecompiledProgram fPrecompiledProgram
 

Detailed Description

Definition at line 20 of file GrGLGpuProgramCache.cpp.

Constructor & Destructor Documentation

◆ Entry() [1/2]

GrGLGpu::ProgramCache::Entry::Entry ( sk_sp< GrGLProgram program)
inline

Definition at line 21 of file GrGLGpuProgramCache.cpp.

22 : fProgram(std::move(program)) {}

◆ Entry() [2/2]

GrGLGpu::ProgramCache::Entry::Entry ( const GrGLPrecompiledProgram precompiledProgram)
inline

Definition at line 24 of file GrGLGpuProgramCache.cpp.

25 : fPrecompiledProgram(precompiledProgram) {}
GrGLPrecompiledProgram fPrecompiledProgram

Member Data Documentation

◆ fPrecompiledProgram

GrGLPrecompiledProgram GrGLGpu::ProgramCache::Entry::fPrecompiledProgram

Definition at line 28 of file GrGLGpuProgramCache.cpp.

◆ fProgram

sk_sp<GrGLProgram> GrGLGpu::ProgramCache::Entry::fProgram

Definition at line 27 of file GrGLGpuProgramCache.cpp.


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