/external/skia/src/utils/ |
H A D | SkPatchUtils.h | 87 static SkISize GetLevelOfDetail(const SkPoint cubics[12], const SkMatrix* matrix); 90 * Get the points corresponding to the top cubic of cubics. 92 static void getTopCubic(const SkPoint cubics[12], SkPoint points[4]); 95 * Get the points corresponding to the bottom cubic of cubics. 97 static void getBottomCubic(const SkPoint cubics[12], SkPoint points[4]); 100 * Get the points corresponding to the left cubic of cubics. 102 static void getLeftCubic(const SkPoint cubics[12], SkPoint points[4]); 105 * Get the points corresponding to the right cubic of cubics. 107 static void getRightCubic(const SkPoint cubics[12], SkPoint points[4]); 113 * cubics refer [all...] |
H A D | SkPatchUtils.cpp | 117 SkISize SkPatchUtils::GetLevelOfDetail(const SkPoint cubics[12], const SkMatrix* matrix) { argument 121 SkPatchUtils::getTopCubic(cubics, pts); 125 SkPatchUtils::getBottomCubic(cubics, pts); 129 SkPatchUtils::getLeftCubic(cubics, pts); 133 SkPatchUtils::getRightCubic(cubics, pts); 144 void SkPatchUtils::getTopCubic(const SkPoint cubics[12], SkPoint points[4]) { argument 145 points[0] = cubics[kTopP0_CubicCtrlPts]; 146 points[1] = cubics[kTopP1_CubicCtrlPts]; 147 points[2] = cubics[kTopP2_CubicCtrlPts]; 148 points[3] = cubics[kTopP3_CubicCtrlPt 151 getBottomCubic(const SkPoint cubics[12], SkPoint points[4]) argument 158 getLeftCubic(const SkPoint cubics[12], SkPoint points[4]) argument 165 getRightCubic(const SkPoint cubics[12], SkPoint points[4]) argument 172 getVertexData(SkPatchUtils::VertexData* data, const SkPoint cubics[12], const SkColor colors[4], const SkPoint texCoords[4], int lodX, int lodY) argument 315 MakeVertices(const SkPoint cubics[12], const SkColor srcColors[4], const SkPoint srcTexCoords[4], int lodX, int lodY) argument [all...] |
H A D | SkDumpCanvas.cpp | 474 void SkDumpCanvas::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], argument 481 cubics[SkPatchUtils::kTopP0_CubicCtrlPts].fX, 482 cubics[SkPatchUtils::kTopP0_CubicCtrlPts].fY, 483 cubics[SkPatchUtils::kTopP3_CubicCtrlPts].fX, 484 cubics[SkPatchUtils::kTopP3_CubicCtrlPts].fY, 485 cubics[SkPatchUtils::kBottomP3_CubicCtrlPts].fX, 486 cubics[SkPatchUtils::kBottomP3_CubicCtrlPts].fY, 487 cubics[SkPatchUtils::kBottomP0_CubicCtrlPts].fX, 488 cubics[SkPatchUtils::kBottomP0_CubicCtrlPts].fY,
|
H A D | SkShadowPaintFilterCanvas.h | 88 void onDrawPatch(const SkPoint cubics[], const SkColor colors[],
|
H A D | SkPaintFilterCanvas.cpp | 158 void SkPaintFilterCanvas::onDrawPatch(const SkPoint cubics[], const SkColor colors[], argument 163 this->INHERITED::onDrawPatch(cubics, colors, texCoords, bmode, *apf.paint());
|
H A D | SkShadowPaintFilterCanvas.cpp | 247 void SkShadowPaintFilterCanvas::onDrawPatch(const SkPoint cubics[], const SkColor colors[], argument 252 this->INHERITED::onDrawPatch(cubics, colors, texCoords, xmode, paint);
|
H A D | SkNWayCanvas.cpp | 293 void SkNWayCanvas::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], argument 298 iter->drawPatch(cubics, colors, texCoords, bmode, paint);
|
H A D | SkDeferredCanvas.h | 66 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
|
/external/skia/gm/ |
H A D | patch.cpp | 23 static void draw_control_points(SkCanvas* canvas, const SkPoint cubics[12]) { argument 27 SkPatchUtils::getBottomCubic(cubics, bottom); 29 SkPatchUtils::getTopCubic(cubics, top); 31 SkPatchUtils::getLeftCubic(cubics, left); 33 SkPatchUtils::getRightCubic(cubics, right); 70 const SkPoint cubics[SkPatchUtils::kNumCtrlPts] = { local 103 canvas->drawPatch(cubics, nullptr, nullptr, modes[y], paint); 106 canvas->drawPatch(cubics, colors, nullptr, modes[y], paint); 110 canvas->drawPatch(cubics, nullptr, texCoords, modes[y], paint); 115 canvas->drawPatch(cubics, color [all...] |
/external/skia/samplecode/ |
H A D | PerlinPatch.cpp | 15 static void draw_control_points(SkCanvas* canvas, const SkPoint cubics[12]) { argument 19 SkPatchUtils::getBottomCubic(cubics, bottom); 21 SkPatchUtils::getTopCubic(cubics, top); 23 SkPatchUtils::getLeftCubic(cubics, left); 25 SkPatchUtils::getRightCubic(cubics, right);
|
/external/skia/include/utils/ |
H A D | SkPaintFilterCanvas.h | 78 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
|
H A D | SkDumpCanvas.h | 96 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
|
H A D | SkNWayCanvas.h | 54 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
|
/external/skia/src/core/ |
H A D | SkLiteRecorder.cpp | 172 void SkLiteRecorder::onDrawPatch(const SkPoint cubics[12], argument 175 fDL->drawPatch(cubics, colors, texCoords, bmode, paint);
|
H A D | SkPictureRecord.h | 134 void addPatch(const SkPoint cubics[12]); 186 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
|
H A D | SkDevice.cpp | 127 void SkBaseDevice::drawPatch(const SkPoint cubics[12], const SkColor colors[4], argument 131 SkISize lod = SkPatchUtils::GetLevelOfDetail(cubics, &this->ctm()); 132 auto vertices = SkPatchUtils::MakeVertices(cubics, colors, texCoords, lod.width(), lod.height());
|
H A D | SkRecorder.cpp | 334 void SkRecorder::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], argument 338 cubics ? this->copy(cubics, SkPatchUtils::kNumCtrlPts) : nullptr,
|
H A D | SkOverdrawCanvas.cpp | 171 void SkOverdrawCanvas::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], argument 174 fList[0]->onDrawPatch(cubics, colors, texCoords, blendMode, fPaint);
|
H A D | SkPictureRecord.cpp | 738 void SkPictureRecord::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], argument 759 this->addPatch(cubics); 872 void SkPictureRecord::addPatch(const SkPoint cubics[12]) { argument 873 fWriter.write(cubics, SkPatchUtils::kNumCtrlPts * sizeof(SkPoint));
|
H A D | SkRecorder.h | 101 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
|
H A D | SkLiteDL.cpp | 437 DrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texs[4], argument 441 copy_v(this->cubics, cubics, 12); 445 SkPoint cubics[12]; member in struct:__anon16967::final 453 c->drawPatch(cubics, has_colors ? colors : nullptr, has_texs ? texs : nullptr,
|
H A D | SkColorSpaceXformCanvas.cpp | 76 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texs[4], 84 fTarget->drawPatch(cubics, colors, texs, mode, fXformer->apply(paint));
|
/external/skia/include/core/ |
H A D | SkCanvas.h | 1219 void drawPatch(const SkPoint cubics[12], const SkColor colors[4], 1221 void drawPatch(const SkPoint cubics[12], const SkColor colors[4], argument 1223 this->drawPatch(cubics, colors, texCoords, SkBlendMode::kModulate, paint); 1445 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
|
/external/skia/src/pipe/ |
H A D | SkPipeCanvas.h | 121 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texCoords[4],
|
/external/skia/tools/debugger/ |
H A D | SkDebugCanvas.h | 219 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
|