Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Functions
CommonFlagsGpu.cpp File Reference
#include "include/core/SkExecutor.h"
#include "include/gpu/GrContextOptions.h"
#include "tools/flags/CommonFlags.h"

Go to the source code of this file.

Namespaces

namespace  CommonFlags
 

Functions

 DEFINE_int (gpuThreads, 2, "Create this many extra threads to assist with GPU work, " "including software path rendering. Defaults to two.")
 
static CommonFlags::DEFINE_bool (cachePathMasks, true, "Allows path mask textures to be cached in GPU configs.")
 
static CommonFlags::DEFINE_bool (failFlushTimeCallbacks, false, "Causes all flush-time callbacks to fail.")
 
static CommonFlags::DEFINE_bool (allPathsVolatile, false, "Causes all GPU paths to be processed as if 'setIsVolatile' had been called.")
 
static CommonFlags::DEFINE_string (pr, "", "Set of enabled gpu path renderers. Defined as a list of: " "[~]none [~]dashline [~]aahairline [~]aaconvex [~]aalinearizing [~]small [~]tri " "[~]atlas [~]tess [~]all")
 
static CommonFlags::DEFINE_int (internalSamples, -1, "Number of samples for internal draws that use MSAA, or default value if negative.")
 
static CommonFlags::DEFINE_int (maxAtlasSize, -1, "Maximum width and height of internal texture atlases, or default value if negative.")
 
static CommonFlags::DEFINE_bool (disableDriverCorrectnessWorkarounds, false, "Disables all GPU driver correctness workarounds")
 
static CommonFlags::DEFINE_bool (dontReduceOpsTaskSplitting, false, "Don't reorder tasks to reduce render passes")
 
static CommonFlags::DEFINE_int (gpuResourceCacheLimit, -1, "Maximum number of bytes to use for budgeted GPU resources. " "Default is -1, which means GrResourceCache::kDefaultMaxSize.")
 
static CommonFlags::DEFINE_bool (allowMSAAOnNewIntel, false, "Allows MSAA to be enabled on newer intel GPUs.")
 
static GpuPathRenderers CommonFlags::get_named_pathrenderers_flags (const char *name)
 
static GpuPathRenderers CommonFlags::collect_gpu_path_renderers_from_flags ()
 
void CommonFlags::SetCtxOptions (struct GrContextOptions *)
 

Function Documentation

◆ DEFINE_int()

DEFINE_int ( gpuThreads  ,
,
"Create this many extra threads to assist with GPU  work,
" "including software path rendering. Defaults to two."   
)