Flutter Engine
The Flutter Engine
|
#include <KeyHelpers.h>
Public Member Functions | |
GradientData (SkShaderBase::GradientType, int numStops, bool useStorageBuffer) | |
GradientData (SkShaderBase::GradientType, SkPoint point0, SkPoint point1, float radius0, float radius1, float bias, float scale, SkTileMode, int numStops, const SkPMColor4f *colors, const float *offsets, const SkGradientBaseShader *shader, sk_sp< TextureProxy > colorsAndOffsetsProxy, bool useStorageBuffer, const SkGradientShader::Interpolation &) | |
bool | operator== (const GradientData &rhs) const =delete |
bool | operator!= (const GradientData &rhs) const =delete |
Public Attributes | |
SkShaderBase::GradientType | fType |
SkPoint | fPoints [2] |
float | fRadii [2] |
float | fBias |
float | fScale |
SkTileMode | fTM |
int | fNumStops |
bool | fUseStorageBuffer |
SkPMColor4f | fColors [kNumInternalStorageStops] |
SkV4 | fOffsets [kNumInternalStorageStops/4] |
sk_sp< TextureProxy > | fColorsAndOffsetsProxy |
const SkPMColor4f * | fSrcColors |
const float * | fSrcOffsets |
const SkGradientBaseShader * | fSrcShader |
SkGradientShader::Interpolation | fInterpolation |
Static Public Attributes | |
static constexpr int | kNumInternalStorageStops = 8 |
Definition at line 87 of file KeyHelpers.h.
skgpu::graphite::GradientShaderBlocks::GradientData::GradientData | ( | SkShaderBase::GradientType | type, |
int | numStops, | ||
bool | useStorageBuffer | ||
) |
Definition at line 339 of file KeyHelpers.cpp.
skgpu::graphite::GradientShaderBlocks::GradientData::GradientData | ( | SkShaderBase::GradientType | type, |
SkPoint | point0, | ||
SkPoint | point1, | ||
float | radius0, | ||
float | radius1, | ||
float | bias, | ||
float | scale, | ||
SkTileMode | tm, | ||
int | numStops, | ||
const SkPMColor4f * | colors, | ||
const float * | offsets, | ||
const SkGradientBaseShader * | shader, | ||
sk_sp< TextureProxy > | colorsAndOffsetsProxy, | ||
bool | useStorageBuffer, | ||
const SkGradientShader::Interpolation & | interp | ||
) |
Definition at line 356 of file KeyHelpers.cpp.
|
delete |
|
delete |
float skgpu::graphite::GradientShaderBlocks::GradientData::fBias |
Definition at line 121 of file KeyHelpers.h.
SkPMColor4f skgpu::graphite::GradientShaderBlocks::GradientData::fColors[kNumInternalStorageStops] |
Definition at line 134 of file KeyHelpers.h.
sk_sp<TextureProxy> skgpu::graphite::GradientShaderBlocks::GradientData::fColorsAndOffsetsProxy |
Definition at line 136 of file KeyHelpers.h.
SkGradientShader::Interpolation skgpu::graphite::GradientShaderBlocks::GradientData::fInterpolation |
Definition at line 141 of file KeyHelpers.h.
int skgpu::graphite::GradientShaderBlocks::GradientData::fNumStops |
Definition at line 125 of file KeyHelpers.h.
SkV4 skgpu::graphite::GradientShaderBlocks::GradientData::fOffsets[kNumInternalStorageStops/4] |
Definition at line 135 of file KeyHelpers.h.
SkPoint skgpu::graphite::GradientShaderBlocks::GradientData::fPoints[2] |
Definition at line 117 of file KeyHelpers.h.
float skgpu::graphite::GradientShaderBlocks::GradientData::fRadii[2] |
Definition at line 118 of file KeyHelpers.h.
float skgpu::graphite::GradientShaderBlocks::GradientData::fScale |
Definition at line 122 of file KeyHelpers.h.
const SkPMColor4f* skgpu::graphite::GradientShaderBlocks::GradientData::fSrcColors |
Definition at line 137 of file KeyHelpers.h.
const float* skgpu::graphite::GradientShaderBlocks::GradientData::fSrcOffsets |
Definition at line 138 of file KeyHelpers.h.
const SkGradientBaseShader* skgpu::graphite::GradientShaderBlocks::GradientData::fSrcShader |
Definition at line 139 of file KeyHelpers.h.
SkTileMode skgpu::graphite::GradientShaderBlocks::GradientData::fTM |
Definition at line 124 of file KeyHelpers.h.
SkShaderBase::GradientType skgpu::graphite::GradientShaderBlocks::GradientData::fType |
Definition at line 116 of file KeyHelpers.h.
bool skgpu::graphite::GradientShaderBlocks::GradientData::fUseStorageBuffer |
Definition at line 126 of file KeyHelpers.h.
|
staticconstexpr |
Definition at line 90 of file KeyHelpers.h.