Flutter Engine
The Flutter Engine
|
#include <GrD3DPipelineState.h>
Public Types | |
using | UniformInfoArray = GrD3DPipelineStateDataManager::UniformInfoArray |
Public Member Functions | |
GrD3DPipelineState (sk_sp< GrD3DPipeline > pipeline, sk_sp< GrD3DRootSignature > rootSignature, const GrGLSLBuiltinUniformHandles &builtinUniformHandles, const UniformInfoArray &uniforms, uint32_t uniformSize, uint32_t numSamplers, std::unique_ptr< GrGeometryProcessor::ProgramImpl > gpImpl, std::unique_ptr< GrXferProcessor::ProgramImpl > xpImpl, std::vector< std::unique_ptr< GrFragmentProcessor::ProgramImpl > > fpImpls, size_t vertexStride, size_t instanceStride) | |
const sk_sp< GrD3DPipeline > & | pipeline () const |
const sk_sp< GrD3DRootSignature > & | rootSignature () const |
void | setAndBindConstants (GrD3DGpu *, const GrRenderTarget *, const GrProgramInfo &) |
void | setAndBindTextures (GrD3DGpu *, const GrGeometryProcessor &, const GrSurfaceProxy *const geomProcTextures[], const GrPipeline &) |
void | bindBuffers (GrD3DGpu *, sk_sp< const GrBuffer > indexBuffer, sk_sp< const GrBuffer > instanceBuffer, sk_sp< const GrBuffer > vertexBuffer, GrD3DDirectCommandList *commandList) |
void | markUniformsDirty () |
Definition at line 27 of file GrD3DPipelineState.h.
Definition at line 29 of file GrD3DPipelineState.h.
GrD3DPipelineState::GrD3DPipelineState | ( | sk_sp< GrD3DPipeline > | pipeline, |
sk_sp< GrD3DRootSignature > | rootSignature, | ||
const GrGLSLBuiltinUniformHandles & | builtinUniformHandles, | ||
const UniformInfoArray & | uniforms, | ||
uint32_t | uniformSize, | ||
uint32_t | numSamplers, | ||
std::unique_ptr< GrGeometryProcessor::ProgramImpl > | gpImpl, | ||
std::unique_ptr< GrXferProcessor::ProgramImpl > | xpImpl, | ||
std::vector< std::unique_ptr< GrFragmentProcessor::ProgramImpl > > | fpImpls, | ||
size_t | vertexStride, | ||
size_t | instanceStride | ||
) |
Definition at line 24 of file GrD3DPipelineState.cpp.
void GrD3DPipelineState::bindBuffers | ( | GrD3DGpu * | gpu, |
sk_sp< const GrBuffer > | indexBuffer, | ||
sk_sp< const GrBuffer > | instanceBuffer, | ||
sk_sp< const GrBuffer > | vertexBuffer, | ||
GrD3DDirectCommandList * | commandList | ||
) |
Definition at line 154 of file GrD3DPipelineState.cpp.
|
inline |
Definition at line 60 of file GrD3DPipelineState.h.
|
inline |
Definition at line 43 of file GrD3DPipelineState.h.
|
inline |
Definition at line 44 of file GrD3DPipelineState.h.
void GrD3DPipelineState::setAndBindConstants | ( | GrD3DGpu * | gpu, |
const GrRenderTarget * | renderTarget, | ||
const GrProgramInfo & | programInfo | ||
) |
Definition at line 47 of file GrD3DPipelineState.cpp.
void GrD3DPipelineState::setAndBindTextures | ( | GrD3DGpu * | gpu, |
const GrGeometryProcessor & | geomProc, | ||
const GrSurfaceProxy *const | geomProcTextures[], | ||
const GrPipeline & | pipeline | ||
) |
Definition at line 94 of file GrD3DPipelineState.cpp.