Home
last modified time | relevance | path

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

/external/skia/samplecode/
DSampleVertices.cpp64 make_strip(&fRecs[0], size.fX, size.fY); in VerticesView()
65 make_fan(&fRecs[1], size.fX, size.fY); in VerticesView()
66 make_tris(&fRecs[2]); in VerticesView()
95 for (size_t i = 0; i < SK_ARRAY_COUNT(fRecs); i++) { in onDrawContent()
99 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount, in onDrawContent()
100 fRecs[i].fVerts, fRecs[i].fTexs, in onDrawContent()
106 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount, in onDrawContent()
107 fRecs[i].fVerts, fRecs[i].fTexs, in onDrawContent()
113 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount, in onDrawContent()
114 fRecs[i].fVerts, fRecs[i].fTexs, in onDrawContent()
[all …]
DSampleSlides.cpp426 Rec fRecs[3]; in mesh_slide() local
435 make_strip(&fRecs[0], size.fX, size.fY); in mesh_slide()
436 make_fan(&fRecs[1], size.fX, size.fY); in mesh_slide()
437 make_tris(&fRecs[2]); in mesh_slide()
443 for (size_t i = 0; i < SK_ARRAY_COUNT(fRecs); i++) { in mesh_slide()
447 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount, in mesh_slide()
448 fRecs[i].fVerts, fRecs[i].fTexs, in mesh_slide()
454 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount, in mesh_slide()
455 fRecs[i].fVerts, fRecs[i].fTexs, in mesh_slide()
461 canvas->drawVertices(fRecs[i].fMode, fRecs[i].fCount, in mesh_slide()
[all …]
/external/skia/src/effects/
DSkLayerDrawLooper.cpp25 : fRecs(nullptr), in SkLayerDrawLooper()
30 Rec* rec = fRecs; in ~SkLayerDrawLooper()
131 const SkLayerDrawLooper* looper) : fCurrRec(looper->fRecs) {} in LayerDrawLooperContext()
159 const Rec* rec = fRecs; in asABlurShadow()
191 bsRec->fOffset = fRecs->fInfo.fOffset; in asABlurShadow()
192 bsRec->fColor = fRecs->fPaint.getColor(); in asABlurShadow()
204 Rec* rec = fRecs; in flatten()
240 Rec* rec = fRecs; in toString()
295 : fRecs(nullptr), in Builder()
301 Rec* rec = fRecs; in ~Builder()
[all …]
/external/skia/src/fonts/
DSkFontMgr_fontconfig.cpp156 Rec* fRecs; member in SkFontStyleSet_FC
183 fRecs = new Rec[count]; in SkFontStyleSet_FC()
185 fRecs[i].fStyleName.set(get_name(matches[i], FC_STYLE)); in SkFontStyleSet_FC()
186 fRecs[i].fFileName.set(get_name(matches[i], FC_FILE)); in SkFontStyleSet_FC()
187 fRecs[i].fStyle = make_fontconfig_style(matches[i]); in SkFontStyleSet_FC()
191 SkFontStyleSet_FC::~SkFontStyleSet_FC() { delete[] fRecs; } in ~SkFontStyleSet_FC()
197 *style = fRecs[index].fStyle; in getStyle()
200 *styleName = fRecs[index].fStyleName; in getStyle()
/external/skia/src/core/
DSkSmallAllocator.h40 Rec* rec = &fRecs[fNumObjects]; in ~SkSmallAllocator()
78 Rec* rec = &fRecs[fNumObjects];
107 Rec* rec = &fRecs[fNumObjects - 1]; in freeLast()
133 Rec fRecs[kMaxObjects]; variable
/external/skia/src/effects/gradients/
DSkLinearGradient.cpp119 fRecs.setCount(count); in LinearGradientContext()
120 Rec* rec = fRecs.begin(); in LinearGradientContext()
622 const Rec* rec = fRecs.begin(); in shade4_dx_clamp()
642 fill<apply_alpha>(dstC, n, rec[fRecs.count() - 1].fColor); in shade4_dx_clamp()
656 r = fRecs.begin(); // start at the beginning in shade4_dx_clamp()
658 r = fRecs.begin() + fRecs.count() - 2; // start at the end in shade4_dx_clamp()
664 fill<apply_alpha>(dstC, count, rec[fRecs.count() - 1].fColor); in shade4_dx_clamp()
679 SkASSERT(r >= fRecs.begin() && r < fRecs.begin() + fRecs.count() - 1); in shade4_dx_clamp()
749 Sk4f c = lerp_color(pinFx, find_forward(fRecs.begin(), pinFx)); in shade4_clamp()
DSkGradientShader.cpp132 fRecs = (Rec*)(fOrigPos + fColorCount); in SkGradientShaderBase()
135 fRecs = (Rec*)(fOrigColors + fColorCount); in SkGradientShaderBase()
139 Rec* recs = fRecs; in SkGradientShaderBase()
241 SkFixedToScalar(fRecs[1].fPos) - SK_ScalarHalf) < SK_Scalar1 / 1000)) { in getGpuColorType()
566 Rec* rec = cache->fShader.fRecs; in initCache16()
600 Rec* rec = cache->fShader.fRecs; in initCache32()
660 *buffer++ = fRecs[i].fPos; in getGradientTableBitmap()
698 FlipGradientColors(colorLoc, recLoc, fOrigColors, fRecs, fColorCount); in commonAsAGradient()
701 recLoc = fRecs; in commonAsAGradient()
738 str->appendScalar(SkFixedToScalar(fRecs[i].fPos)); in toString()
DSkLinearGradient.h50 SkTDArray<Rec> fRecs;
DSkGradientShaderPriv.h240 Rec* fRecs; variable
/external/skia/include/effects/
DSkLayerDrawLooper.h96 Rec* fRecs; variable
148 Rec* fRecs;