Searched refs:fShaders (Results 1 – 6 of 6) sorted by relevance
128 SkShader* fShaders[3]; member in GammaShaderTextGM134 for (size_t i = 0; i < SK_ARRAY_COUNT(fShaders); ++i) { in GammaShaderTextGM()135 fShaders[i] = NULL; in GammaShaderTextGM()141 for (size_t i = 0; i < SK_ARRAY_COUNT(fShaders); ++i) { in ~GammaShaderTextGM()142 SkSafeUnref(fShaders[i]); in ~GammaShaderTextGM()156 for (size_t i = 0; i < SK_ARRAY_COUNT(fShaders); ++i) { in onOnceBeforeDraw()157 fShaders[i] = make_gradient(fColors[i]); in onOnceBeforeDraw()168 for (size_t i = 0; i < SK_ARRAY_COUNT(fShaders); ++i) { in onDraw()170 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;
87 SkShader* fShaders[NUM_DRAWS]; member in AlternatingColorPatternBench139 fShaders[count] = fPattern1.fIsBitmap ? fBmShader : NULL; in onPreDraw()142 fShaders[count] = fPattern2.fIsBitmap ? fBmShader : NULL; in onPreDraw()157 paint.setShader(fShaders[j]); in onDraw()