/external/skia/src/gpu/ |
GrPath.cpp | 11 static inline void write_style_key(uint32_t* key, const GrStyle& style) { 12 // Pass 1 for the scale since the GPU will apply the style not GrStyle::applyToPath(). 13 GrStyle::WriteKey(key, style, GrStyle::Apply::kPathEffectAndStrokeRec, SK_Scalar1); 19 int styleCnt = GrStyle::KeySize(shape.style(), GrStyle::Apply::kPathEffectAndStrokeRec); 37 bool GrPath::isEqualTo(const SkPath& path, const GrStyle& style) const { 39 int cnt0 = GrStyle::KeySize(fStyle, GrStyle::Apply::kPathEffectAndStrokeRec); 40 int cnt1 = GrStyle::KeySize(style, GrStyle::Apply::kPathEffectAndStrokeRec) [all...] |
GrStyle.h | 23 class GrStyle { 29 static const GrStyle& SimpleFill() { 30 static const GrStyle kFill(SkStrokeRec::kFill_InitStyle); 38 static const GrStyle& SimpleHairline() { 39 static const GrStyle kHairline(SkStrokeRec::kHairline_InitStyle); 60 * Computes the key length for a GrStyle. The return will be negative if it cannot be turned 65 static int KeySize(const GrStyle&, Apply, uint32_t flags = 0); 70 * value for the combination of GrStyle, Apply and flags params. This is written so that the key 74 static void WriteKey(uint32_t*, const GrStyle&, Apply, SkScalar scale, uint32_t flags = 0); 76 GrStyle() : GrStyle(SkStrokeRec::kFill_InitStyle) { [all...] |
GrPath.h | 13 #include "GrStyle.h" 24 GrPath(GrGpu* gpu, const SkPath& skPath, const GrStyle& style) 41 bool isEqualTo(const SkPath& path, const GrStyle& style) const; 50 GrStyle fStyle;
|
GrBlurUtils.h | 18 class GrStyle; 56 const GrStyle&,
|
GrPathRendering.h | 18 class GrStyle; 87 * @param GrStyle the style applied to the path. Styles with non-dash path effects are not 91 virtual sk_sp<GrPath> createPath(const SkPath&, const GrStyle&) = 0; 97 * @param GrStyle the common style applied to each path in the range. Styles with non-dash 101 virtual sk_sp<GrPathRange> createPathRange(GrPathRange::PathGenerator*, const GrStyle&) = 0; 123 * @param GrStyle Common style that the GPU will apply to every path. Note that 131 const SkDescriptor*, const GrStyle&);
|
GrStyle.cpp | 8 #include "GrStyle.h" 11 int GrStyle::KeySize(const GrStyle &style, Apply apply, uint32_t flags) { 33 void GrStyle::WriteKey(uint32_t *key, const GrStyle &style, Apply apply, SkScalar scale, 43 // 2. WriteKey with apply == kPathEffectOnly followed by WriteKey of a GrStyle made 106 void GrStyle::initPathEffect(sk_sp<SkPathEffect> pe) { 129 bool GrStyle::applyPathEffect(SkPath* dst, SkStrokeRec* strokeRec, const SkPath& src) const { 158 bool GrStyle::applyPathEffectToPath(SkPath *dst, SkStrokeRec *remainingStroke, 170 bool GrStyle::applyToPath(SkPath* dst, SkStrokeRec::InitStyle* style, const SkPath& src [all...] |
/external/skqp/src/gpu/ |
GrPath.cpp | 11 static inline void write_style_key(uint32_t* key, const GrStyle& style) { 12 // Pass 1 for the scale since the GPU will apply the style not GrStyle::applyToPath(). 13 GrStyle::WriteKey(key, style, GrStyle::Apply::kPathEffectAndStrokeRec, SK_Scalar1); 19 int styleCnt = GrStyle::KeySize(shape.style(), GrStyle::Apply::kPathEffectAndStrokeRec); 37 bool GrPath::isEqualTo(const SkPath& path, const GrStyle& style) const { 39 int cnt0 = GrStyle::KeySize(fStyle, GrStyle::Apply::kPathEffectAndStrokeRec); 40 int cnt1 = GrStyle::KeySize(style, GrStyle::Apply::kPathEffectAndStrokeRec) [all...] |
GrPath.h | 13 #include "GrStyle.h" 24 GrPath(GrGpu* gpu, const SkPath& skPath, const GrStyle& style) 41 bool isEqualTo(const SkPath& path, const GrStyle& style) const; 50 GrStyle fStyle;
|
GrStyle.h | 23 class GrStyle { 29 static const GrStyle& SimpleFill() { 30 static const GrStyle kFill(SkStrokeRec::kFill_InitStyle); 38 static const GrStyle& SimpleHairline() { 39 static const GrStyle kHairline(SkStrokeRec::kHairline_InitStyle); 60 * Computes the key length for a GrStyle. The return will be negative if it cannot be turned 65 static int KeySize(const GrStyle&, Apply, uint32_t flags = 0); 70 * value for the combination of GrStyle, Apply and flags params. This is written so that the key 74 static void WriteKey(uint32_t*, const GrStyle&, Apply, SkScalar scale, uint32_t flags = 0); 76 GrStyle() : GrStyle(SkStrokeRec::kFill_InitStyle) { [all...] |
GrBlurUtils.h | 18 class GrStyle; 56 const GrStyle&,
|
GrPathRendering.h | 18 class GrStyle; 87 * @param GrStyle the style applied to the path. Styles with non-dash path effects are not 91 virtual sk_sp<GrPath> createPath(const SkPath&, const GrStyle&) = 0; 97 * @param GrStyle the common style applied to each path in the range. Styles with non-dash 101 virtual sk_sp<GrPathRange> createPathRange(GrPathRange::PathGenerator*, const GrStyle&) = 0; 123 * @param GrStyle Common style that the GPU will apply to every path. Note that 131 const SkDescriptor*, const GrStyle&);
|
GrShape.h | 11 #include "GrStyle.h" 19 * Represents a geometric shape (rrect or path) and the GrStyle that it should be rendered with. 43 explicit GrShape(const SkPath& path) : GrShape(path, GrStyle::SimpleFill()) {} 45 explicit GrShape(const SkRRect& rrect) : GrShape(rrect, GrStyle::SimpleFill()) {} 47 explicit GrShape(const SkRect& rect) : GrShape(rect, GrStyle::SimpleFill()) {} 49 GrShape(const SkPath& path, const GrStyle& style) : fStyle(style) { 54 GrShape(const SkRRect& rrect, const GrStyle& style) 65 const GrStyle& style) 84 GrShape(const SkRect& rect, const GrStyle& style) 143 const GrStyle& style() const { return fStyle; [all...] |
/external/skia/src/gpu/ops/ |
GrDashOp.h | 16 class GrStyle; 28 const SkPoint pts[2], AAMode, const GrStyle& style, 30 bool CanDrawDashLine(const SkPoint pts[2], const GrStyle& style, const SkMatrix& viewMatrix);
|
GrOvalOpFactory.h | 17 class GrStyle; 31 const GrStyle& style, 46 const GrStyle&,
|
/external/skqp/src/gpu/ops/ |
GrDashOp.h | 16 class GrStyle; 28 const SkPoint pts[2], AAMode, const GrStyle& style, 30 bool CanDrawDashLine(const SkPoint pts[2], const GrStyle& style, const SkMatrix& viewMatrix);
|
GrOvalOpFactory.h | 17 class GrStyle; 46 const GrStyle&,
|
/external/skia/src/gpu/gl/ |
GrGLPathRange.h | 12 #include "GrStyle.h" 29 GrGLPathRange(GrGLGpu*, PathGenerator*, const GrStyle&); 40 const GrStyle&); 57 const GrStyle fStyle;
|
GrGLPath.h | 15 class GrStyle; 36 GrGLPath(GrGLGpu*, const SkPath&, const GrStyle&);
|
GrGLPathRendering.h | 20 class GrStyle; 38 sk_sp<GrPath> createPath(const SkPath&, const GrStyle&) override; 40 const GrStyle&) override;
|
/external/skqp/src/gpu/gl/ |
GrGLPathRange.h | 12 #include "GrStyle.h" 29 GrGLPathRange(GrGLGpu*, PathGenerator*, const GrStyle&); 40 const GrStyle&); 57 const GrStyle fStyle;
|
GrGLPath.h | 15 class GrStyle; 36 GrGLPath(GrGLGpu*, const SkPath&, const GrStyle&);
|
GrGLPathRendering.h | 20 class GrStyle; 38 sk_sp<GrPath> createPath(const SkPath&, const GrStyle&) override; 40 const GrStyle&) override;
|
/external/skia/tests/ |
PathRendererCacheTests.cpp | 36 const GrStyle& style) { 45 shape = shape.applyStyle(GrStyle::Apply::kPathEffectAndStrokeRec, 1.0f); 76 GrStyle style = GrStyle(SkStrokeRec::kFill_InitStyle)) { 128 GrStyle style(paint); 149 GrStyle style(paint);
|
GpuDrawPathTest.cpp | 98 GrStyle styles[] = { 99 GrStyle::SimpleFill(), 100 GrStyle::SimpleHairline(), 101 GrStyle(strokePaint) 104 for (const GrStyle& style : styles) { 116 GrPath::ComputeKey(GrShape(path1, GrStyle::SimpleFill()), &key1, &isVolatile); 119 GrPath::ComputeKey(GrShape(path2, GrStyle::SimpleFill()), &key2, &isVolatile); 134 GrPath::ComputeKey(GrShape(path2, GrStyle::SimpleFill()), &tempKey, &isVolatile);
|
/external/skqp/tests/ |
PathRendererCacheTests.cpp | 36 const GrStyle& style) { 45 shape = shape.applyStyle(GrStyle::Apply::kPathEffectAndStrokeRec, 1.0f); 76 GrStyle style = GrStyle(SkStrokeRec::kFill_InitStyle)) { 128 GrStyle style(paint); 149 GrStyle style(paint);
|