/third_party/skia/samplecode/ |
D | SampleCamera.cpp | 21 SkTArray<sk_sp<SkShader>> fShaders; member in __anon17870d6e0111::CameraView 39 fShaders.push_back(bm.makeShader(SkSamplingOptions(SkFilterMode::kLinear), in onOnceBeforeDraw() 47 if (fShaders.count() > 0) { in onDrawContent() 58 fShaderIndex = (fShaderIndex + 1) % fShaders.count(); in onDrawContent() 63 paint.setShader(fShaders[fShaderIndex]); in onDrawContent()
|
/third_party/skia/tools/viewer/ |
D | SkSLSlide.cpp | 58 fShaders.push_back(std::make_pair("Null", nullptr)); in load() 61 fShaders.push_back(std::make_pair("Linear Gradient", shader)); in load() 65 fShaders.push_back(std::make_pair("Radial Gradient", shader)); in load() 68 fShaders.push_back(std::make_pair("Sweep Gradient", shader)); in load() 71 fShaders.push_back(std::make_pair("Mandrill", shader)); in load() 80 fShaders.reset(); in unload() 222 std::find_if(fShaders.begin(), fShaders.end(), [tgt = fChildren[c.index]](auto p) { in draw() 225 SkASSERT(curShader != fShaders.end()); in draw() 228 for (const auto& namedShader : fShaders) { in draw()
|
D | SkSLSlide.h | 56 SkTArray<std::pair<const char*, sk_sp<SkShader>>> fShaders; variable
|
D | Viewer.cpp | 81 fShaders.push_back(SkString(shader)); in compileError() 86 fShaders.reset(); in reset() 90 SkTArray<SkString> fShaders; member in CapturingShaderErrorHandler 2738 SkSL::String sksl(gShaderErrorHandler.fShaders[i].c_str()); in drawImGui()
|
/third_party/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 | 96 fShaders.push_back(mandrill->makeShader(SkSamplingOptions(), &lm)); in onOnceBeforeDraw() 104 fShaders.push_back(SkGradientShader::MakeSweep(kWheelSize / 2, kWheelSize / 2, in onOnceBeforeDraw() 127 for (const auto& shader : fShaders) { in onDraw() 180 std::vector<sk_sp<SkShader>> fShaders; member in HSLColorFilterGM
|
/third_party/skia/bench/ |
D | AlternatingColorPatternBench.cpp | 89 sk_sp<SkShader> fShaders[NUM_DRAWS]; member in AlternatingColorPatternBench 135 fShaders[count] = fPattern1.fIsBitmap ? fBmShader : nullptr; in onDelayedSetup() 138 fShaders[count] = fPattern2.fIsBitmap ? fBmShader : nullptr; in onDelayedSetup() 152 paint.setShader(fShaders[j]); in onDraw()
|
/third_party/skia/src/gpu/ |
D | GrGeometryProcessor.h | 185 return fShaders & (kTessControl_GrShaderFlag | kTessEvaluation_GrShaderFlag); in willUseTessellationShaders() 245 fShaders |= kTessControl_GrShaderFlag | kTessEvaluation_GrShaderFlag; in setWillUseTessellationShaders() 266 GrShaderFlags fShaders = kVertex_GrShaderFlag | kFragment_GrShaderFlag; variable
|
/third_party/skia/experimental/graphite/include/ |
D | Context.h | 47 std::vector<ShaderCombo> fShaders; member
|
/third_party/skia/experimental/graphite/src/ |
D | Context.cpp | 61 for (auto& shaderCombo: paintCombo.fShaders) { in preCompile()
|