Home
last modified time | relevance | path

Searched refs:edgeAA (Results 1 – 13 of 13) sorted by relevance

/external/skia/gm/
Dcompositor_quads.cpp212 const bool edgeAA[4], int tileID, int quadID) = 0;
224 bool edgeAA[4]; in drawTiles() local
233 edgeAA[0] = i == 0; // Top in drawTiles()
234 edgeAA[1] = j == kColCount - 1; // Right in drawTiles()
235 edgeAA[2] = i == kRowCount - 1; // Bottom in drawTiles()
236 edgeAA[3] = j == 0; // Left in drawTiles()
241 drawCount += this->clipTile(canvas, tileID, tile, nullptr, edgeAA, lines, 3, in drawTiles()
251 SkCanvas::QuadAAFlags maskToFlags(const bool edgeAA[4]) const { in maskToFlags()
252 unsigned flags = (edgeAA[0] * SkCanvas::kTop_QuadAAFlag) | in maskToFlags()
253 (edgeAA[1] * SkCanvas::kRight_QuadAAFlag) | in maskToFlags()
[all …]
/external/skqp/src/gpu/ops/
DGrFillRectOp.cpp62 GrQuadAAFlags edgeAA, in Make() argument
69 GrResolveAATypeForQuad(aaType, edgeAA, deviceQuad, deviceQuadType, &aaType, &edgeAA); in Make()
70 return Helper::FactoryHelper<FillRectOp>(context, std::move(paint), aaType, edgeAA, in Make()
276 GrQuadType localQuadType, const SkPMColor4f& color, GrQuadAAFlags edgeAA, in addQuad() argument
302 fDeviceQuads.push_back(deviceQuad, fDeviceQuads.quadType(), { color, edgeAA }); in addQuad()
337 GrQuadAAFlags edgeAA, in MakePerEdge() argument
341 return FillRectOp::Make(context, std::move(paint), aaType, edgeAA, stencilSettings, in MakePerEdge()
349 GrQuadAAFlags edgeAA, in MakePerEdgeWithLocalMatrix() argument
355 return FillRectOp::Make(context, std::move(paint), aaType, edgeAA, stencilSettings, in MakePerEdgeWithLocalMatrix()
363 GrQuadAAFlags edgeAA, in MakePerEdgeWithLocalRect() argument
[all …]
DGrFillRectOp.h32 GrQuadAAFlags edgeAA,
40 GrQuadAAFlags edgeAA,
49 GrQuadAAFlags edgeAA,
/external/skia/src/gpu/
DGrSurfaceDrawContext.h205 void fillRectWithEdgeAA(const GrClip* clip, GrPaint&& paint, GrAA aa, GrQuadAAFlags edgeAA,
208 if (edgeAA == GrQuadAAFlags::kAll) {
214 DrawQuad quad{GrQuad::MakeFromRect(rect, viewMatrix), GrQuad(localRect), edgeAA};
230 void fillQuadWithEdgeAA(const GrClip* clip, GrPaint&& paint, GrAA aa, GrQuadAAFlags edgeAA, in fillQuadWithEdgeAA() argument
235 GrQuad::MakeFromSkQuad(localPoints, SkMatrix::I()), edgeAA}; in fillQuadWithEdgeAA()
289 GrQuadAAFlags edgeAA, in drawTextureQuad() argument
294 GrQuad::MakeFromSkQuad(srcQuad, SkMatrix::I()), edgeAA}; in drawTextureQuad()
DGrSurfaceDrawContext.cpp662 GrQuadAAFlags edgeAA, in drawTexture() argument
692 DrawQuad quad{GrQuad::MakeFromRect(dstRect, viewMatrix), GrQuad(srcRect), edgeAA}; in drawTexture()
1698 GrQuadAAFlags edgeAA = (aa == GrAA::kYes) ? GrQuadAAFlags::kAll : GrQuadAAFlags::kNone; in drawStrokedLine() local
1699 this->fillQuadWithEdgeAA(clip, std::move(paint), aa, edgeAA, viewMatrix, corners, nullptr); in drawStrokedLine()
/external/skqp/include/core/
DSkCanvasVirtualEnforcer.h58 void onDrawEdgeAARect(const SkRect& rect, SkCanvas::QuadAAFlags edgeAA, SkColor color, in onDrawEdgeAARect() argument
63 void onDrawEdgeAARect(const SkRect& rect, SkCanvas::QuadAAFlags edgeAA, SkColor color,
DSkCanvas.h1828 void experimental_DrawEdgeAARectV1(const SkRect& r, QuadAAFlags edgeAA, SkColor color,
2364 virtual void onDrawEdgeAARect(const SkRect& rect, QuadAAFlags edgeAA, SkColor color,
/external/skia/samplecode/
DSampleDegenerateQuads.cpp59 static SkScalar get_area_coverage(const bool edgeAA[4], const SkPoint corners[4], in get_area_coverage()
92 if (!edgeAA[i]) { in get_area_coverage()
102 if (edgeAA[i] && edgeD[i] < 0.5f) { in get_area_coverage()
112 static SkScalar get_edge_dist_coverage(const bool edgeAA[4], const SkPoint corners[4], in get_edge_dist_coverage()
138 if (!edgeAA[i] && d >= -1e-4f) { in get_edge_dist_coverage()
/external/skqp/src/gpu/
DSkGpuDevice.h75 void drawEdgeAARect(const SkRect& r, SkCanvas::QuadAAFlags edgeAA, SkColor color,
DGrRenderTargetContext.h133 void fillRectWithEdgeAA(const GrClip& clip, GrPaint&& paint, GrQuadAAFlags edgeAA,
DGrRenderTargetContext.cpp913 GrQuadAAFlags edgeAA, const SkMatrix& viewMatrix, in fillRectWithEdgeAA() argument
925 (edgeAA == GrQuadAAFlags::kNone || edgeAA == GrQuadAAFlags::kAll)) { in fillRectWithEdgeAA()
928 this->drawFilledRect(clip, std::move(paint), GrAA(edgeAA == GrQuadAAFlags::kAll), in fillRectWithEdgeAA()
939 this->addDrawOp(clip, GrFillRectOp::MakePerEdge(fContext, std::move(paint), aaType, edgeAA, in fillRectWithEdgeAA()
/external/skqp/src/core/
DSkCanvas.cpp1879 void SkCanvas::experimental_DrawEdgeAARectV1(const SkRect& r, QuadAAFlags edgeAA, SkColor color, in experimental_DrawEdgeAARectV1() argument
1884 this->onDrawEdgeAARect(r.makeSorted(), edgeAA, color, mode); in experimental_DrawEdgeAARectV1()
2097 void SkCanvas::onDrawEdgeAARect(const SkRect& r, QuadAAFlags edgeAA, SkColor color, in onDrawEdgeAARect() argument
2105 iter.fDevice->drawEdgeAARect(r, edgeAA, color, mode); in onDrawEdgeAARect()
/external/skia/src/core/
DSkCanvas.cpp2392 void SkCanvas::onDrawEdgeAAQuad(const SkRect& r, const SkPoint clip[4], QuadAAFlags edgeAA, in onDrawEdgeAAQuad() argument
2403 this->topDevice()->drawEdgeAAQuad(r, clip, edgeAA, color, mode); in onDrawEdgeAAQuad()