Home
last modified time | relevance | path

Searched refs:fRecs (Results 1 – 10 of 10) sorted by relevance

/external/skia/samplecode/
DSampleVertices.cpp60 make_strip(&fRecs[0], size.fX, size.fY); in VerticesView()
61 make_fan(&fRecs[1], size.fX, size.fY); in VerticesView()
62 make_tris(&fRecs[2]); in VerticesView()
86 for (size_t i = 0; i < SK_ARRAY_COUNT(fRecs); i++) { in onDrawContent()
90 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount, in onDrawContent()
91 fRecs[i].fVerts, fRecs[i].fTexs, in onDrawContent()
97 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount, in onDrawContent()
98 fRecs[i].fVerts, fRecs[i].fTexs, in onDrawContent()
104 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount, in onDrawContent()
105 fRecs[i].fVerts, fRecs[i].fTexs, in onDrawContent()
[all …]
DSampleSlides.cpp421 Rec fRecs[3]; in mesh_slide() local
427 make_strip(&fRecs[0], size.fX, size.fY); in mesh_slide()
428 make_fan(&fRecs[1], size.fX, size.fY); in mesh_slide()
429 make_tris(&fRecs[2]); in mesh_slide()
435 for (size_t i = 0; i < SK_ARRAY_COUNT(fRecs); i++) { in mesh_slide()
439 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount, in mesh_slide()
440 fRecs[i].fVerts, fRecs[i].fTexs, in mesh_slide()
446 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount, in mesh_slide()
447 fRecs[i].fVerts, fRecs[i].fTexs, in mesh_slide()
453 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount, in mesh_slide()
[all …]
/external/skia/src/effects/
DSkLayerDrawLooper.cpp28 : fRecs(nullptr), in SkLayerDrawLooper()
33 Rec* rec = fRecs; in ~SkLayerDrawLooper()
142 const SkLayerDrawLooper* looper) : fCurrRec(looper->fRecs) {} in LayerDrawLooperContext()
170 const Rec* rec = fRecs; in asABlurShadow()
202 bsRec->fOffset = fRecs->fInfo.fOffset; in asABlurShadow()
203 bsRec->fColor = fRecs->fPaint.getColor(); in asABlurShadow()
218 Rec* oldRec = fRecs; in onMakeColorSpace()
237 looper->fRecs = newTopRec; in onMakeColorSpace()
246 Rec* rec = fRecs; in flatten()
282 Rec* rec = fRecs; in toString()
[all …]
/external/skia/src/utils/
DSkDeferredCanvas.cpp64 fRecs.reset(); in reset()
72 Rec* r = fRecs.append(); in push_save()
77 int index = fRecs.count() - 1; in push_cliprect()
78 if (index >= 0 && fRecs[index].fType == kClipRect_Type) { in push_cliprect()
79 if (!fRecs[index].fData.fBounds.intersect(bounds)) { in push_cliprect()
80 fRecs[index].fData.fBounds.setEmpty(); in push_cliprect()
83 Rec* r = fRecs.append(); in push_cliprect()
99 int index = fRecs.count() - 1; in push_concat()
101 if (index >= 0 && fRecs[index].isConcat(&m)) { in push_concat()
103 fRecs[index].setConcat(m); in push_concat()
[all …]
DSkDeferredCanvas.h152 SkTDArray<Rec> fRecs; variable
/external/skia/src/effects/gradients/
DSkLinearGradient.cpp174 fRecs.setCount(count); in LinearGradientContext()
175 Rec* rec = fRecs.begin(); in LinearGradientContext()
695 const Rec* rec = fRecs.begin(); in shade4_dx_clamp()
723 fill<apply_alpha>(dstC, n, rec[fRecs.count() - 1].fColor); in shade4_dx_clamp()
737 r = fRecs.begin(); // start at the beginning in shade4_dx_clamp()
739 r = fRecs.begin() + fRecs.count() - 2; // start at the end in shade4_dx_clamp()
745 fill<apply_alpha>(dstC, count, rec[fRecs.count() - 1].fColor); in shade4_dx_clamp()
760 SkASSERT(r >= fRecs.begin() && r < fRecs.begin() + fRecs.count() - 1); in shade4_dx_clamp()
829 Sk4f c = lerp_color(pinFx, find_forward(fRecs.begin(), pinFx)); in shade4_clamp()
DSkLinearGradient.h48 SkTDArray<Rec> fRecs;
DSkGradientShaderPriv.h220 Rec* fRecs; variable
267 Rec* getRecs() const { return fRecs; } in getRecs()
DSkGradientShader.cpp229 fRecs = (Rec*)(fOrigPos + fColorCount); in SkGradientShaderBase()
232 fRecs = (Rec*)(fOrigColors4f + fColorCount); in SkGradientShaderBase()
236 Rec* recs = fRecs; in SkGradientShaderBase()
594 Rec* rec = cache->fShader.fRecs; in initCache32()
640 : SkFixedToFFFF(fRecs[i].fPos) >> kCache32Shift; in initLinearBitmap()
709 *buffer++ = fRecs[i].fPos; in getGradientTableBitmap()
773 FlipGradientColors(colorLoc, recLoc, fOrigColors, fRecs, fColorCount); in commonAsAGradient()
776 recLoc = fRecs; in commonAsAGradient()
813 str->appendScalar(SkFixedToScalar(fRecs[i].fPos)); in toString()
/external/skia/include/effects/
DSkLayerDrawLooper.h96 Rec* fRecs; variable
148 Rec* fRecs;