Searched refs:cubics (Results 1 - 25 of 38) sorted by relevance

12

/external/skia/src/utils/
H A DSkPatchUtils.h87 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 DSkPatchUtils.cpp117 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 DSkDumpCanvas.cpp474 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 DSkShadowPaintFilterCanvas.h88 void onDrawPatch(const SkPoint cubics[], const SkColor colors[],
H A DSkPaintFilterCanvas.cpp158 void SkPaintFilterCanvas::onDrawPatch(const SkPoint cubics[], const SkColor colors[], argument
163 this->INHERITED::onDrawPatch(cubics, colors, texCoords, bmode, *apf.paint());
H A DSkShadowPaintFilterCanvas.cpp247 void SkShadowPaintFilterCanvas::onDrawPatch(const SkPoint cubics[], const SkColor colors[], argument
252 this->INHERITED::onDrawPatch(cubics, colors, texCoords, xmode, paint);
H A DSkNWayCanvas.cpp293 void SkNWayCanvas::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], argument
298 iter->drawPatch(cubics, colors, texCoords, bmode, paint);
H A DSkDeferredCanvas.h66 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
/external/skia/gm/
H A Dpatch.cpp23 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 DPerlinPatch.cpp15 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 DSkPaintFilterCanvas.h78 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
H A DSkDumpCanvas.h96 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
H A DSkNWayCanvas.h54 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
/external/skia/src/core/
H A DSkLiteRecorder.cpp172 void SkLiteRecorder::onDrawPatch(const SkPoint cubics[12], argument
175 fDL->drawPatch(cubics, colors, texCoords, bmode, paint);
H A DSkPictureRecord.h134 void addPatch(const SkPoint cubics[12]);
186 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
H A DSkDevice.cpp127 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 DSkRecorder.cpp334 void SkRecorder::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], argument
338 cubics ? this->copy(cubics, SkPatchUtils::kNumCtrlPts) : nullptr,
H A DSkOverdrawCanvas.cpp171 void SkOverdrawCanvas::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], argument
174 fList[0]->onDrawPatch(cubics, colors, texCoords, blendMode, fPaint);
H A DSkPictureRecord.cpp738 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 DSkRecorder.h101 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
H A DSkLiteDL.cpp437 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 DSkColorSpaceXformCanvas.cpp76 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 DSkCanvas.h1219 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 DSkPipeCanvas.h121 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texCoords[4],
/external/skia/tools/debugger/
H A DSkDebugCanvas.h219 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],

Completed in 1018 milliseconds

12