Home
last modified time | relevance | path

Searched refs:fShaders (Results 1 – 6 of 6) sorted by relevance

/external/skia/gm/
Dgammatext.cpp130 SkShader* fShaders[3]; member in GammaShaderTextGM
136 for (size_t i = 0; i < SK_ARRAY_COUNT(fShaders); ++i) { in GammaShaderTextGM()
137 fShaders[i] = nullptr; in GammaShaderTextGM()
143 for (size_t i = 0; i < SK_ARRAY_COUNT(fShaders); ++i) { in ~GammaShaderTextGM()
144 SkSafeUnref(fShaders[i]); in ~GammaShaderTextGM()
158 for (size_t i = 0; i < SK_ARRAY_COUNT(fShaders); ++i) { in onOnceBeforeDraw()
159 fShaders[i] = make_gradient(fColors[i]); in onOnceBeforeDraw()
170 for (size_t i = 0; i < SK_ARRAY_COUNT(fShaders); ++i) { in onDraw()
172 draw_pair(canvas, &paint, fShaders[i]); in onDraw()
Dpictureshadertile.cpp127 fShaders[i].reset(SkShader::CreatePictureShader(picturePtr, in onOnceBeforeDraw()
141 for (unsigned i = 0; i < SK_ARRAY_COUNT(fShaders); ++i) { in onDraw()
142 paint.setShader(fShaders[i]); in onDraw()
153 SkAutoTUnref<SkShader> fShaders[SK_ARRAY_COUNT(tiles)]; member in PictureShaderTileGM
/external/skia/samplecode/
DSampleCamera.cpp23 SkTDArray<SkShader*> fShaders; member in CameraView
46 *fShaders.append() = s; in CameraView()
55 fShaders.unrefAll(); in ~CameraView()
77 if (fShaders.count() > 0) { in onDrawContent()
81 fShaderIndex = (fShaderIndex + 1) % fShaders.count(); in onDrawContent()
85 paint.setShader(fShaders[fShaderIndex]); in onDrawContent()
/external/skia/src/gpu/gl/debug/
DGrProgramObj.cpp14 fShaders.push_back(shader); in AttachShader()
21 for (int i = 0; i < fShaders.count(); ++i) { in deleteAction()
22 fShaders[i]->unref(); in deleteAction()
24 fShaders.reset(); in deleteAction()
DGrProgramObj.h37 SkTArray<GrShaderObj *> fShaders;
/external/skia/bench/
DAlternatingColorPatternBench.cpp88 SkShader* fShaders[NUM_DRAWS]; member in AlternatingColorPatternBench
140 fShaders[count] = fPattern1.fIsBitmap ? fBmShader : nullptr; in onDelayedSetup()
143 fShaders[count] = fPattern2.fIsBitmap ? fBmShader : nullptr; in onDelayedSetup()
158 paint.setShader(fShaders[j]); in onDraw()