/external/skia/src/gpu/ganesh/ |
D | PathRendererChain.cpp | 72 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 …]
|
D | PathRendererChain.h | 48 PathRenderer* getPathRenderer(const PathRenderer::CanDrawPathArgs&, 50 PathRenderer::StencilSupport*); 60 PathRenderer* getTessellationPathRenderer() { in getTessellationPathRenderer() 68 SkSTArray<kPreAllocCount, sk_sp<PathRenderer>> fChain; 70 PathRenderer* fTessellationPathRenderer = nullptr;
|
D | PathRenderer.cpp | 24 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()
|
D | GrDrawingManager.h | 136 using PathRenderer = skgpu::v1::PathRenderer; variable 139 PathRenderer* getPathRenderer(const PathRenderer::CanDrawPathArgs&, 142 PathRenderer::StencilSupport* = nullptr); 144 PathRenderer* getSoftwarePathRenderer(); 152 PathRenderer* getTessellationPathRenderer();
|
D | StencilMaskHelper.cpp | 258 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()
|
D | PathRenderer.h | 36 class PathRenderer : public SkRefCnt { 38 PathRenderer() = default;
|
D | GrDrawingManager.cpp | 1009 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()
|
D | SurfaceDrawContext.cpp | 844 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()
|
D | BUILD.bazel | 238 "PathRenderer.cpp", 239 "PathRenderer.h",
|
/external/skia/tests/ |
D | PathRendererCacheTests.cpp | 59 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/ |
D | SmallPathRenderer.h | 19 class SmallPathRenderer final : public PathRenderer { 27 return PathRenderer::kNoSupport_StencilSupport; in onGetStencilSupport()
|
D | SoftwarePathRenderer.h | 22 class SoftwarePathRenderer final : public PathRenderer { 68 return PathRenderer::kNoSupport_StencilSupport; in onGetStencilSupport()
|
D | AAHairLinePathRenderer.h | 15 class AAHairLinePathRenderer final : public PathRenderer {
|
D | AAConvexPathRenderer.h | 15 class AAConvexPathRenderer final : public PathRenderer {
|
D | AALinearizingConvexPathRenderer.h | 15 class AALinearizingConvexPathRenderer final : public PathRenderer {
|
D | TessellationPathRenderer.h | 22 class TessellationPathRenderer final : public PathRenderer {
|
D | TriangulatingPathRenderer.h | 21 class TriangulatingPathRenderer final : public PathRenderer {
|
D | DashLinePathRenderer.h | 17 class DashLinePathRenderer final : public skgpu::v1::PathRenderer {
|
D | DefaultPathRenderer.h | 19 class DefaultPathRenderer final : public PathRenderer {
|
D | DashLinePathRenderer.cpp | 20 skgpu::v1::PathRenderer::CanDrawPath DashLinePathRenderer::onCanDrawPath( in onCanDrawPath()
|
D | AtlasPathRenderer.h | 27 class AtlasPathRenderer final : public PathRenderer, public GrOnFlushCallbackObject {
|
D | TessellationPathRenderer.cpp | 85 PathRenderer::StencilSupport TessellationPathRenderer::onGetStencilSupport( in onGetStencilSupport() 95 PathRenderer::CanDrawPath TessellationPathRenderer::onCanDrawPath( in onCanDrawPath()
|
D | DefaultPathRenderer.cpp | 764 PathRenderer::StencilSupport 773 PathRenderer::CanDrawPath DefaultPathRenderer::onCanDrawPath(const CanDrawPathArgs& args) const { in onCanDrawPath()
|
D | SoftwarePathRenderer.cpp | 113 PathRenderer::CanDrawPath SoftwarePathRenderer::onCanDrawPath(const CanDrawPathArgs& args) const { in onCanDrawPath()
|
/external/skia/tools/viewer/ |
D | ThinAASlide.cpp | 69 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()
|