Home
last modified time | relevance | path

Searched refs:intervalCount (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/src/gpu/gradients/
DGrGradientShader.cpp134 static std::unique_ptr<GrFragmentProcessor> make_unrolled_colorizer(int intervalCount, in make_unrolled_colorizer() argument
139 SkASSERT(intervalCount >= 1 && intervalCount <= 8); in make_unrolled_colorizer()
144 once[intervalCount - 1]([intervalCount] { in make_unrolled_colorizer()
165 sksl.appendf("uniform float4 scale[%d];", intervalCount); in make_unrolled_colorizer()
166 sksl.appendf("uniform float4 bias[%d];", intervalCount); in make_unrolled_colorizer()
213 )", intervalCount, in make_unrolled_colorizer()
214 intervalCount, in make_unrolled_colorizer()
215 intervalCount, in make_unrolled_colorizer()
216 (intervalCount <= 0) ? "//" : "", in make_unrolled_colorizer()
217 (intervalCount <= 1) ? "//" : "", in make_unrolled_colorizer()
[all …]
/third_party/flutter/skia/src/gpu/gradients/generated/
DGrUnrolledBinaryGradientColorizer.cpp27 auto intervalCount = _outer.intervalCount; in emitCode() local
28 (void)intervalCount; in emitCode()
67 if (intervalCount > 1) { in emitCode()
71 if (intervalCount > 2) { in emitCode()
75 if (intervalCount > 3) { in emitCode()
79 if (intervalCount > 4) { in emitCode()
83 if (intervalCount > 5) { in emitCode()
87 if (intervalCount > 6) { in emitCode()
91 if (intervalCount > 7) { in emitCode()
97 if (intervalCount > 1) { in emitCode()
[all …]
DGrUnrolledBinaryGradientColorizer.h27 int32_t intervalCount; variable
48 GrUnrolledBinaryGradientColorizer(int32_t intervalCount, in GrUnrolledBinaryGradientColorizer() argument
68 , intervalCount(intervalCount) in GrUnrolledBinaryGradientColorizer()
/third_party/flutter/skia/src/gpu/gradients/
DGrUnrolledBinaryGradientColorizer.fp12 layout(key) in int intervalCount;
18 layout(ctype=SkPMColor4f, when=intervalCount > 1) in uniform float4 scale2_3;
19 layout(ctype=SkPMColor4f, when=intervalCount > 2) in uniform float4 scale4_5;
20 layout(ctype=SkPMColor4f, when=intervalCount > 3) in uniform float4 scale6_7;
21 layout(ctype=SkPMColor4f, when=intervalCount > 4) in uniform float4 scale8_9;
22 layout(ctype=SkPMColor4f, when=intervalCount > 5) in uniform float4 scale10_11;
23 layout(ctype=SkPMColor4f, when=intervalCount > 6) in uniform float4 scale12_13;
24 layout(ctype=SkPMColor4f, when=intervalCount > 7) in uniform float4 scale14_15;
27 layout(ctype=SkPMColor4f, when=intervalCount > 1) in uniform float4 bias2_3;
28 layout(ctype=SkPMColor4f, when=intervalCount > 2) in uniform float4 bias4_5;
[all …]
/third_party/flutter/skia/src/core/
DSkRegionPriv.h100 static RunHead* Alloc(int count, int yspancount, int intervalCount) { in Alloc()
101 if (yspancount <= 0 || intervalCount <= 1) { in Alloc()
110 head->fIntervalCount = intervalCount; in Alloc()
199 int intervalCount = 0; in computeRunBounds() local
232 intervalCount += intervals; in computeRunBounds()
247 fIntervalCount = intervalCount; in computeRunBounds()
DSkRegion.cpp144 void SkRegion::allocateRuns(int count, int ySpanCount, int intervalCount) { in allocateRuns() argument
145 fRunHead = RunHead::Alloc(count, ySpanCount, intervalCount); in allocateRuns()
1178 static bool validate_run_count(int ySpanCount, int intervalCount, int runCount) { in validate_run_count() argument
1180 if (ySpanCount < 1 || intervalCount < 2) { in validate_run_count()
1188 sum = safeMath.addInt(sum, intervalCount); in validate_run_count()
1189 sum = safeMath.addInt(sum, intervalCount); in validate_run_count()
1200 int32_t intervalCount) { in validate_run() argument
1203 if (!validate_run_count(SkToInt(ySpanCount), SkToInt(intervalCount), runCount)) { in validate_run()
1240 if (xIntervals < 0 || xIntervals > intervalCount || runs + 1 + 2 * xIntervals > end) { in validate_run()
1243 intervalCount -= xIntervals; in validate_run()
[all …]
DSkTextBlob.cpp849 int* intervalCount) { in get_glyph_run_intercepts() argument
895 cache->findIntercepts(scaledBounds, scale, pos.x(), glyph, intervals, intervalCount); in get_glyph_run_intercepts()
898 return *intervalCount; in get_glyph_run_intercepts()
915 int intervalCount = 0; in getIntercepts() local
917intervalCount = get_glyph_run_intercepts(glyphRun, *paint, bounds, intervals, &intervalCount); in getIntercepts()
920 return intervalCount; in getIntercepts()
/third_party/skia/src/core/
DSkRegionPriv.h100 static RunHead* Alloc(int count, int yspancount, int intervalCount) { in Alloc()
101 if (yspancount <= 0 || intervalCount <= 1) { in Alloc()
110 head->fIntervalCount = intervalCount; in Alloc()
199 int intervalCount = 0; in computeRunBounds() local
232 intervalCount += intervals; in computeRunBounds()
247 fIntervalCount = intervalCount; in computeRunBounds()
DSkRegion.cpp143 void SkRegion::allocateRuns(int count, int ySpanCount, int intervalCount) { in allocateRuns() argument
144 fRunHead = RunHead::Alloc(count, ySpanCount, intervalCount); in allocateRuns()
1176 static bool validate_run_count(int ySpanCount, int intervalCount, int runCount) { in validate_run_count() argument
1178 if (ySpanCount < 1 || intervalCount < 2) { in validate_run_count()
1186 sum = safeMath.addInt(sum, intervalCount); in validate_run_count()
1187 sum = safeMath.addInt(sum, intervalCount); in validate_run_count()
1198 int32_t intervalCount) { in validate_run() argument
1201 if (!validate_run_count(SkToInt(ySpanCount), SkToInt(intervalCount), runCount)) { in validate_run()
1238 if (xIntervals < 0 || xIntervals > intervalCount || runs + 1 + 2 * xIntervals > end) { in validate_run()
1241 intervalCount -= xIntervals; in validate_run()
[all …]
DSkTextBlob.cpp867 int* intervalCount) { in get_glyph_run_intercepts() argument
910 scaledBounds, scale, pos.x(), glyph, intervals, intervalCount); in get_glyph_run_intercepts()
913 return *intervalCount; in get_glyph_run_intercepts()
928 int intervalCount = 0; in getIntercepts() local
932 intervalCount = get_glyph_run_intercepts( in getIntercepts()
933 glyphRun, *paint, bounds, intervals, &intervalCount); in getIntercepts()
937 return intervalCount; in getIntercepts()
956 int intervalCount = 0; in getIntercepts() local
957 intervalCount = get_glyph_run_intercepts(run, paint, bounds, result.data(), &intervalCount); in getIntercepts()
958 result.resize(intervalCount); in getIntercepts()
/third_party/skia/gm/
Dbug530095.cpp27 int intervalCount = (int) SK_ARRAY_COUNT(intervals); variable
28 paint.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, -40));
42 paint.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, 0));
Dstrokedlines.cpp153 int intervalCount = (int) SK_ARRAY_COUNT(intervals); in onOnceBeforeDraw() local
156 p.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, kStrokeWidth)); in onOnceBeforeDraw()
Darcto.cpp228 int intervalCount = (int) SK_ARRAY_COUNT(intervals); variable
229 p.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, 0));
Ddashcircle.cpp90 int intervalCount = dashExample.length; in onDraw() local
95 p.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, 0)); in onDraw()
/third_party/flutter/skia/gm/
Dbug530095.cpp28 int intervalCount = (int) SK_ARRAY_COUNT(intervals); variable
29 paint.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, -40));
43 paint.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, 0));
Darcto.cpp231 int intervalCount = (int) SK_ARRAY_COUNT(intervals); variable
232 p.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, 0));
Dstrokedlines.cpp153 int intervalCount = (int) SK_ARRAY_COUNT(intervals); in onOnceBeforeDraw() local
156 p.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, kStrokeWidth)); in onOnceBeforeDraw()
Ddashcircle.cpp91 int intervalCount = dashExample.length; in onDraw() local
96 p.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, 0)); in onDraw()
/third_party/skia/src/utils/
DSkDashPath.cpp223 int intervalCount, SkScalar intervalLength) { in init() argument
249 SkScalar ptCount = pathLength * intervalCount / (float)intervalLength; in init()
/third_party/flutter/skia/src/utils/
DSkDashPath.cpp221 int intervalCount, SkScalar intervalLength) { in init() argument
247 SkScalar ptCount = pathLength * intervalCount / (float)intervalLength; in init()
/third_party/skia/include/core/
DSkRegion.h624 void allocateRuns(int count, int ySpanCount, int intervalCount);
/third_party/flutter/skia/include/core/
DSkRegion.h621 void allocateRuns(int count, int ySpanCount, int intervalCount);