Searched refs:grInfo (Results 1 – 1 of 1) sorted by relevance
418 SkShader::GradientInfo grInfo; in addShaderResources() local419 grInfo.fColorCount = 0; in addShaderResources()420 if (SkShader::kLinear_GradientType != shader->asAGradient(&grInfo)) { in addShaderResources()426 SkAutoSTArray<16, SkColor> grColors(grInfo.fColorCount); in addShaderResources()427 SkAutoSTArray<16, SkScalar> grOffsets(grInfo.fColorCount); in addShaderResources()428 grInfo.fColors = grColors.get(); in addShaderResources()429 grInfo.fColorOffsets = grOffsets.get(); in addShaderResources()432 shader->asAGradient(&grInfo); in addShaderResources()433 SkASSERT(grInfo.fColorCount <= grColors.count()); in addShaderResources()434 SkASSERT(grInfo.fColorCount <= grOffsets.count()); in addShaderResources()[all …]