Searched defs:GrStyle (Results 1 - 4 of 4) sorted by relevance

/external/skia/tests/
H A DPathRendererCacheTests.cpp36 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);
71 test_path(skiatest::Reporter* reporter, std::function<SkPath(void)> createPath, std::function<GrPathRenderer*(GrContext*)> createPathRenderer, int expected, GrAAType aaType = GrAAType::kNone, GrStyle style = GrStyle(SkStrokeRec::kFill_InitStyle)) argument
/external/skqp/tests/
H A DPathRendererCacheTests.cpp36 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);
71 test_path(skiatest::Reporter* reporter, std::function<SkPath(void)> createPath, std::function<GrPathRenderer*(GrContext*)> createPathRenderer, int expected, GrAAType aaType = GrAAType::kNone, GrStyle style = GrStyle(SkStrokeRec::kFill_InitStyle)) argument
/external/skia/src/gpu/
H A DGrStyle.h23 class GrStyle { class
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() function in class:GrStyle
78 explicit GrStyle(SkStrokeRec::InitStyle initStyle) : fStrokeRec(initStyle) {} function in class:GrStyle
80 GrStyle(const SkStrokeRec& strokeRec, sk_sp<SkPathEffect> pe) : fStrokeRec(strokeRec) { function in class:GrStyle
86 explicit GrStyle(const SkPaint& paint) : fStrokeRec(paint) { function in class:GrStyle
90 explicit GrStyle(const SkPaint& paint, SkPaint::Style overrideStyle) function in class:GrStyle
[all...]
/external/skqp/src/gpu/
H A DGrStyle.h23 class GrStyle { class
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() function in class:GrStyle
78 explicit GrStyle(SkStrokeRec::InitStyle initStyle) : fStrokeRec(initStyle) {} function in class:GrStyle
80 GrStyle(const SkStrokeRec& strokeRec, sk_sp<SkPathEffect> pe) : fStrokeRec(strokeRec) { function in class:GrStyle
86 explicit GrStyle(const SkPaint& paint) : fStrokeRec(paint) { function in class:GrStyle
90 explicit GrStyle(const SkPaint& paint, SkPaint::Style overrideStyle) function in class:GrStyle
[all...]

Completed in 226 milliseconds