/external/skia/tests/ |
AsADashTest.cpp | 47 info.fIntervals = intervals.get(); 49 REPORTER_ASSERT(reporter, inIntervals[0] == info.fIntervals[0]); 50 REPORTER_ASSERT(reporter, inIntervals[1] == info.fIntervals[1]); 51 REPORTER_ASSERT(reporter, inIntervals[2] == info.fIntervals[2]); 52 REPORTER_ASSERT(reporter, inIntervals[3] == info.fIntervals[3]);
|
/external/skia/src/gpu/ |
GrStyle.h | 132 return fDashInfo.fIntervals.count(); 136 return fDashInfo.fIntervals.get(); 193 fIntervals.reset(that.fIntervals.count()); 194 sk_careful_memcpy(fIntervals.get(), that.fIntervals.get(), 195 sizeof(SkScalar) * that.fIntervals.count()); 200 fIntervals.reset(0); 204 SkAutoSTArray<4, SkScalar> fIntervals;
|
GrStyle.cpp | 109 SkASSERT(0 == fDashInfo.fIntervals.count()); 118 fDashInfo.fIntervals.reset(info.fCount); 120 info.fIntervals = fDashInfo.fIntervals.get(); 138 const SkScalar* intervals = fDashInfo.fIntervals.get(); 139 int intervalCnt = fDashInfo.fIntervals.count();
|
GrTestUtils.cpp | 271 fIntervals.reset(count); 272 memcpy(fIntervals.get(), intervals, count * sizeof(SkScalar)); 279 return SkDashPath::InternalFilter(dst, src, rec, cullRect, fIntervals.get(), fCount, 285 if (info->fCount >= fCount && info->fIntervals) { 286 memcpy(info->fIntervals, fIntervals.get(), fCount * sizeof(SkScalar));
|
GrTestUtils.h | 78 SkAutoTArray<SkScalar> fIntervals;
|
/external/skia/src/shaders/gradients/ |
Sk4fGradientBase.cpp | 191 fIntervals.reset(); 206 fIntervals.emplace_back(clamp_color, clamp_pos, 210 addMirrorIntervals(shader, dstCS, componentScale, premulColors, false, &fIntervals); 215 SkASSERT(fIntervals.empty() || fIntervals.back().fT1 == t0); 217 fIntervals.emplace_back(pack_color(c0, premulColors, componentScale), t0, 226 fIntervals.emplace_back(clamp_color, last_pos, 230 addMirrorIntervals(shader, dstCS, componentScale, premulColors, true, &fIntervals); 236 const auto* i0 = fIntervals.begin(); 237 const auto* i1 = fIntervals.end() - 1 [all...] |
Sk4fGradientBase.h | 49 const BufferType* operator->() const { return &fIntervals; } 52 BufferType fIntervals; 68 Sk4fGradientIntervalBuffer fIntervals;
|
Sk4fLinearGradient.cpp | 95 fIntervals.init(shader, rec.fDstColorSpace, shader.fTileMode, 98 SkASSERT(fIntervals->count() > 0); 99 fCachedInterval = fIntervals->begin(); 104 SkASSERT(in_range(fx, fIntervals->front().fT0, fIntervals->back().fT1)); 108 SkASSERT(fCachedInterval >= fIntervals->begin()); 109 SkASSERT(fCachedInterval < fIntervals->end()); 113 if (fCachedInterval >= fIntervals->end()) { 114 fCachedInterval = fIntervals->begin(); 115 } else if (fCachedInterval < fIntervals->begin()) [all...] |
/external/skia/src/effects/ |
SkDashPathEffect.cpp | 23 fIntervals = (SkScalar*)sk_malloc_throw(sizeof(SkScalar) * count); 26 fIntervals[i] = intervals[i]; 30 SkDashPath::CalcDashParameters(phase, fIntervals, fCount, 35 sk_free(fIntervals); 40 return SkDashPath::InternalFilter(dst, src, rec, cullRect, fIntervals, fCount, 171 !SkScalarNearlyEqual(fIntervals[0], fIntervals[1]) || 172 !SkScalarIsInt(fIntervals[0]) || 173 !SkScalarIsInt(fIntervals[1])) { 211 results->fSize.set(SkScalarHalf(fIntervals[0]), SkScalarHalf(rec.getWidth())) [all...] |
SkDashImpl.h | 36 SkScalar* fIntervals;
|
/external/skia/include/core/ |
SkPathEffect.h | 135 DashInfo() : fIntervals(NULL), fCount(0), fPhase(0) {} 137 : fIntervals(intervals), fCount(count), fPhase(phase) {} 139 SkScalar* fIntervals; //!< Length of on/off intervals for dashed lines
|
/external/skia/src/gpu/ops/ |
GrDashOp.cpp | 252 SkScalar fIntervals[2]; 274 geo.fIntervals[0], 275 geo.fIntervals[1], 342 memcpy(fIntervals, geo.fIntervals, sizeof(geo.fIntervals)); 346 SkScalar fIntervals[2]; 431 if (draw.fPhase > 0 && draw.fPhase < draw.fIntervals[0]) { 435 startPts[1].fX = SkMinScalar(startPts[0].fX + draw.fIntervals[0] - draw.fPhase, 441 startAdj = draw.fIntervals[0] + draw.fIntervals[1] - draw.fPhase [all...] |
/external/skia/bench/ |
DashBench.cpp | 35 SkTDArray<SkScalar> fIntervals; 43 fIntervals.append(count, intervals); 45 fIntervals[i] *= width; 74 paint.setPathEffect(SkDashPathEffect::Make(fIntervals.begin(), fIntervals.count(), 0));
|
/external/skia/src/utils/ |
SkDashPath.cpp | 318 if (!ValidDashPath(info.fPhase, info.fIntervals, info.fCount)) { 324 CalcDashParameters(info.fPhase, info.fIntervals, info.fCount, 326 return InternalFilter(dst, src, rec, cullRect, info.fIntervals, info.fCount, initialDashLength,
|
SkLua.cpp | 322 this->pushArrayScalar(info.fIntervals, info.fCount, "intervals"); [all...] |
/external/skia/tools/debugger/ |
SkDrawCommand.cpp | [all...] |