Searched refs:kNumColors (Results 1 – 11 of 11) sorted by relevance
/external/skqp/include/effects/ |
D | SkOverdrawColorFilter.h | 24 static constexpr int kNumColors = 6; 26 static sk_sp<SkOverdrawColorFilter> Make(const SkPMColor colors[kNumColors]) { in Make() argument 43 SkOverdrawColorFilter(const SkPMColor colors[kNumColors]) { in SK_FLATTENABLE_HOOKS() 44 memcpy(fColors, colors, kNumColors * sizeof(SkPMColor)); in SK_FLATTENABLE_HOOKS() 49 SkPMColor fColors[kNumColors];
|
/external/skqp/src/effects/ |
D | SkOverdrawColorFilter.cpp | 58 if (alpha >= kNumColors) { in onAppendStages() 59 alpha = kNumColors - 1; in onAppendStages() 68 buffer.writeByteArray(fColors, kNumColors * sizeof(SkPMColor)); in flatten() 72 SkPMColor colors[kNumColors]; in CreateProc()
|
/external/skia/src/effects/ |
D | SkOverdrawColorFilter.cpp | 14 sk_sp<SkColorFilter> SkOverdrawColorFilter::MakeWithSkColors(const SkColor colors[kNumColors]) { in MakeWithSkColors() argument 35 auto data = SkData::MakeUninitialized(kNumColors * sizeof(SkPMColor4f)); in MakeWithSkColors() 37 for (int i = 0; i < kNumColors; ++i) { in MakeWithSkColors()
|
/external/skia/include/effects/ |
D | SkOverdrawColorFilter.h | 24 static constexpr int kNumColors = 6; 26 static sk_sp<SkColorFilter> MakeWithSkColors(const SkColor[kNumColors]);
|
/external/skia/gm/ |
D | drawatlascolor.cpp | 80 2 * kNumColors * (kAtlasSize + kPad) + kTextPad + kPad); in onISize() 130 SkASSERT(numColors == kNumColors); in onDraw() 169 static constexpr int kNumColors = 4; member in DrawAtlasColorsGM
|
D | overdrawcolorfilter.cpp | 41 static const SkColor colors[SkOverdrawColorFilter::kNumColors] = { in onDraw()
|
/external/skqp/gm/ |
D | drawatlascolor.cpp | 67 2 * kNumColors * (kAtlasSize + kPad) + kTextPad + kPad); in onISize() 117 SkASSERT(numColors == kNumColors); in onDraw() 156 static constexpr int kNumColors = 4; member in DrawAtlasColorsGM
|
D | overdrawcolorfilter.cpp | 37 static const SkPMColor colors[SkOverdrawColorFilter::kNumColors] = { in onDraw()
|
/external/angle/src/image_util/ |
D | loadimage_etc.cpp | 1156 static const size_t kNumColors = 8; in transcodeIndividualOrDifferentialBlockToBC1() local 1163 R8G8B8A8 subblockColors[kNumColors]; in transcodeIndividualOrDifferentialBlockToBC1() 1186 int pixelIndexCounts[kNumColors] = {0}; in transcodeIndividualOrDifferentialBlockToBC1() 1195 selectEndPointPCA(pixelIndexCounts, subblockColors, kNumColors, &minColorIndex, in transcodeIndividualOrDifferentialBlockToBC1() 1198 packBC1(dest, pixelIndices, pixelIndexCounts, subblockColors, kNumColors, minColorIndex, in transcodeIndividualOrDifferentialBlockToBC1() 1210 static const size_t kNumColors = 4; in transcodeTBlockToBC1() local 1227 const R8G8B8A8 paintColors[kNumColors] = { in transcodeTBlockToBC1() 1235 int pixelIndexCounts[kNumColors] = {0}; in transcodeTBlockToBC1() 1248 selectEndPointPCA(pixelIndexCounts, paintColors, kNumColors, &minColorIndex, in transcodeTBlockToBC1() 1251 packBC1(dest, pixelIndices, pixelIndexCounts, paintColors, kNumColors, minColorIndex, in transcodeTBlockToBC1() [all …]
|
/external/skia/bench/ |
D | ColorFilterBench.cpp | 194 const SkColor colors[SkOverdrawColorFilter::kNumColors] = { in __anonb80003540c02()
|
/external/skia/src/gpu/effects/ |
D | GrSkSLFP.cpp | 277 SkColor colors[SkOverdrawColorFilter::kNumColors]; in TestCreate()
|