Flutter Engine
The Flutter Engine
Public Attributes | List of all members
skgpu::graphite::ContextOptionsPriv Struct Reference

#include <ContextOptionsPriv.h>

Public Attributes

int fMaxTextureSizeOverride = SK_MaxS32
 
int fMaxTextureAtlasSize = 2048
 
bool fStoreContextRefInRecorder = false
 
PathRendererStrategy fPathRendererStrategy = PathRendererStrategy::kDefault
 

Detailed Description

Private options that are only meant for testing within Skia's tools.

Definition at line 50 of file ContextOptionsPriv.h.

Member Data Documentation

◆ fMaxTextureAtlasSize

int skgpu::graphite::ContextOptionsPriv::fMaxTextureAtlasSize = 2048

Maximum width and height of internal texture atlases.

Definition at line 57 of file ContextOptionsPriv.h.

◆ fMaxTextureSizeOverride

int skgpu::graphite::ContextOptionsPriv::fMaxTextureSizeOverride = SK_MaxS32

Definition at line 52 of file ContextOptionsPriv.h.

◆ fPathRendererStrategy

PathRendererStrategy skgpu::graphite::ContextOptionsPriv::fPathRendererStrategy = PathRendererStrategy::kDefault

Definition at line 65 of file ContextOptionsPriv.h.

◆ fStoreContextRefInRecorder

bool skgpu::graphite::ContextOptionsPriv::fStoreContextRefInRecorder = false

If true, will store a pointer in Recorder that points back to the Context that created it. Used by readPixels() and other methods that normally require a Context.

Definition at line 63 of file ContextOptionsPriv.h.


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