/external/skia/tools/viewer/ |
D | SkSLSlide.cpp | 54 fShaders.push_back(std::make_pair("Linear Gradient", shader)); in load() 58 fShaders.push_back(std::make_pair("Radial Gradient", shader)); in load() 61 fShaders.push_back(std::make_pair("Sweep Gradient", shader)); in load() 64 fShaders.push_back(std::make_pair("Mandrill", shader)); in load() 67 fShaders.push_back(std::make_pair("Perlin Noise", shader)); in load() 76 fShaders.reset(); in unload() 93 c = fShaders[0].second; in rebuild() 162 auto curShader = std::find_if(fShaders.begin(), fShaders.end(), in draw() 164 SkASSERT(curShader!= fShaders.end()); in draw() 167 for (const auto& namedShader : fShaders) { in draw()
|
D | SkSLSlide.h | 36 SkTArray<std::pair<const char*, sk_sp<SkShader>>> fShaders; variable
|
D | Viewer.cpp | 59 fShaders.push_back(SkString(shader)); in compileError() 64 fShaders.reset(); in reset() 68 SkTArray<SkString> fShaders; member in CapturingShaderErrorHandler 2220 SkSL::String sksl(gShaderErrorHandler.fShaders[i].c_str()); in drawImGui()
|
/external/skia/samplecode/ |
D | SampleCamera.cpp | 20 SkTArray<sk_sp<SkShader>> fShaders; member in __anon37b7a8db0111::CameraView 40 fShaders.push_back(bm.makeShader(&matrix)); in onOnceBeforeDraw() 47 if (fShaders.count() > 0) { in onDrawContent() 58 fShaderIndex = (fShaderIndex + 1) % fShaders.count(); in onDrawContent() 63 paint.setShader(fShaders[fShaderIndex]); in onDrawContent()
|
/external/skqp/samplecode/ |
D | SampleCamera.cpp | 23 SkTArray<sk_sp<SkShader>> fShaders; member in CameraView 42 fShaders.push_back(SkShader::MakeBitmapShader(bm, in CameraView() 71 if (fShaders.count() > 0) { in onDrawContent() 75 fShaderIndex = (fShaderIndex + 1) % fShaders.count(); in onDrawContent() 79 paint.setShader(fShaders[fShaderIndex]); in onDrawContent()
|
/external/skia/gm/ |
D | gammatext.cpp | 120 sk_sp<SkShader> fShaders[3]; member in GammaShaderTextGM 126 for (size_t i = 0; i < SK_ARRAY_COUNT(fShaders); ++i) { in GammaShaderTextGM() 141 for (size_t i = 0; i < SK_ARRAY_COUNT(fShaders); ++i) { in onOnceBeforeDraw() 142 fShaders[i] = make_gradient(fColors[i]); in onOnceBeforeDraw() 152 for (size_t i = 0; i < SK_ARRAY_COUNT(fShaders); ++i) { in onDraw() 153 draw_pair(canvas, font, fColors[i], fShaders[i]); in onDraw()
|
D | pictureshadertile.cpp | 137 fShaders[i] = pictureRef->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in onOnceBeforeDraw() 148 for (unsigned i = 0; i < SK_ARRAY_COUNT(fShaders); ++i) { in onDraw() 149 paint.setShader(fShaders[i]); in onDraw() 160 sk_sp<SkShader> fShaders[SK_ARRAY_COUNT(tiles)]; member in PictureShaderTileGM
|
D | colorfilters.cpp | 98 fShaders.push_back(mandrill->makeShader(&lm)); in onOnceBeforeDraw() 106 fShaders.push_back(SkGradientShader::MakeSweep(kWheelSize / 2, kWheelSize / 2, in onOnceBeforeDraw() 129 for (const auto& shader : fShaders) { in onDraw() 182 std::vector<sk_sp<SkShader>> fShaders; member in HSLColorFilterGM
|
/external/skqp/gm/ |
D | gammatext.cpp | 112 sk_sp<SkShader> fShaders[3]; member in GammaShaderTextGM 118 for (size_t i = 0; i < SK_ARRAY_COUNT(fShaders); ++i) { in GammaShaderTextGM() 133 for (size_t i = 0; i < SK_ARRAY_COUNT(fShaders); ++i) { in onOnceBeforeDraw() 134 fShaders[i] = make_gradient(fColors[i]); in onOnceBeforeDraw() 144 for (size_t i = 0; i < SK_ARRAY_COUNT(fShaders); ++i) { in onDraw() 145 draw_pair(canvas, font, fColors[i], 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/src/gpu/ |
D | GrPrimitiveProcessor.h | 168 return fShaders & (kTessControl_GrShaderFlag | kTessEvaluation_GrShaderFlag); in willUseTessellationShaders() 172 return fShaders & kGeometry_GrShaderFlag; in willUseGeoShader() 233 fShaders |= kTessControl_GrShaderFlag | kTessEvaluation_GrShaderFlag; in setWillUseTessellationShaders() 235 void setWillUseGeoShader() { fShaders |= kGeometry_GrShaderFlag; } in setWillUseGeoShader() 255 GrShaderFlags fShaders = kVertex_GrShaderFlag | kFragment_GrShaderFlag; variable
|
/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()
|
/external/skia/bench/ |
D | AlternatingColorPatternBench.cpp | 89 sk_sp<SkShader> fShaders[NUM_DRAWS]; member in AlternatingColorPatternBench 134 fShaders[count] = fPattern1.fIsBitmap ? fBmShader : nullptr; in onDelayedSetup() 137 fShaders[count] = fPattern2.fIsBitmap ? fBmShader : nullptr; in onDelayedSetup() 152 paint.setShader(fShaders[j]); in onDraw()
|