Home
last modified time | relevance | path

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

/external/skia/gm/
Dpatch.cpp80 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/
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/src/utils/
DSkPatchUtils.h21 kNumCorners = 4, enumerator
DSkPatchUtils.cpp348 for (int i = 0; i < kNumCorners; i++) { in MakeVertices()
356 skcolor_to_linear(cornerColors, srcColors, kNumCorners, convertCS.get(), doPremul); in MakeVertices()
/external/skia/samplecode/
DPerlinPatch.cpp98 const SkColor colors[SkPatchUtils::kNumCorners] = { in PerlinPatchView()
144 const SkPoint texCoords[SkPatchUtils::kNumCorners] = { in onDrawContent()
/external/skia/src/core/
DSkPictureRecord.cpp726 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()
DSkRecorder.cpp323 colors ? this->copy(colors, SkPatchUtils::kNumCorners) : nullptr, in onDrawPatch()
324 texCoords ? this->copy(texCoords, SkPatchUtils::kNumCorners) : nullptr, in onDrawPatch()
DSkPicturePlayback.cpp433 colors = (const SkColor*)reader->skip(SkPatchUtils::kNumCorners * sizeof(SkColor)); in handleOp()
437 texCoords = (const SkPoint*)reader->skip(SkPatchUtils::kNumCorners * in handleOp()