/external/skia/tools/gpu/gl/debug/ |
D | GrProgramObj.cpp | 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()
|
D | GrProgramObj.h | 37 SkTArray<GrShaderObj *> fShaders;
|
/external/skqp/tools/gpu/gl/debug/ |
D | GrProgramObj.cpp | 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()
|
D | GrProgramObj.h | 37 SkTArray<GrShaderObj *> fShaders;
|
/external/skia/samplecode/ |
D | SampleCamera.cpp | 24 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/ |
D | SampleCamera.cpp | 24 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/ |
D | gammatext.cpp | 118 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()
|
D | pictureshadertile.cpp | 127 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/ |
D | gammatext.cpp | 118 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()
|
D | pictureshadertile.cpp | 127 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/ |
D | AlternatingColorPatternBench.cpp | 89 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/ |
D | AlternatingColorPatternBench.cpp | 89 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()
|