Flutter Engine
The Flutter Engine
|
#include <GrD3DResourceProvider.h>
Definition at line 34 of file GrD3DResourceProvider.h.
GrD3DResourceProvider::GrD3DResourceProvider | ( | GrD3DGpu * | gpu | ) |
Definition at line 20 of file GrD3DResourceProvider.cpp.
GrD3DDescriptorHeap::CPUHandle GrD3DResourceProvider::createConstantBufferView | ( | ID3D12Resource * | bufferResource, |
size_t | offset, | ||
size_t | size | ||
) |
Definition at line 103 of file GrD3DResourceProvider.cpp.
GrD3DDescriptorHeap::CPUHandle GrD3DResourceProvider::createDepthStencilView | ( | ID3D12Resource * | textureResource | ) |
Definition at line 93 of file GrD3DResourceProvider.cpp.
GrD3DDescriptorHeap::CPUHandle GrD3DResourceProvider::createRenderTargetView | ( | ID3D12Resource * | textureResource | ) |
Definition at line 83 of file GrD3DResourceProvider.cpp.
GrD3DDescriptorHeap::CPUHandle GrD3DResourceProvider::createShaderResourceView | ( | ID3D12Resource * | resource, |
unsigned int | mostDetailedMip = 0 , |
||
unsigned int | mipLevels = -1 |
||
) |
Definition at line 108 of file GrD3DResourceProvider.cpp.
GrD3DDescriptorHeap::CPUHandle GrD3DResourceProvider::createUnorderedAccessView | ( | ID3D12Resource * | resource, |
unsigned int | mipSlice | ||
) |
Definition at line 113 of file GrD3DResourceProvider.cpp.
|
inline |
Definition at line 72 of file GrD3DResourceProvider.h.
void GrD3DResourceProvider::destroyResources | ( | ) |
Definition at line 29 of file GrD3DResourceProvider.cpp.
sk_sp< GrD3DCommandSignature > GrD3DResourceProvider::findOrCreateCommandSignature | ( | GrD3DCommandSignature::ForIndexed | indexed, |
unsigned int | slot | ||
) |
Definition at line 67 of file GrD3DResourceProvider.cpp.
GrD3DPipelineState * GrD3DResourceProvider::findOrCreateCompatiblePipelineState | ( | GrD3DRenderTarget * | rt, |
const GrProgramInfo & | info | ||
) |
Definition at line 201 of file GrD3DResourceProvider.cpp.
D3D12_CPU_DESCRIPTOR_HANDLE GrD3DResourceProvider::findOrCreateCompatibleSampler | ( | const GrSamplerState & | params | ) |
Definition at line 160 of file GrD3DResourceProvider.cpp.
std::unique_ptr< GrD3DDirectCommandList > GrD3DResourceProvider::findOrCreateDirectCommandList | ( | ) |
Definition at line 35 of file GrD3DResourceProvider.cpp.
sk_sp< GrD3DPipeline > GrD3DResourceProvider::findOrCreateMipmapPipeline | ( | ) |
Definition at line 206 of file GrD3DResourceProvider.cpp.
sk_sp< GrD3DRootSignature > GrD3DResourceProvider::findOrCreateRootSignature | ( | int | numTextureSamplers, |
int | numUAVs = 0 |
||
) |
Definition at line 51 of file GrD3DResourceProvider.cpp.
sk_sp< GrD3DDescriptorTable > GrD3DResourceProvider::findOrCreateSamplerTable | ( | const std::vector< D3D12_CPU_DESCRIPTOR_HANDLE > & | samplers | ) |
Definition at line 193 of file GrD3DResourceProvider.cpp.
sk_sp< GrD3DDescriptorTable > GrD3DResourceProvider::findOrCreateShaderViewTable | ( | const std::vector< D3D12_CPU_DESCRIPTOR_HANDLE > & | shaderViews | ) |
Definition at line 184 of file GrD3DResourceProvider.cpp.
|
inline |
Definition at line 84 of file GrD3DResourceProvider.h.
void GrD3DResourceProvider::prepForSubmit | ( | ) |
Definition at line 286 of file GrD3DResourceProvider.cpp.
void GrD3DResourceProvider::recycleDepthStencilView | ( | const GrD3DDescriptorHeap::CPUHandle & | dsvDescriptor | ) |
Definition at line 98 of file GrD3DResourceProvider.cpp.
void GrD3DResourceProvider::recycleDirectCommandList | ( | std::unique_ptr< GrD3DDirectCommandList > | commandList | ) |
Definition at line 45 of file GrD3DResourceProvider.cpp.
void GrD3DResourceProvider::recycleRenderTargetView | ( | const GrD3DDescriptorHeap::CPUHandle & | rtvDescriptor | ) |
Definition at line 88 of file GrD3DResourceProvider.cpp.
void GrD3DResourceProvider::recycleShaderView | ( | const GrD3DDescriptorHeap::CPUHandle & | view | ) |
Definition at line 118 of file GrD3DResourceProvider.cpp.
D3D12_GPU_VIRTUAL_ADDRESS GrD3DResourceProvider::uploadConstantData | ( | void * | data, |
size_t | size | ||
) |
Definition at line 270 of file GrD3DResourceProvider.cpp.