Home
last modified time | relevance | path

Searched refs:GrPathRenderer (Results 1 – 25 of 71) sorted by relevance

123

/external/skqp/src/gpu/
DGrPathRendererChain.cpp31 sk_sp<GrPathRenderer> pr( in GrPathRendererChain()
69 GrPathRenderer* GrPathRendererChain::getPathRenderer( in getPathRenderer()
70 const GrPathRenderer::CanDrawPathArgs& args, in getPathRenderer()
72 GrPathRenderer::StencilSupport* stencilSupport) { in getPathRenderer()
73 GR_STATIC_ASSERT(GrPathRenderer::kNoSupport_StencilSupport < in getPathRenderer()
74 GrPathRenderer::kStencilOnly_StencilSupport); in getPathRenderer()
75 GR_STATIC_ASSERT(GrPathRenderer::kStencilOnly_StencilSupport < in getPathRenderer()
76 GrPathRenderer::kNoRestriction_StencilSupport); in getPathRenderer()
77 GrPathRenderer::StencilSupport minStencilSupport; in getPathRenderer()
79 minStencilSupport = GrPathRenderer::kStencilOnly_StencilSupport; in getPathRenderer()
[all …]
DGrPathRenderer.cpp18 void GrPathRenderer::StencilPathArgs::validate() const { in validate()
34 GrPathRenderer::GrPathRenderer() {} in GrPathRenderer() function in GrPathRenderer
36 GrPathRenderer::StencilSupport GrPathRenderer::getStencilSupport(const GrShape& shape) const { in getStencilSupport()
44 bool GrPathRenderer::drawPath(const DrawPathArgs& args) { in drawPath()
72 bool GrPathRenderer::IsStrokeHairlineOrEquivalent(const GrStyle& style, const SkMatrix& matrix, in IsStrokeHairlineOrEquivalent()
89 void GrPathRenderer::GetPathDevBounds(const SkPath& path, in GetPathDevBounds()
101 void GrPathRenderer::onStencilPath(const StencilPathArgs& args) { in onStencilPath()
DGrPathRendererChain.h47 GrPathRenderer* getPathRenderer(const GrPathRenderer::CanDrawPathArgs& args,
49 GrPathRenderer::StencilSupport* stencilSupport);
61 SkSTArray<kPreAllocCount, sk_sp<GrPathRenderer>> fChain;
DGrSoftwarePathRenderer.h20 class GrSoftwarePathRenderer : public GrPathRenderer {
64 return GrPathRenderer::kNoSupport_StencilSupport; in onGetStencilSupport()
75 typedef GrPathRenderer INHERITED;
DGrDrawingManager.h60 GrPathRenderer* getPathRenderer(const GrPathRenderer::CanDrawPathArgs& args,
63 GrPathRenderer::StencilSupport* stencilSupport = nullptr);
65 GrPathRenderer* getSoftwarePathRenderer();
DGrClipStackClip.h14 class GrPathRenderer; variable
46 GrPathRenderer** prOut,
/external/skia/src/gpu/
DGrPathRendererChain.cpp70 GrPathRenderer* GrPathRendererChain::getPathRenderer( in getPathRenderer()
71 const GrPathRenderer::CanDrawPathArgs& args, in getPathRenderer()
73 GrPathRenderer::StencilSupport* stencilSupport) { in getPathRenderer()
74 static_assert(GrPathRenderer::kNoSupport_StencilSupport < in getPathRenderer()
75 GrPathRenderer::kStencilOnly_StencilSupport); in getPathRenderer()
76 static_assert(GrPathRenderer::kStencilOnly_StencilSupport < in getPathRenderer()
77 GrPathRenderer::kNoRestriction_StencilSupport); in getPathRenderer()
78 GrPathRenderer::StencilSupport minStencilSupport; in getPathRenderer()
80 minStencilSupport = GrPathRenderer::kStencilOnly_StencilSupport; in getPathRenderer()
82 minStencilSupport = GrPathRenderer::kNoRestriction_StencilSupport; in getPathRenderer()
[all …]
DGrPathRendererChain.h46 GrPathRenderer* getPathRenderer(const GrPathRenderer::CanDrawPathArgs& args,
48 GrPathRenderer::StencilSupport* stencilSupport);
58 GrPathRenderer* getTessellationPathRenderer() { in getTessellationPathRenderer()
66 SkSTArray<kPreAllocCount, sk_sp<GrPathRenderer>> fChain;
68 GrPathRenderer* fTessellationPathRenderer = nullptr;
DGrPathRenderer.cpp19 void GrPathRenderer::StencilPathArgs::validate() const { in validate()
34 GrPathRenderer::GrPathRenderer() {} in GrPathRenderer() function in GrPathRenderer
36 GrPathRenderer::StencilSupport GrPathRenderer::getStencilSupport(const GrStyledShape& shape) const { in getStencilSupport()
44 bool GrPathRenderer::drawPath(const DrawPathArgs& args) { in drawPath()
70 bool GrPathRenderer::IsStrokeHairlineOrEquivalent(const GrStyle& style, const SkMatrix& matrix, in IsStrokeHairlineOrEquivalent()
86 void GrPathRenderer::GetPathDevBounds(const SkPath& path, in GetPathDevBounds()
98 void GrPathRenderer::onStencilPath(const StencilPathArgs& args) { in onStencilPath()
DGrStencilMaskHelper.cpp255 SkRegion::Op op, GrPathRenderer::StencilSupport stencilSupport, bool fillInverted, in get_stencil_passes()
258 GrPathRenderer::kNoRestriction_StencilSupport == stencilSupport; in get_stencil_passes()
285 GrPathRenderer* pr, const GrHardClip& clip, const SkIRect& bounds, in draw_path()
294 GrPathRenderer::DrawPathArgs args{context, in draw_path()
309 GrPathRenderer* pr, const GrFixedClip& clip, const SkMatrix& matrix, in stencil_path()
311 GrPathRenderer::StencilPathArgs args; in stencil_path()
363 auto passes = get_stencil_passes(op, GrPathRenderer::kNoRestriction_StencilSupport, false, in drawRect()
401 GrPathRenderer::StencilSupport stencilSupport; in drawPath()
413 GrPathRenderer::CanDrawPathArgs canDrawArgs; in drawPath()
424 GrPathRenderer* pr = fContext->priv().drawingManager()->getPathRenderer( in drawPath()
[all …]
DGrDrawingManager.h105 GrPathRenderer* getPathRenderer(const GrPathRenderer::CanDrawPathArgs& args,
108 GrPathRenderer::StencilSupport* stencilSupport = nullptr);
110 GrPathRenderer* getSoftwarePathRenderer();
118 GrPathRenderer* getTessellationPathRenderer();
DGrSoftwarePathRenderer.h20 class GrSoftwarePathRenderer : public GrPathRenderer {
66 return GrPathRenderer::kNoSupport_StencilSupport; in onGetStencilSupport()
77 using INHERITED = GrPathRenderer;
/external/skqp/src/gpu/ops/
DGrStencilAndCoverPathRenderer.h21 class GrStencilAndCoverPathRenderer : public GrPathRenderer {
24 static GrPathRenderer* Create(GrResourceProvider*, const GrCaps&);
29 return GrPathRenderer::kStencilOnly_StencilSupport; in onGetStencilSupport()
42 typedef GrPathRenderer INHERITED;
DGrTessellatingPathRenderer.h17 class SK_API GrTessellatingPathRenderer : public GrPathRenderer {
25 return GrPathRenderer::kNoSupport_StencilSupport; in onGetStencilSupport()
30 typedef GrPathRenderer INHERITED;
DGrSmallPathRenderer.h25 class GrSmallPathRenderer : public GrPathRenderer, public GrOnFlushCallbackObject {
68 return GrPathRenderer::kNoSupport_StencilSupport; in onGetStencilSupport()
81 typedef GrPathRenderer INHERITED;
DGrAAHairLinePathRenderer.h13 class GrAAHairLinePathRenderer : public GrPathRenderer {
26 typedef GrPathRenderer INHERITED;
DGrDashLinePathRenderer.h15 class GrDashLinePathRenderer : public GrPathRenderer {
26 typedef GrPathRenderer INHERITED;
DGrDefaultPathRenderer.h19 class SK_API GrDefaultPathRenderer : public GrPathRenderer {
41 typedef GrPathRenderer INHERITED;
/external/skia/src/gpu/ops/
DGrTriangulatingPathRenderer.h17 class GrTriangulatingPathRenderer : public GrPathRenderer {
30 return GrPathRenderer::kNoSupport_StencilSupport; in onGetStencilSupport()
36 using INHERITED = GrPathRenderer;
DGrSmallPathRenderer.h18 class GrSmallPathRenderer : public GrPathRenderer {
36 return GrPathRenderer::kNoSupport_StencilSupport; in onGetStencilSupport()
43 using INHERITED = GrPathRenderer;
DGrAAHairLinePathRenderer.h13 class GrAAHairLinePathRenderer : public GrPathRenderer {
28 using INHERITED = GrPathRenderer;
DGrDashLinePathRenderer.h15 class GrDashLinePathRenderer : public GrPathRenderer {
28 using INHERITED = GrPathRenderer;
DGrDefaultPathRenderer.h19 class GrDefaultPathRenderer : public GrPathRenderer {
43 using INHERITED = GrPathRenderer;
/external/skqp/tests/
DPathRendererCacheTests.cpp34 GrPathRenderer* pr, in draw_path()
48 GrPathRenderer::DrawPathArgs args{ctx, in draw_path()
73 std::function<GrPathRenderer*(GrContext*)> createPathRenderer, in test_path()
92 sk_sp<GrPathRenderer> pathRenderer(createPathRenderer(ctx.get())); in test_path()
/external/skia/tests/
DPathRendererCacheTests.cpp36 GrPathRenderer* pr, in draw_path()
51 GrPathRenderer::DrawPathArgs args{rContext, in draw_path()
76 std::function<GrPathRenderer*(GrRecordingContext*)> createPathRenderer, in test_path()
93 sk_sp<GrPathRenderer> pathRenderer(createPathRenderer(dContext.get())); in test_path()

123