Home
last modified time | relevance | path

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

/external/skqp/src/gpu/gradients/
DGrUnrolledBinaryGradientColorizer.cpp26 auto intervalCount = _outer.intervalCount(); in emitCode() local
27 (void)intervalCount; in emitCode()
66 if (intervalCount > 1) { in emitCode()
70 if (intervalCount > 2) { in emitCode()
74 if (intervalCount > 3) { in emitCode()
78 if (intervalCount > 4) { in emitCode()
82 if (intervalCount > 5) { in emitCode()
86 if (intervalCount > 6) { in emitCode()
90 if (intervalCount > 7) { in emitCode()
96 if (intervalCount > 1) { in emitCode()
[all …]
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 …]
DGrUnrolledBinaryGradientColorizer.h19 int32_t intervalCount() const { return fIntervalCount; } in intervalCount() function
47 GrUnrolledBinaryGradientColorizer(int32_t intervalCount, in GrUnrolledBinaryGradientColorizer() argument
67 , fIntervalCount(intervalCount) in GrUnrolledBinaryGradientColorizer()
/external/skia/src/gpu/gradients/
DGrUnrolledBinaryGradientColorizer.cpp26 auto intervalCount = _outer.intervalCount(); in emitCode() local
27 (void)intervalCount; in emitCode()
66 if (intervalCount > 1) { in emitCode()
70 if (intervalCount > 2) { in emitCode()
74 if (intervalCount > 3) { in emitCode()
78 if (intervalCount > 4) { in emitCode()
82 if (intervalCount > 5) { in emitCode()
86 if (intervalCount > 6) { in emitCode()
90 if (intervalCount > 7) { in emitCode()
96 if (intervalCount > 1) { in emitCode()
[all …]
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 …]
DGrUnrolledBinaryGradientColorizer.h19 int32_t intervalCount() const { return fIntervalCount; } in intervalCount() function
47 GrUnrolledBinaryGradientColorizer(int32_t intervalCount, in GrUnrolledBinaryGradientColorizer() argument
67 , fIntervalCount(intervalCount) in GrUnrolledBinaryGradientColorizer()
/external/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 …]
/external/skqp/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 …]
/external/skia/gm/
Dbug530095.cpp22 int intervalCount = (int) SK_ARRAY_COUNT(intervals); variable
23 paint.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, -40));
37 paint.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, 0));
Dstrokedlines.cpp137 int intervalCount = (int) SK_ARRAY_COUNT(intervals); in onOnceBeforeDraw() local
140 p.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, kStrokeWidth)); in onOnceBeforeDraw()
Darcto.cpp225 int intervalCount = (int) SK_ARRAY_COUNT(intervals); variable
226 p.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, 0));
Ddashcircle.cpp80 int intervalCount = dashExample.length; in onDraw() local
85 p.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, 0)); in onDraw()
/external/skqp/gm/
Dbug530095.cpp22 int intervalCount = (int) SK_ARRAY_COUNT(intervals); variable
23 paint.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, -40));
37 paint.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, 0));
Dstrokedlines.cpp137 int intervalCount = (int) SK_ARRAY_COUNT(intervals); in onOnceBeforeDraw() local
140 p.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, kStrokeWidth)); in onOnceBeforeDraw()
Darcto.cpp225 int intervalCount = (int) SK_ARRAY_COUNT(intervals); variable
226 p.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, 0));
Ddashcircle.cpp80 int intervalCount = dashExample.length; in onDraw() local
85 p.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, 0)); in onDraw()
/external/skia/src/utils/
DSkDashPath.cpp229 int intervalCount, SkScalar intervalLength) { in init() argument
255 SkScalar ptCount = pathLength * intervalCount / (float)intervalLength; in init()
/external/skqp/src/utils/
DSkDashPath.cpp229 int intervalCount, SkScalar intervalLength) { in init() argument
255 SkScalar ptCount = pathLength * intervalCount / (float)intervalLength; in init()
/external/skia/include/core/
DSkRegion.h631 void allocateRuns(int count, int ySpanCount, int intervalCount);
/external/skqp/include/core/
DSkRegion.h631 void allocateRuns(int count, int ySpanCount, int intervalCount);