HomeSort by relevance Sort by last modified time
    Searched refs:SkPatchUtils (Results 1 - 25 of 29) sorted by null

1 2

  /external/chromium_org/third_party/skia/src/utils/
SkPatchGrid.cpp 9 #include "SkPatchUtils.h"
42 fCornerPts[cornerPos] = cubics[SkPatchUtils::kTopP0_CubicCtrlPts];
43 fCornerPts[cornerPos + 1] = cubics[SkPatchUtils::kTopP3_CubicCtrlPts];
44 fCornerPts[cornerPos + (fCols + 1)] = cubics[SkPatchUtils::kBottomP0_CubicCtrlPts];
45 fCornerPts[cornerPos + (fCols + 1) + 1] = cubics[SkPatchUtils::kBottomP3_CubicCtrlPts];
49 fHrzCtrlPts[hrzPos] = cubics[SkPatchUtils::kTopP1_CubicCtrlPts];
50 fHrzCtrlPts[hrzPos + 1] = cubics[SkPatchUtils::kTopP2_CubicCtrlPts];
51 fHrzCtrlPts[hrzPos + (fCols * 2)] = cubics[SkPatchUtils::kBottomP1_CubicCtrlPts];
52 fHrzCtrlPts[hrzPos + (fCols * 2) + 1] = cubics[SkPatchUtils::kBottomP2_CubicCtrlPts];
56 fVrtCtrlPts[vrtPos] = cubics[SkPatchUtils::kLeftP1_CubicCtrlPts]
    [all...]
SkPatchUtils.cpp 8 #include "SkPatchUtils.h"
147 SkISize SkPatchUtils::GetLevelOfDetail(const SkPoint cubics[12], const SkMatrix* matrix) {
151 SkPatchUtils::getTopCubic(cubics, pts);
155 SkPatchUtils::getBottomCubic(cubics, pts);
159 SkPatchUtils::getLeftCubic(cubics, pts);
163 SkPatchUtils::getRightCubic(cubics, pts);
174 void SkPatchUtils::getTopCubic(const SkPoint cubics[12], SkPoint points[4]) {
181 void SkPatchUtils::getBottomCubic(const SkPoint cubics[12], SkPoint points[4]) {
188 void SkPatchUtils::getLeftCubic(const SkPoint cubics[12], SkPoint points[4]) {
195 void SkPatchUtils::getRightCubic(const SkPoint cubics[12], SkPoint points[4])
    [all...]
SkPatchUtils.h 14 class SK_API SkPatchUtils {
116 static bool getVertexData(SkPatchUtils::VertexData* data, const SkPoint cubics[12],
SkDumpCanvas.cpp 12 #include "SkPatchUtils.h"
465 cubics[SkPatchUtils::kTopP0_CubicCtrlPts].fX,
466 cubics[SkPatchUtils::kTopP0_CubicCtrlPts].fY,
467 cubics[SkPatchUtils::kTopP3_CubicCtrlPts].fX,
468 cubics[SkPatchUtils::kTopP3_CubicCtrlPts].fY,
469 cubics[SkPatchUtils::kBottomP3_CubicCtrlPts].fX,
470 cubics[SkPatchUtils::kBottomP3_CubicCtrlPts].fY,
471 cubics[SkPatchUtils::kBottomP0_CubicCtrlPts].fX,
472 cubics[SkPatchUtils::kBottomP0_CubicCtrlPts].fY,
  /external/chromium_org/third_party/skia/gm/
patch.cpp 11 #include "SkPatchUtils.h"
27 SkPoint bottom[SkPatchUtils::kNumPtsCubic];
28 SkPatchUtils::getBottomCubic(cubics, bottom);
29 SkPoint top[SkPatchUtils::kNumPtsCubic];
30 SkPatchUtils::getTopCubic(cubics, top);
31 SkPoint left[SkPatchUtils::kNumPtsCubic];
32 SkPatchUtils::getLeftCubic(cubics, left);
33 SkPoint right[SkPatchUtils::kNumPtsCubic];
34 SkPatchUtils::getRightCubic(cubics, right);
96 const SkPoint cubics[SkPatchUtils::kNumCtrlPts] =
    [all...]
patchgrid.cpp 16 SkPatchUtils::getBottomCubic(cubics, bottom);
18 SkPatchUtils::getTopCubic(cubics, top);
20 SkPatchUtils::getLeftCubic(cubics, left);
22 SkPatchUtils::getRightCubic(cubics, right);
123 points[SkPatchUtils::kTopP0_CubicCtrlPts] = vertices[i][j];
124 points[SkPatchUtils::kTopP3_CubicCtrlPts] = vertices[i][j + 1];
125 points[SkPatchUtils::kBottomP0_CubicCtrlPts] = vertices[i + 1][j];
126 points[SkPatchUtils::kBottomP3_CubicCtrlPts] = vertices[i + 1][j + 1];
128 points[SkPatchUtils::kTopP1_CubicCtrlPts] = hrzCtrl[i][j * 2];
129 points[SkPatchUtils::kTopP2_CubicCtrlPts] = hrzCtrl[i][j * 2 + 1]
    [all...]
  /external/chromium_org/third_party/skia/bench/
PatchGridBench.cpp 105 points[SkPatchUtils::kTopP0_CubicCtrlPts] = vertices[i][j];
106 points[SkPatchUtils::kTopP3_CubicCtrlPts] = vertices[i][j + 1];
107 points[SkPatchUtils::kBottomP0_CubicCtrlPts] = vertices[i + 1][j];
108 points[SkPatchUtils::kBottomP3_CubicCtrlPts] = vertices[i + 1][j + 1];
110 points[SkPatchUtils::kTopP1_CubicCtrlPts] = hrzCtrl[i][j * 2];
111 points[SkPatchUtils::kTopP2_CubicCtrlPts] = hrzCtrl[i][j * 2 + 1];
112 points[SkPatchUtils::kBottomP1_CubicCtrlPts] = hrzCtrl[i + 1][j * 2];
113 points[SkPatchUtils::kBottomP2_CubicCtrlPts] = hrzCtrl[i + 1][j * 2 + 1];
115 points[SkPatchUtils::kLeftP1_CubicCtrlPts] = vrtCtrl[i * 2][j];
116 points[SkPatchUtils::kLeftP2_CubicCtrlPts] = vrtCtrl[i * 2 + 1][j]
    [all...]
PatchBench.cpp 11 #include "SkPatchUtils.h"
44 const SkPoint points[SkPatchUtils::kNumCtrlPts] = {
54 memcpy(fCubics, points, SkPatchUtils::kNumCtrlPts * sizeof(SkPoint));
58 const SkColor colors[SkPatchUtils::kNumCorners] = {
61 memcpy(fColors, colors, SkPatchUtils::kNumCorners * sizeof(SkColor));
65 const SkPoint texCoords[SkPatchUtils::kNumCorners] = {
68 memcpy(fTexCoords, texCoords, SkPatchUtils::kNumCorners * sizeof(SkPoint));
169 const SkPoint points[SkPatchUtils::kNumCtrlPts] = {
179 memcpy(fCubics, points, SkPatchUtils::kNumCtrlPts * sizeof(SkPoint));
195 const SkPoint points[SkPatchUtils::kNumCtrlPts] =
    [all...]
  /external/chromium_org/third_party/skia/src/core/
SkDevice.cpp 12 #include "SkPatchUtils.h"
86 SkPatchUtils::VertexData data;
88 SkISize lod = SkPatchUtils::GetLevelOfDetail(cubics, draw.fMatrix);
92 if (SkPatchUtils::getVertexData(&data, cubics, colors, texCoords, lod.width(), lod.height())) {
SkRecorder.cpp 9 #include "SkPatchUtils.h"
227 cubics ? this->copy(cubics, SkPatchUtils::kNumCtrlPts) : NULL,
228 colors ? this->copy(colors, SkPatchUtils::kNumCorners) : NULL,
229 texCoords ? this->copy(texCoords, SkPatchUtils::kNumCorners) : NULL,
SkPicturePlayback.cpp 9 #include "SkPatchUtils.h"
311 const SkPoint* cubics = (const SkPoint*)reader->skip(SkPatchUtils::kNumCtrlPts *
316 colors = (const SkColor*)reader->skip(SkPatchUtils::kNumCorners * sizeof(SkColor));
320 texCoords = (const SkPoint*)reader->skip(SkPatchUtils::kNumCorners *
SkPictureRecord.cpp 11 #include "SkPatchUtils.h"
    [all...]
SkBBoxRecord.cpp 10 #include "SkPatchUtils.h"
308 bbox.set(cubics, SkPatchUtils::kNumCtrlPts);
SkRecordDraw.cpp 9 #include "SkPatchUtils.h"
390 dst.set(op.cubics, SkPatchUtils::kNumCtrlPts);
  /external/chromium_org/third_party/skia/src/pipe/
SkGPipeWrite.cpp 22 #include "SkPatchUtils.h"
    [all...]
SkGPipeRead.cpp 24 #include "SkPatchUtils.h"
414 const SkPoint* cubics = skip<SkPoint>(reader, SkPatchUtils::kNumCtrlPts);
418 colors = skip<SkColor>(reader, SkPatchUtils::kNumCorners);
422 texCoords = skip<SkPoint>(reader, SkPatchUtils::kNumCorners);
  /external/chromium_org/skia/
skia_library.target.darwin-arm.mk 312 third_party/skia/src/utils/SkPatchUtils.cpp \
skia_library.target.darwin-arm64.mk 312 third_party/skia/src/utils/SkPatchUtils.cpp \
skia_library.target.darwin-mips.mk 312 third_party/skia/src/utils/SkPatchUtils.cpp \
skia_library.target.darwin-mips64.mk 312 third_party/skia/src/utils/SkPatchUtils.cpp \
skia_library.target.darwin-x86.mk 313 third_party/skia/src/utils/SkPatchUtils.cpp \
skia_library.target.darwin-x86_64.mk 313 third_party/skia/src/utils/SkPatchUtils.cpp \
skia_library.target.linux-arm.mk 312 third_party/skia/src/utils/SkPatchUtils.cpp \
skia_library.target.linux-arm64.mk 312 third_party/skia/src/utils/SkPatchUtils.cpp \
skia_library.target.linux-mips.mk 312 third_party/skia/src/utils/SkPatchUtils.cpp \

Completed in 266 milliseconds

1 2