Home
last modified time | relevance | path

Searched refs:PathRenderer (Results 1 – 25 of 35) sorted by relevance

12

/external/skia/src/gpu/ganesh/
DPathRendererChain.cpp72 PathRenderer* PathRendererChain::getPathRenderer(const PathRenderer::CanDrawPathArgs& args, in getPathRenderer()
74 PathRenderer::StencilSupport* stencilSupport) { in getPathRenderer()
75 static_assert(PathRenderer::kNoSupport_StencilSupport < in getPathRenderer()
76 PathRenderer::kStencilOnly_StencilSupport); in getPathRenderer()
77 static_assert(PathRenderer::kStencilOnly_StencilSupport < in getPathRenderer()
78 PathRenderer::kNoRestriction_StencilSupport); in getPathRenderer()
79 PathRenderer::StencilSupport minStencilSupport; in getPathRenderer()
81 minStencilSupport = PathRenderer::kStencilOnly_StencilSupport; in getPathRenderer()
83 minStencilSupport = PathRenderer::kNoRestriction_StencilSupport; in getPathRenderer()
85 minStencilSupport = PathRenderer::kNoSupport_StencilSupport; in getPathRenderer()
[all …]
DPathRendererChain.h48 PathRenderer* getPathRenderer(const PathRenderer::CanDrawPathArgs&,
50 PathRenderer::StencilSupport*);
60 PathRenderer* getTessellationPathRenderer() { in getTessellationPathRenderer()
68 SkSTArray<kPreAllocCount, sk_sp<PathRenderer>> fChain;
70 PathRenderer* fTessellationPathRenderer = nullptr;
DPathRenderer.cpp24 void PathRenderer::StencilPathArgs::validate() const { in validate()
39 PathRenderer::StencilSupport PathRenderer::getStencilSupport(const GrStyledShape& shape) const { in getStencilSupport()
47 bool PathRenderer::drawPath(const DrawPathArgs& args) { in drawPath()
73 void PathRenderer::GetPathDevBounds(const SkPath& path, in GetPathDevBounds()
85 void PathRenderer::onStencilPath(const StencilPathArgs& args) { in onStencilPath()
DGrDrawingManager.h136 using PathRenderer = skgpu::v1::PathRenderer; variable
139 PathRenderer* getPathRenderer(const PathRenderer::CanDrawPathArgs&,
142 PathRenderer::StencilSupport* = nullptr);
144 PathRenderer* getSoftwarePathRenderer();
152 PathRenderer* getTessellationPathRenderer();
DStencilMaskHelper.cpp258 skgpu::v1::PathRenderer::StencilSupport stencilSupport, in get_stencil_passes()
262 skgpu::v1::PathRenderer::kNoRestriction_StencilSupport == stencilSupport; in get_stencil_passes()
291 skgpu::v1::PathRenderer* pr, in draw_path()
304 skgpu::v1::PathRenderer::DrawPathArgs args{rContext, in draw_path()
319 skgpu::v1::PathRenderer* pr, in stencil_path()
324 skgpu::v1::PathRenderer::StencilPathArgs args; in stencil_path()
377 auto passes = get_stencil_passes(op, PathRenderer::kNoRestriction_StencilSupport, in drawRect()
415 PathRenderer::StencilSupport stencilSupport; in drawPath()
427 PathRenderer::CanDrawPathArgs canDrawArgs; in drawPath()
449 if (stencilSupport == PathRenderer::kNoRestriction_StencilSupport) { in drawPath()
DPathRenderer.h36 class PathRenderer : public SkRefCnt {
38 PathRenderer() = default;
DGrDrawingManager.cpp1009 skgpu::v1::PathRenderer* GrDrawingManager::getPathRenderer( in getPathRenderer()
1010 const PathRenderer::CanDrawPathArgs& args, in getPathRenderer()
1013 PathRenderer::StencilSupport* stencilSupport) { in getPathRenderer()
1023 if (PathRenderer::CanDrawPath::kNo != swPR->canDrawPath(args)) { in getPathRenderer()
1037 skgpu::v1::PathRenderer* GrDrawingManager::getSoftwarePathRenderer() { in getSoftwarePathRenderer()
1053 skgpu::v1::PathRenderer* GrDrawingManager::getTessellationPathRenderer() { in getTessellationPathRenderer()
DSurfaceDrawContext.cpp844 PathRenderer::CanDrawPathArgs canDrawArgs; in stencilPath()
862 PathRenderer::StencilPathArgs args; in stencilPath()
1597 PathRenderer::CanDrawPathArgs canDrawArgs; in drawAndStencilPath()
1618 PathRenderer::DrawPathArgs args{this->drawingManager()->getContext(), in drawAndStencilPath()
1797 PathRenderer::CanDrawPathArgs canDrawArgs; in drawShapeUsingPathRenderer()
1812 PathRenderer* pr = nullptr; in drawShapeUsingPathRenderer()
1816 PathRenderer* tess = this->drawingManager()->getTessellationPathRenderer(); in drawShapeUsingPathRenderer()
1817 if (tess && tess->canDrawPath(canDrawArgs) == PathRenderer::CanDrawPath::kYes) { in drawShapeUsingPathRenderer()
1882 PathRenderer::DrawPathArgs args{this->drawingManager()->getContext(), in drawShapeUsingPathRenderer()
DBUILD.bazel238 "PathRenderer.cpp",
239 "PathRenderer.h",
/external/skia/tests/
DPathRendererCacheTests.cpp59 skgpu::v1::PathRenderer* pr, in draw_path()
74 skgpu::v1::PathRenderer::DrawPathArgs args{rContext, in draw_path()
99 std::function<skgpu::v1::PathRenderer*(GrRecordingContext*)> makePathRenderer, in test_path()
117 sk_sp<skgpu::v1::PathRenderer> pathRenderer(makePathRenderer(dContext.get())); in test_path()
/external/skia/src/gpu/ganesh/ops/
DSmallPathRenderer.h19 class SmallPathRenderer final : public PathRenderer {
27 return PathRenderer::kNoSupport_StencilSupport; in onGetStencilSupport()
DSoftwarePathRenderer.h22 class SoftwarePathRenderer final : public PathRenderer {
68 return PathRenderer::kNoSupport_StencilSupport; in onGetStencilSupport()
DAAHairLinePathRenderer.h15 class AAHairLinePathRenderer final : public PathRenderer {
DAAConvexPathRenderer.h15 class AAConvexPathRenderer final : public PathRenderer {
DAALinearizingConvexPathRenderer.h15 class AALinearizingConvexPathRenderer final : public PathRenderer {
DTessellationPathRenderer.h22 class TessellationPathRenderer final : public PathRenderer {
DTriangulatingPathRenderer.h21 class TriangulatingPathRenderer final : public PathRenderer {
DDashLinePathRenderer.h17 class DashLinePathRenderer final : public skgpu::v1::PathRenderer {
DDefaultPathRenderer.h19 class DefaultPathRenderer final : public PathRenderer {
DDashLinePathRenderer.cpp20 skgpu::v1::PathRenderer::CanDrawPath DashLinePathRenderer::onCanDrawPath( in onCanDrawPath()
DAtlasPathRenderer.h27 class AtlasPathRenderer final : public PathRenderer, public GrOnFlushCallbackObject {
DTessellationPathRenderer.cpp85 PathRenderer::StencilSupport TessellationPathRenderer::onGetStencilSupport( in onGetStencilSupport()
95 PathRenderer::CanDrawPath TessellationPathRenderer::onCanDrawPath( in onCanDrawPath()
DDefaultPathRenderer.cpp764 PathRenderer::StencilSupport
773 PathRenderer::CanDrawPath DefaultPathRenderer::onCanDrawPath(const CanDrawPathArgs& args) const { in onCanDrawPath()
DSoftwarePathRenderer.cpp113 PathRenderer::CanDrawPath SoftwarePathRenderer::onCanDrawPath(const CanDrawPathArgs& args) const { in onCanDrawPath()
/external/skia/tools/viewer/
DThinAASlide.cpp69 class PathRenderer : public ShapeRenderer { class
80 return sk_sp<ShapeRenderer>(new PathRenderer(depth, hairline)); in MakeCurve()
102 return sk_sp<ShapeRenderer>(new PathRenderer(fDepth, true)); in toHairline()
147 PathRenderer(SkScalar depth, bool hairline) in PathRenderer() function in skiagm::PathRenderer
255 fShapes.push_back(PathRenderer::MakeLine()); in load()
256 fShapes.push_back(PathRenderer::MakeLines(4.f)); // 2 segments in load()
257 fShapes.push_back(PathRenderer::MakeCurve(2.f)); // Shallow curve in load()
258 fShapes.push_back(PathRenderer::MakeCurve(8.f)); // Deep curve in load()

12