Searched refs:kNumCorners (Results 1 – 8 of 8) sorted by relevance
/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/gm/ |
D | patch.cpp | 82 const SkColor colors[SkPatchUtils::kNumCorners] = { 85 const SkPoint texCoords[SkPatchUtils::kNumCorners] = {
|
/external/skia/src/utils/ |
D | SkPatchUtils.h | 78 kNumCorners = 4, enumerator
|
D | SkPatchUtils.cpp | 205 SkPMColor colorsPM[kNumCorners]; in getVertexData() 208 for (int i = 0; i < kNumCorners; i++) { in getVertexData()
|
/external/skia/samplecode/ |
D | PerlinPatch.cpp | 96 const SkColor colors[SkPatchUtils::kNumCorners] = { in PerlinPatchView() 138 const SkPoint texCoords[SkPatchUtils::kNumCorners] = { in onDrawContent()
|
/external/skia/src/core/ |
D | SkPictureRecord.cpp | 711 size += SkPatchUtils::kNumCorners * sizeof(SkColor); in onDrawPatch() 715 size += SkPatchUtils::kNumCorners * sizeof(SkPoint); in onDrawPatch() 732 fWriter.write(colors, SkPatchUtils::kNumCorners * sizeof(SkColor)); in onDrawPatch() 735 fWriter.write(texCoords, SkPatchUtils::kNumCorners * sizeof(SkPoint)); in onDrawPatch()
|
D | SkRecorder.cpp | 317 colors ? this->copy(colors, SkPatchUtils::kNumCorners) : nullptr, in onDrawPatch() 318 texCoords ? this->copy(texCoords, SkPatchUtils::kNumCorners) : nullptr, in onDrawPatch()
|
D | SkPicturePlayback.cpp | 298 colors = (const SkColor*)reader->skip(SkPatchUtils::kNumCorners * sizeof(SkColor)); in handleOp() 302 texCoords = (const SkPoint*)reader->skip(SkPatchUtils::kNumCorners * in handleOp()
|