Flutter Engine
The Flutter Engine
Classes | Public Member Functions | List of all members
GrD3DDescriptorTableManager Class Reference

#include <GrD3DDescriptorTableManager.h>

Public Member Functions

 GrD3DDescriptorTableManager (GrD3DGpu *)
 
sk_sp< GrD3DDescriptorTablecreateShaderViewTable (GrD3DGpu *, unsigned int count)
 
sk_sp< GrD3DDescriptorTablecreateSamplerTable (GrD3DGpu *, unsigned int count)
 
void prepForSubmit (GrD3DGpu *gpu)
 

Detailed Description

Definition at line 45 of file GrD3DDescriptorTableManager.h.

Constructor & Destructor Documentation

◆ GrD3DDescriptorTableManager()

GrD3DDescriptorTableManager::GrD3DDescriptorTableManager ( GrD3DGpu gpu)

Definition at line 12 of file GrD3DDescriptorTableManager.cpp.

13 : fShaderViewDescriptorPool(gpu, D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV)
14 , fSamplerDescriptorPool(gpu, D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER) {}

Member Function Documentation

◆ createSamplerTable()

sk_sp< GrD3DDescriptorTable > GrD3DDescriptorTableManager::createSamplerTable ( GrD3DGpu gpu,
unsigned int  count 
)

Definition at line 22 of file GrD3DDescriptorTableManager.cpp.

23 {
24 sk_sp<GrD3DDescriptorTable> table = fSamplerDescriptorPool.allocateTable(gpu, size);
25 return table;
26}
SI F table(const skcms_Curve *curve, F v)
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
Definition: switches.h:259

◆ createShaderViewTable()

sk_sp< GrD3DDescriptorTable > GrD3DDescriptorTableManager::createShaderViewTable ( GrD3DGpu gpu,
unsigned int  count 
)

Definition at line 17 of file GrD3DDescriptorTableManager.cpp.

17 {
18 sk_sp<GrD3DDescriptorTable> table = fShaderViewDescriptorPool.allocateTable(gpu, size);
19 return table;
20}

◆ prepForSubmit()

void GrD3DDescriptorTableManager::prepForSubmit ( GrD3DGpu gpu)

Definition at line 28 of file GrD3DDescriptorTableManager.cpp.

28 {
29 fShaderViewDescriptorPool.prepForSubmit(gpu);
30 fSamplerDescriptorPool.prepForSubmit(gpu);
31}

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