#include <PipelineData.h>
Definition at line 91 of file PipelineData.h.
◆ PipelineDataGatherer()
skgpu::graphite::PipelineDataGatherer::PipelineDataGatherer |
( |
Layout |
layout | ) |
|
◆ allocateGradientData()
std::pair< float *, int > skgpu::graphite::PipelineDataGatherer::allocateGradientData |
( |
int |
numStops, |
|
|
const SkGradientBaseShader * |
shader |
|
) |
| |
|
inline |
Definition at line 133 of file PipelineData.h.
133 {
134 int* existingOfffset = fGradientOffsetCache.
find(shader);
135 if (existingOfffset) {
136 return std::make_pair(nullptr, *existingOfffset);
137 }
138
139 auto dataPair = this->allocateFloatData(numStops * 5);
140 fGradientOffsetCache.
set(shader, dataPair.second);
141
142 return dataPair;
143 }
V * find(const K &key) const
◆ finishUniformDataBlock()
UniformDataBlock skgpu::graphite::PipelineDataGatherer::finishUniformDataBlock |
( |
| ) |
|
|
inline |
◆ gradientBufferData()
SkSpan< const float > skgpu::graphite::PipelineDataGatherer::gradientBufferData |
( |
| ) |
const |
|
inline |
◆ hasGradientBufferData()
bool skgpu::graphite::PipelineDataGatherer::hasGradientBufferData |
( |
| ) |
const |
|
inline |
◆ hasTextures()
bool skgpu::graphite::PipelineDataGatherer::hasTextures |
( |
| ) |
const |
|
inline |
◆ hasUniforms()
bool skgpu::graphite::PipelineDataGatherer::hasUniforms |
( |
| ) |
const |
|
inline |
◆ resetWithNewLayout()
void skgpu::graphite::PipelineDataGatherer::resetWithNewLayout |
( |
Layout |
layout | ) |
|
◆ SkDEBUGCODE()
skgpu::graphite::PipelineDataGatherer::SkDEBUGCODE |
( |
void checkReset(); |
| ) |
|
◆ textureDataBlock()
const TextureDataBlock & skgpu::graphite::PipelineDataGatherer::textureDataBlock |
( |
| ) |
|
|
inline |
◆ write() [1/2]
void skgpu::graphite::PipelineDataGatherer::write |
( |
const T & |
t | ) |
|
|
inline |
◆ write() [2/2]
void skgpu::graphite::PipelineDataGatherer::write |
( |
const Uniform & |
u, |
|
|
const void * |
data |
|
) |
| |
|
inline |
Definition at line 115 of file PipelineData.h.
std::shared_ptr< const fml::Mapping > data
◆ writeArray()
void skgpu::graphite::PipelineDataGatherer::writeArray |
( |
SkSpan< const T > |
t | ) |
|
|
inline |
◆ writeHalf()
void skgpu::graphite::PipelineDataGatherer::writeHalf |
( |
const T & |
t | ) |
|
|
inline |
◆ writeHalfArray()
void skgpu::graphite::PipelineDataGatherer::writeHalfArray |
( |
SkSpan< const T > |
t | ) |
|
|
inline |
◆ writePaintColor()
void skgpu::graphite::PipelineDataGatherer::writePaintColor |
( |
const SkPMColor4f & |
color | ) |
|
|
inline |
◆ samplerDesc
const SamplerDesc& skgpu::graphite::PipelineDataGatherer::samplerDesc |
Initial value:{
const SamplerDesc & samplerDesc
void add(sk_sp< TextureProxy > proxy, const SamplerDesc &samplerDesc)
Definition at line 100 of file PipelineData.h.
The documentation for this class was generated from the following files: