Home
last modified time | relevance | path

Searched refs:kNumCorners (Results 1 – 8 of 8) sorted by relevance

/external/skia/bench/
DPatchBench.cpp58 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/
Dpatch.cpp82 const SkColor colors[SkPatchUtils::kNumCorners] = {
85 const SkPoint texCoords[SkPatchUtils::kNumCorners] = {
/external/skia/src/utils/
DSkPatchUtils.h78 kNumCorners = 4, enumerator
DSkPatchUtils.cpp205 SkPMColor colorsPM[kNumCorners]; in getVertexData()
208 for (int i = 0; i < kNumCorners; i++) { in getVertexData()
/external/skia/samplecode/
DPerlinPatch.cpp96 const SkColor colors[SkPatchUtils::kNumCorners] = { in PerlinPatchView()
138 const SkPoint texCoords[SkPatchUtils::kNumCorners] = { in onDrawContent()
/external/skia/src/core/
DSkPictureRecord.cpp711 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()
DSkRecorder.cpp317 colors ? this->copy(colors, SkPatchUtils::kNumCorners) : nullptr, in onDrawPatch()
318 texCoords ? this->copy(texCoords, SkPatchUtils::kNumCorners) : nullptr, in onDrawPatch()
DSkPicturePlayback.cpp298 colors = (const SkColor*)reader->skip(SkPatchUtils::kNumCorners * sizeof(SkColor)); in handleOp()
302 texCoords = (const SkPoint*)reader->skip(SkPatchUtils::kNumCorners * in handleOp()