/third_party/flutter/skia/src/gpu/ |
D | GrStyle.h | 23 class GrStyle { 29 static const GrStyle& SimpleFill() { in SimpleFill() 30 static const GrStyle kFill(SkStrokeRec::kFill_InitStyle); in SimpleFill() 38 static const GrStyle& SimpleHairline() { in SimpleHairline() 39 static const GrStyle kHairline(SkStrokeRec::kHairline_InitStyle); in SimpleHairline() 65 static int KeySize(const GrStyle&, Apply, uint32_t flags = 0); 74 static void WriteKey(uint32_t*, const GrStyle&, Apply, SkScalar scale, uint32_t flags = 0); 76 GrStyle() : GrStyle(SkStrokeRec::kFill_InitStyle) {} in GrStyle() function 78 explicit GrStyle(SkStrokeRec::InitStyle initStyle) : fStrokeRec(initStyle) {} in GrStyle() function 80 GrStyle(const SkStrokeRec& strokeRec, sk_sp<SkPathEffect> pe) : fStrokeRec(strokeRec) { in GrStyle() function [all …]
|
D | GrPath.cpp | 11 static inline void write_style_key(uint32_t* key, const GrStyle& style) { in write_style_key() 13 GrStyle::WriteKey(key, style, GrStyle::Apply::kPathEffectAndStrokeRec, SK_Scalar1); in write_style_key() 19 int styleCnt = GrStyle::KeySize(shape.style(), GrStyle::Apply::kPathEffectAndStrokeRec); in ComputeKey() 37 bool GrPath::isEqualTo(const SkPath& path, const GrStyle& style) const { in isEqualTo() 39 int cnt0 = GrStyle::KeySize(fStyle, GrStyle::Apply::kPathEffectAndStrokeRec); in isEqualTo() 40 int cnt1 = GrStyle::KeySize(style, GrStyle::Apply::kPathEffectAndStrokeRec); in isEqualTo()
|
D | GrStyle.cpp | 11 int GrStyle::KeySize(const GrStyle &style, Apply apply, uint32_t flags) { in KeySize() 33 void GrStyle::WriteKey(uint32_t *key, const GrStyle &style, Apply apply, SkScalar scale, in WriteKey() 106 void GrStyle::initPathEffect(sk_sp<SkPathEffect> pe) { in initPathEffect() 129 bool GrStyle::applyPathEffect(SkPath* dst, SkStrokeRec* strokeRec, const SkPath& src) const { in applyPathEffect() 158 bool GrStyle::applyPathEffectToPath(SkPath *dst, SkStrokeRec *remainingStroke, in applyPathEffectToPath() 170 bool GrStyle::applyToPath(SkPath* dst, SkStrokeRec::InitStyle* style, const SkPath& src, in applyToPath()
|
D | GrPath.h | 24 GrPath(GrGpu* gpu, const SkPath& skPath, const GrStyle& style) in GrPath() 41 bool isEqualTo(const SkPath& path, const GrStyle& style) const; 50 GrStyle fStyle;
|
D | GrRenderTargetContext.h | 36 class GrStyle; variable 103 const GrStyle* style = nullptr); 256 const GrStyle& style); 302 const GrStyle&); 371 const GrStyle& style, 388 const GrStyle& style); 412 const GrStyle& style);
|
D | GrPathRendering.h | 17 class GrStyle; variable 87 virtual sk_sp<GrPath> createPath(const SkPath&, const GrStyle&) = 0;
|
/third_party/skia/src/gpu/ |
D | GrStyle.h | 24 class GrStyle { 30 static const GrStyle& SimpleFill() { in SimpleFill() 31 static const GrStyle kFill(SkStrokeRec::kFill_InitStyle); in SimpleFill() 39 static const GrStyle& SimpleHairline() { in SimpleHairline() 40 static const GrStyle kHairline(SkStrokeRec::kHairline_InitStyle); in SimpleHairline() 66 static int KeySize(const GrStyle&, Apply, uint32_t flags = 0); 75 static void WriteKey(uint32_t*, const GrStyle&, Apply, SkScalar scale, uint32_t flags = 0); 77 GrStyle() : GrStyle(SkStrokeRec::kFill_InitStyle) {} in GrStyle() function 79 explicit GrStyle(SkStrokeRec::InitStyle initStyle) : fStrokeRec(initStyle) {} in GrStyle() function 81 GrStyle(const SkStrokeRec& strokeRec, sk_sp<SkPathEffect> pe) : fStrokeRec(strokeRec) { in GrStyle() function [all …]
|
D | GrStyle.cpp | 11 int GrStyle::KeySize(const GrStyle &style, Apply apply, uint32_t flags) { in KeySize() 33 void GrStyle::WriteKey(uint32_t *key, const GrStyle &style, Apply apply, SkScalar scale, in WriteKey() 106 void GrStyle::initPathEffect(sk_sp<SkPathEffect> pe) { in initPathEffect() 129 bool GrStyle::applyPathEffect(SkPath* dst, SkStrokeRec* strokeRec, const SkPath& src) const { in applyPathEffect() 163 bool GrStyle::applyPathEffectToPath(SkPath *dst, SkStrokeRec *remainingStroke, in applyPathEffectToPath() 175 bool GrStyle::applyToPath(SkPath* dst, SkStrokeRec::InitStyle* style, const SkPath& src, in applyToPath()
|
D | GrUtil.h | 13 class GrStyle; variable 46 bool GrIsStrokeHairlineOrEquivalent(const GrStyle&, const SkMatrix&, SkScalar* outCoverage);
|
D | GrTestUtils.h | 29 class GrStyle; variable 52 void TestStyle(SkRandom*, GrStyle*);
|
/third_party/skia/src/gpu/geometry/ |
D | GrStyledShape.h | 50 : GrStyledShape(path, GrStyle::SimpleFill(), doSimplify) {} in GrStyledShape() 53 : GrStyledShape(rrect, GrStyle::SimpleFill(), doSimplify) {} in GrStyledShape() 56 : GrStyledShape(rect, GrStyle::SimpleFill(), doSimplify) {} in GrStyledShape() 60 : GrStyledShape(path, GrStyle(paint), doSimplify) {} in GrStyledShape() 64 : GrStyledShape(rrect, GrStyle(paint), doSimplify) {} in GrStyledShape() 68 : GrStyledShape(rect, GrStyle(paint), doSimplify) {} in GrStyledShape() 70 GrStyledShape(const SkPath& path, const GrStyle& style, 78 GrStyledShape(const SkRRect& rrect, const GrStyle& style, 87 const GrStyle& style, DoSimplify doSimplify = DoSimplify::kYes) 97 GrStyledShape(const SkRect& rect, const GrStyle& style, [all …]
|
D | GrStyledShape.cpp | 241 void GrStyledShape::setInheritedKey(const GrStyledShape &parent, GrStyle::Apply apply, in setInheritedKey() 264 styleKeyFlags |= GrStyle::kClosed_KeyFlag; in setInheritedKey() 267 styleKeyFlags |= GrStyle::kNoJoins_KeyFlag; in setInheritedKey() 269 int styleCnt = GrStyle::KeySize(parent.fStyle, apply, styleKeyFlags); in setInheritedKey() 286 GrStyle::WriteKey(fInheritedKey.get() + parentCnt, parent.fStyle, apply, scale, in setInheritedKey() 308 const GrStyle& style, DoSimplify doSimplify) { in MakeArc() 331 GrStyledShape::GrStyledShape(const GrStyledShape& parent, GrStyle::Apply apply, SkScalar scale) { in GrStyledShape() 337 (GrStyle::Apply::kPathEffectOnly == apply && !parent.style().pathEffect())) { in GrStyledShape() 363 tmpParent.init(*srcForPathEffect, GrStyle(strokeRec, nullptr)); in GrStyledShape() 370 if (GrStyle::Apply::kPathEffectAndStrokeRec == apply && strokeRec.needToApply()) { in GrStyledShape() [all …]
|
/third_party/flutter/skia/tests/ |
D | GpuDrawPathTest.cpp | 96 GrStyle styles[] = { 97 GrStyle::SimpleFill(), 98 GrStyle::SimpleHairline(), 99 GrStyle(strokePaint) 102 for (const GrStyle& style : styles) { 114 GrPath::ComputeKey(GrShape(path1, GrStyle::SimpleFill()), &key1, &isVolatile); 117 GrPath::ComputeKey(GrShape(path2, GrStyle::SimpleFill()), &key2, &isVolatile); 132 GrPath::ComputeKey(GrShape(path2, GrStyle::SimpleFill()), &tempKey, &isVolatile);
|
D | PathRendererCacheTests.cpp | 36 const GrStyle& style) { in draw_path() 45 shape = shape.applyStyle(GrStyle::Apply::kPathEffectAndStrokeRec, 1.0f); in draw_path() 76 GrStyle style = GrStyle(SkStrokeRec::kFill_InitStyle)) { in test_path() 128 GrStyle style(paint); 150 GrStyle style(paint);
|
/third_party/flutter/skia/src/gpu/geometry/ |
D | GrShape.h | 44 explicit GrShape(const SkPath& path) : GrShape(path, GrStyle::SimpleFill()) {} in GrShape() 46 explicit GrShape(const SkRRect& rrect) : GrShape(rrect, GrStyle::SimpleFill()) {} in GrShape() 48 explicit GrShape(const SkRect& rect) : GrShape(rect, GrStyle::SimpleFill()) {} in GrShape() 50 GrShape(const SkPath& path, const GrStyle& style) : fStyle(style) { in GrShape() 55 GrShape(const SkRRect& rrect, const GrStyle& style) : fStyle(style) { in GrShape() 65 const GrStyle& style) in GrShape() 84 GrShape(const SkRect& rect, const GrStyle& style) : fStyle(style) { in GrShape() 117 SkScalar sweepAngleDegrees, bool useCenter, const GrStyle& style); 143 const GrStyle& style() const { return fStyle; } in style() 150 GrShape applyStyle(GrStyle::Apply apply, SkScalar scale) const { in applyStyle() [all …]
|
D | GrShape.cpp | 308 void GrShape::setInheritedKey(const GrShape &parent, GrStyle::Apply apply, SkScalar scale) { in setInheritedKey() 330 styleKeyFlags |= GrStyle::kClosed_KeyFlag; in setInheritedKey() 333 styleKeyFlags |= GrStyle::kNoJoins_KeyFlag; in setInheritedKey() 335 int styleCnt = GrStyle::KeySize(parent.fStyle, apply, styleKeyFlags); in setInheritedKey() 352 GrStyle::WriteKey(fInheritedKey.get() + parentCnt, parent.fStyle, apply, scale, in setInheritedKey() 373 bool useCenter, const GrStyle& style) { in MakeArc() 415 GrShape::GrShape(const GrShape& parent, GrStyle::Apply apply, SkScalar scale) { in GrShape() 421 (GrStyle::Apply::kPathEffectOnly == apply && !parent.style().pathEffect())) { in GrShape() 446 tmpParent.init(*srcForPathEffect, GrStyle(strokeRec, nullptr)); in GrShape() 453 if (GrStyle::Apply::kPathEffectAndStrokeRec == apply && strokeRec.needToApply()) { in GrShape() [all …]
|
/third_party/skia/src/gpu/ops/ |
D | GrOvalOpFactory.h | 19 class GrStyle; variable 34 const GrStyle& style, 41 const GrStyle& style, 65 const GrStyle&,
|
D | DashOp.h | 16 class GrStyle; variable 32 const GrStyle& style, 34 bool CanDrawDashLine(const SkPoint pts[2], const GrStyle& style, const SkMatrix& viewMatrix);
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrOvalOpFactory.h | 18 class GrStyle; variable 33 const GrStyle& style, 40 const GrStyle& style, 64 const GrStyle&,
|
D | GrDashOp.h | 17 class GrStyle; variable 33 const GrStyle& style, 35 bool CanDrawDashLine(const SkPoint pts[2], const GrStyle& style, const SkMatrix& viewMatrix);
|
/third_party/skia/tests/ |
D | PathRendererCacheTests.cpp | 38 const GrStyle& style, in draw_path() 47 shape = shape.applyStyle(GrStyle::Apply::kPathEffectAndStrokeRec, 1.0f); in draw_path() 80 GrStyle style = GrStyle(SkStrokeRec::kFill_InitStyle)) { in test_path() 150 GrStyle style(paint); 173 GrStyle style(paint);
|
/third_party/skia/src/gpu/v1/ |
D | SurfaceDrawContext_v1.h | 36 class GrStyle; variable 160 const GrStyle* style = nullptr); 320 const GrStyle& style); 349 const GrStyle&); 413 const GrStyle& style, 430 const GrStyle& style); 455 const GrStyle& style);
|
D | Device.cpp | 348 GrStyle style(paint, SkPaint::kStroke_Style); in drawPoints() 415 GrStyle style(paint); in drawRect() 479 GrStyle style(paint); in drawRRect() 531 this->localToDevice(), outer, GrStyle()); in drawDRRect() 570 region, GrStyle(paint)); in drawRegion() 591 GrStyle(paint)); in drawOval() 613 startAngle, sweepAngle, useCenter, GrStyle(paint)); in drawArc() 635 origSrcPath, GrStyle(paint)); in drawPath() 1062 GrStyle::SimpleFill(), &kDrawToStencil); in android_utils_clipWithStencil()
|
/third_party/flutter/skia/src/gpu/gl/ |
D | GrGLPath.h | 15 class GrStyle; variable 36 GrGLPath(GrGLGpu*, const SkPath&, const GrStyle&);
|
D | GrGLPathRendering.h | 20 class GrStyle; variable 38 sk_sp<GrPath> createPath(const SkPath&, const GrStyle&) override;
|