Home
last modified time | relevance | path

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

/external/skia/tools/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/skqp/tools/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/samplecode/
DSampleCamera.cpp24 SkTArray<sk_sp<SkShader>> fShaders; member in CameraView
43 fShaders.push_back(SkShader::MakeBitmapShader(bm, in CameraView()
73 if (fShaders.count() > 0) { in onDrawContent()
77 fShaderIndex = (fShaderIndex + 1) % fShaders.count(); in onDrawContent()
81 paint.setShader(fShaders[fShaderIndex]); in onDrawContent()
/external/skqp/samplecode/
DSampleCamera.cpp24 SkTArray<sk_sp<SkShader>> fShaders; member in CameraView
43 fShaders.push_back(SkShader::MakeBitmapShader(bm, in CameraView()
73 if (fShaders.count() > 0) { in onDrawContent()
77 fShaderIndex = (fShaderIndex + 1) % fShaders.count(); in onDrawContent()
81 paint.setShader(fShaders[fShaderIndex]); in onDrawContent()
/external/skia/gm/
Dgammatext.cpp118 sk_sp<SkShader> fShaders[3]; member in GammaShaderTextGM
124 for (size_t i = 0; i < SK_ARRAY_COUNT(fShaders); ++i) { in GammaShaderTextGM()
139 for (size_t i = 0; i < SK_ARRAY_COUNT(fShaders); ++i) { in onOnceBeforeDraw()
140 fShaders[i] = make_gradient(fColors[i]); in onOnceBeforeDraw()
151 for (size_t i = 0; i < SK_ARRAY_COUNT(fShaders); ++i) { in onDraw()
153 draw_pair(canvas, &paint, fShaders[i]); in onDraw()
Dpictureshadertile.cpp127 fShaders[i] = SkShader::MakePictureShader(pictureRef, SkShader::kRepeat_TileMode, in onOnceBeforeDraw()
139 for (unsigned i = 0; i < SK_ARRAY_COUNT(fShaders); ++i) { in onDraw()
140 paint.setShader(fShaders[i]); in onDraw()
151 sk_sp<SkShader> fShaders[SK_ARRAY_COUNT(tiles)]; member in PictureShaderTileGM
/external/skqp/gm/
Dgammatext.cpp118 sk_sp<SkShader> fShaders[3]; member in GammaShaderTextGM
124 for (size_t i = 0; i < SK_ARRAY_COUNT(fShaders); ++i) { in GammaShaderTextGM()
139 for (size_t i = 0; i < SK_ARRAY_COUNT(fShaders); ++i) { in onOnceBeforeDraw()
140 fShaders[i] = make_gradient(fColors[i]); in onOnceBeforeDraw()
151 for (size_t i = 0; i < SK_ARRAY_COUNT(fShaders); ++i) { in onDraw()
153 draw_pair(canvas, &paint, fShaders[i]); in onDraw()
Dpictureshadertile.cpp127 fShaders[i] = SkShader::MakePictureShader(pictureRef, SkShader::kRepeat_TileMode, in onOnceBeforeDraw()
139 for (unsigned i = 0; i < SK_ARRAY_COUNT(fShaders); ++i) { in onDraw()
140 paint.setShader(fShaders[i]); in onDraw()
151 sk_sp<SkShader> fShaders[SK_ARRAY_COUNT(tiles)]; member in PictureShaderTileGM
/external/skia/bench/
DAlternatingColorPatternBench.cpp89 sk_sp<SkShader> fShaders[NUM_DRAWS]; member in AlternatingColorPatternBench
136 fShaders[count] = fPattern1.fIsBitmap ? fBmShader : nullptr; in onDelayedSetup()
139 fShaders[count] = fPattern2.fIsBitmap ? fBmShader : nullptr; in onDelayedSetup()
154 paint.setShader(fShaders[j]); in onDraw()
/external/skqp/bench/
DAlternatingColorPatternBench.cpp89 sk_sp<SkShader> fShaders[NUM_DRAWS]; member in AlternatingColorPatternBench
136 fShaders[count] = fPattern1.fIsBitmap ? fBmShader : nullptr; in onDelayedSetup()
139 fShaders[count] = fPattern2.fIsBitmap ? fBmShader : nullptr; in onDelayedSetup()
154 paint.setShader(fShaders[j]); in onDraw()