Searched refs:kNumCorners (Results 1 – 8 of 8) sorted by relevance
/external/skia/gm/ |
D | patch.cpp | 80 const SkPoint gTexCoords[SkPatchUtils::kNumCorners] = { 145 const SkColor colors[SkPatchUtils::kNumCorners] = { 152 const SkColor colors[SkPatchUtils::kNumCorners] = { 158 const SkColor colors[SkPatchUtils::kNumCorners] = { 168 const SkColor colors[SkPatchUtils::kNumCorners] = {
|
/external/skia/bench/ |
D | PatchBench.cpp | 58 const SkColor colors[SkPatchUtils::kNumCorners] = { in setColors() 61 memcpy(fColors, colors, SkPatchUtils::kNumCorners * sizeof(SkColor)); in setColors() 65 const SkPoint texCoords[SkPatchUtils::kNumCorners] = { in setTexCoords() 68 memcpy(fTexCoords, texCoords, SkPatchUtils::kNumCorners * sizeof(SkPoint)); in setTexCoords()
|
/external/skia/src/utils/ |
D | SkPatchUtils.h | 21 kNumCorners = 4, enumerator
|
D | SkPatchUtils.cpp | 348 for (int i = 0; i < kNumCorners; i++) { in MakeVertices() 356 skcolor_to_linear(cornerColors, srcColors, kNumCorners, convertCS.get(), doPremul); in MakeVertices()
|
/external/skia/samplecode/ |
D | PerlinPatch.cpp | 98 const SkColor colors[SkPatchUtils::kNumCorners] = { in PerlinPatchView() 144 const SkPoint texCoords[SkPatchUtils::kNumCorners] = { in onDrawContent()
|
/external/skia/src/core/ |
D | SkPictureRecord.cpp | 726 size += SkPatchUtils::kNumCorners * sizeof(SkColor); in onDrawPatch() 730 size += SkPatchUtils::kNumCorners * sizeof(SkPoint); in onDrawPatch() 744 fWriter.write(colors, SkPatchUtils::kNumCorners * sizeof(SkColor)); in onDrawPatch() 747 fWriter.write(texCoords, SkPatchUtils::kNumCorners * sizeof(SkPoint)); in onDrawPatch()
|
D | SkRecorder.cpp | 323 colors ? this->copy(colors, SkPatchUtils::kNumCorners) : nullptr, in onDrawPatch() 324 texCoords ? this->copy(texCoords, SkPatchUtils::kNumCorners) : nullptr, in onDrawPatch()
|
D | SkPicturePlayback.cpp | 433 colors = (const SkColor*)reader->skip(SkPatchUtils::kNumCorners * sizeof(SkColor)); in handleOp() 437 texCoords = (const SkPoint*)reader->skip(SkPatchUtils::kNumCorners * in handleOp()
|