Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
skgpu::graphite::ContextPriv Class Reference

#include <ContextPriv.h>

Public Member Functions

const Capscaps () const
 
const ShaderCodeDictionaryshaderCodeDictionary () const
 
ShaderCodeDictionaryshaderCodeDictionary ()
 
const GlobalCacheglobalCache () const
 
GlobalCacheglobalCache ()
 
const RendererProviderrendererProvider () const
 
ResourceProviderresourceProvider () const
 

Friends

class Context
 

Detailed Description

Class that adds methods to Context that are only intended for use internal to Skia. This class is purely a privileged window into Context. It should never have additional data members or virtual methods.

Definition at line 30 of file ContextPriv.h.

Member Function Documentation

◆ caps()

const Caps * skgpu::graphite::ContextPriv::caps ( ) const
inline

Definition at line 32 of file ContextPriv.h.

32{ return fContext->fSharedContext->caps(); }

◆ globalCache() [1/2]

GlobalCache * skgpu::graphite::ContextPriv::globalCache ( )
inline

Definition at line 43 of file ContextPriv.h.

43 {
44 return fContext->fSharedContext->globalCache();
45 }

◆ globalCache() [2/2]

const GlobalCache * skgpu::graphite::ContextPriv::globalCache ( ) const
inline

Definition at line 40 of file ContextPriv.h.

40 {
41 return fContext->fSharedContext->globalCache();
42 }

◆ rendererProvider()

const RendererProvider * skgpu::graphite::ContextPriv::rendererProvider ( ) const
inline

Definition at line 46 of file ContextPriv.h.

46 {
47 return fContext->fSharedContext->rendererProvider();
48 }

◆ resourceProvider()

ResourceProvider * skgpu::graphite::ContextPriv::resourceProvider ( ) const
inline

Definition at line 49 of file ContextPriv.h.

49 {
50 return fContext->fResourceProvider.get();
51 }

◆ shaderCodeDictionary() [1/2]

ShaderCodeDictionary * skgpu::graphite::ContextPriv::shaderCodeDictionary ( )
inline

Definition at line 37 of file ContextPriv.h.

37 {
38 return fContext->fSharedContext->shaderCodeDictionary();
39 }

◆ shaderCodeDictionary() [2/2]

const ShaderCodeDictionary * skgpu::graphite::ContextPriv::shaderCodeDictionary ( ) const
inline

Definition at line 34 of file ContextPriv.h.

34 {
35 return fContext->fSharedContext->shaderCodeDictionary();
36 }

Friends And Related Symbol Documentation

◆ Context

friend class Context
friend

Definition at line 72 of file ContextPriv.h.


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