Flutter Engine
The Flutter Engine
|
#include <GrD3DPipelineStateDataManager.h>
Public Types | |
typedef GrSPIRVUniformHandler::UniformInfoArray | UniformInfoArray |
Public Types inherited from GrGLSLProgramDataManager | |
enum class | Specialized : bool { kNo = false , kYes = true } |
Public Member Functions | |
GrD3DPipelineStateDataManager (const UniformInfoArray &, uint32_t uniformSize) | |
D3D12_GPU_VIRTUAL_ADDRESS | uploadConstants (GrD3DGpu *gpu) |
Public Member Functions inherited from GrUniformDataManager | |
GrUniformDataManager (uint32_t uniformCount, uint32_t uniformSize) | |
void | set1i (UniformHandle, int32_t) const override |
void | set1iv (UniformHandle, int arrayCount, const int32_t v[]) const override |
void | set1f (UniformHandle, float v0) const override |
void | set1fv (UniformHandle, int arrayCount, const float v[]) const override |
void | set2i (UniformHandle, int32_t, int32_t) const override |
void | set2iv (UniformHandle, int arrayCount, const int32_t v[]) const override |
void | set2f (UniformHandle, float, float) const override |
void | set2fv (UniformHandle, int arrayCount, const float v[]) const override |
void | set3i (UniformHandle, int32_t, int32_t, int32_t) const override |
void | set3iv (UniformHandle, int arrayCount, const int32_t v[]) const override |
void | set3f (UniformHandle, float, float, float) const override |
void | set3fv (UniformHandle, int arrayCount, const float v[]) const override |
void | set4i (UniformHandle, int32_t, int32_t, int32_t, int32_t) const override |
void | set4iv (UniformHandle, int arrayCount, const int32_t v[]) const override |
void | set4f (UniformHandle, float, float, float, float) const override |
void | set4fv (UniformHandle, int arrayCount, const float v[]) const override |
void | setMatrix2f (UniformHandle, const float matrix[]) const override |
void | setMatrix3f (UniformHandle, const float matrix[]) const override |
void | setMatrix4f (UniformHandle, const float matrix[]) const override |
void | setMatrix2fv (UniformHandle, int arrayCount, const float matrices[]) const override |
void | setMatrix3fv (UniformHandle, int arrayCount, const float matrices[]) const override |
void | setMatrix4fv (UniformHandle, int arrayCount, const float matrices[]) const override |
void | markDirty () |
Public Member Functions inherited from GrGLSLProgramDataManager | |
virtual | ~GrGLSLProgramDataManager () |
virtual void | set1i (UniformHandle, int32_t) const =0 |
virtual void | set1iv (UniformHandle, int arrayCount, const int v[]) const =0 |
virtual void | set1f (UniformHandle, float v0) const =0 |
virtual void | set1fv (UniformHandle, int arrayCount, const float v[]) const =0 |
virtual void | set2i (UniformHandle, int32_t, int32_t) const =0 |
virtual void | set2iv (UniformHandle, int arrayCount, const int v[]) const =0 |
virtual void | set2f (UniformHandle, float, float) const =0 |
virtual void | set2fv (UniformHandle, int arrayCount, const float v[]) const =0 |
virtual void | set3i (UniformHandle, int32_t, int32_t, int32_t) const =0 |
virtual void | set3iv (UniformHandle, int arrayCount, const int v[]) const =0 |
virtual void | set3f (UniformHandle, float, float, float) const =0 |
virtual void | set3fv (UniformHandle, int arrayCount, const float v[]) const =0 |
virtual void | set4i (UniformHandle, int32_t, int32_t, int32_t, int32_t) const =0 |
virtual void | set4iv (UniformHandle, int arrayCount, const int v[]) const =0 |
virtual void | set4f (UniformHandle, float, float, float, float) const =0 |
virtual void | set4fv (UniformHandle, int arrayCount, const float v[]) const =0 |
virtual void | setMatrix2f (UniformHandle, const float matrix[]) const =0 |
virtual void | setMatrix3f (UniformHandle, const float matrix[]) const =0 |
virtual void | setMatrix4f (UniformHandle, const float matrix[]) const =0 |
virtual void | setMatrix2fv (UniformHandle, int arrayCount, const float matrices[]) const =0 |
virtual void | setMatrix3fv (UniformHandle, int arrayCount, const float matrices[]) const =0 |
virtual void | setMatrix4fv (UniformHandle, int arrayCount, const float matrices[]) const =0 |
void | setSkMatrix (UniformHandle, const SkMatrix &) const |
void | setSkM44 (UniformHandle, const SkM44 &) const |
void | setRuntimeEffectUniforms (SkSpan< const SkRuntimeEffect::Uniform >, SkSpan< const UniformHandle >, SkSpan< const Specialized >, const void *src) const |
void | setRuntimeEffectUniforms (SkSpan< const SkRuntimeEffect::Uniform > uniforms, SkSpan< const UniformHandle > handles, const void *src) const |
Additional Inherited Members | |
Protected Member Functions inherited from GrUniformDataManager | |
int | copyUniforms (void *dest, const void *src, int numUniforms, SkSLType uniformType) const |
template<int N, SkSLType kFullType, SkSLType kHalfType> | |
void | set (UniformHandle u, const void *v) const |
template<int N, SkSLType kFullType, SkSLType kHalfType> | |
void | setv (UniformHandle u, int arrayCount, const void *v) const |
template<int N, SkSLType FullType, SkSLType HalfType> | |
void | setMatrices (UniformHandle, int arrayCount, const float matrices[]) const |
void * | getBufferPtrAndMarkDirty (const Uniform &uni) const |
Protected Member Functions inherited from GrGLSLProgramDataManager | |
GrGLSLProgramDataManager () | |
Protected Attributes inherited from GrUniformDataManager | |
uint32_t | fUniformSize |
bool | fWrite16BitUniforms = false |
skia_private::TArray< Uniform, true > | fUniforms |
SkAutoMalloc | fUniformData |
bool | fUniformsDirty = false |
Definition at line 19 of file GrD3DPipelineStateDataManager.h.
Definition at line 21 of file GrD3DPipelineStateDataManager.h.
GrD3DPipelineStateDataManager::GrD3DPipelineStateDataManager | ( | const UniformInfoArray & | uniforms, |
uint32_t | uniformSize | ||
) |
Definition at line 13 of file GrD3DPipelineStateDataManager.cpp.
D3D12_GPU_VIRTUAL_ADDRESS GrD3DPipelineStateDataManager::uploadConstants | ( | GrD3DGpu * | gpu | ) |
Definition at line 33 of file GrD3DPipelineStateDataManager.cpp.