Searched refs:fShaders (Results 1 – 6 of 6) sorted by relevance
130 SkShader* fShaders[3]; member in GammaShaderTextGM136 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()
127 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
23 SkTDArray<SkShader*> fShaders; member in CameraView46 *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()
14 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()
37 SkTArray<GrShaderObj *> fShaders;
88 SkShader* fShaders[NUM_DRAWS]; member in AlternatingColorPatternBench140 fShaders[count] = fPattern1.fIsBitmap ? fBmShader : nullptr; in onDelayedSetup()143 fShaders[count] = fPattern2.fIsBitmap ? fBmShader : nullptr; in onDelayedSetup()158 paint.setShader(fShaders[j]); in onDraw()