/external/skia/src/core/ |
SkColorFilterShader.cpp | 19 : fShader(SkRef(shader)) 36 buffer.writeFlattenable(fShader); 41 const SkColorFilterShader& filterShader = static_cast<const SkColorFilterShader&>(fShader); 58 SkShader::Context* shaderContext = fShader->createContext(rec, shaderContextStorage); 66 return sizeof(FilterShaderContext) + fShader->contextSize(rec); 83 const SkColorFilterShader& filterShader = static_cast<const SkColorFilterShader&>(fShader); 91 const SkColorFilterShader& filterShader = static_cast<const SkColorFilterShader&>(fShader); 106 SkAutoTUnref<const GrFragmentProcessor> fp1(fShader->asFragmentProcessor(context, viewM, 128 fShader->toString(str);
|
SkColorFilterShader.h | 58 SkAutoTUnref<SkShader> fShader;
|
SkRemote.cpp | 457 ID define(SkShader* v)O{return this->define(Type::kShader, &fShader, v);} 476 case Type::kShader: return fShader .remove(id); 490 paint->setShader (fShader .find(common.shader)); 613 ReffedIDMap<SkShader , Type::kShader > fShader; 649 fShader .foreach(undef); 675 ID define(SkShader* v) override { return this->define(&fShader , v); } 745 RefKeyMap<SkShader , Type::kShader > fShader;
|
SkPictureShader.cpp | 68 , fShader(SkRef(tileShader)) 72 SkAutoTUnref<SkShader> fShader; 86 result->reset(SkRef(rec.fShader.get()));
|
SkBlitter.cpp | 989 , fShader(paint.getShader()) 991 SkASSERT(fShader); 994 fShader->ref(); 1000 fShader->unref(); 1010 SkShader::Context* ctx = fShader->createContext(rec, (void*)fShaderContext); 1014 new (fShaderContext) SkZeroShaderContext(*fShader, rec);
|
SkShader.cpp | 104 : fShader(shader), fCTM(*rec.fMatrix) 108 SkAssertResult(fShader.computeTotalInverse(rec, &fTotalInverse));
|
SkComposeShader.cpp | 137 SkXfermode* mode = static_cast<const SkComposeShader&>(fShader).fMode;
|
SkCoreBlitters.h | 50 const SkShader* fShader;
|
/external/skia/gm/ |
samplerstress.cpp | 24 , fShader(nullptr) 72 if (fShader.get()) { 78 fShader.reset(SkShader::CreateBitmapShader(fTexture, 103 paint.setShader(fShader.get()); 145 SkAutoTUnref<SkShader> fShader;
|
vertices.cpp | 29 SkShader* fShader; 33 VerticesGM(unsigned alpha) : fShader(nullptr), fAlpha(alpha) { 37 SkSafeUnref(fShader); 57 fShader = make_shader(w, h); 100 paint.setShader(fShader);
|
textblobshader.cpp | 71 fShader.reset(SkGradientShader::CreateRadial(SkPoint::Make(SkIntToScalar(sz.width() / 2), 89 p.setShader(fShader); 107 SkAutoTUnref<SkShader> fShader;
|
composeshader.cpp | 44 fShader = make_shader(SkXfermode::kDstIn_Mode); 48 SkSafeUnref(fShader); 66 paint.setShader(fShader); 71 SkShader* fShader;
|
lightingshader.cpp | 101 SkAutoTUnref<SkShader> fShader(SkLightingShader::Create( 108 paint.setShader(fShader);
|
constcolorprocessor.cpp | 46 fShader.reset(SkGradientShader::CreateLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), 104 skPaint.setShader(fShader); 182 SkAutoTUnref<SkShader> fShader;
|
gradients.cpp | 486 fShader.reset(SkGradientShader::CreateRadial(center, kRadius, gColors, nullptr, 2, 492 paint.setShader(fShader); 498 SkAutoTUnref<SkShader> fShader; 523 fShader.reset(SkGradientShader::CreateRadial(center, kRadius, colors, pos, 531 paint.setShader(fShader); 536 SkAutoTUnref<SkShader> fShader; 566 for (int index = 0; index < (int) SK_ARRAY_COUNT(fShader); ++index) { 571 fShader[index].reset(SkGradientShader::CreateLinear(pts, colors, pos, 580 for (int index = 0; index < (int) SK_ARRAY_COUNT(fShader); ++index) { 581 paint.setShader(fShader[index]) [all...] |
bleed.cpp | 362 paint.setShader(fShader); 378 paint.setShader(fShader); 397 paint.setShader(fShader); 416 paint.setShader(fShader); 435 paint.setShader(fShader); 471 fShader.reset(gBleedRec[fBT].fShaderMaker()); 589 SkAutoTUnref<SkShader> fShader;
|
/external/skia/samplecode/ |
SampleLighting.cpp | 34 SkAutoTUnref<SkShader> fShader; 51 fShader.reset(SkLightingShader::Create(fDiffuseBitmap, fNormalBitmap, 78 fShader.reset(SkLightingShader::Create(fDiffuseBitmap, fNormalBitmap, 83 paint.setShader(fShader);
|
SampleShaders.cpp | 50 SkShader* fShader; 73 fShader = SkShader::CreateComposeShader(shaderA, shaderB, mode); 79 SkSafeUnref(fShader); 102 paint.setShader(fShader);
|
SampleColorFilter.cpp | 114 SkShader* fShader; 121 fShader = sk_tool_utils::create_checkerboard_shader( 130 fShader->unref(); 145 paint.setShader(fShader);
|
SampleFatBits.cpp | 91 fShader.reset(sk_tool_utils::create_checkerboard_shader( 114 SkAutoTUnref<SkShader> fShader; 189 paint.setShader(fShader);
|
/external/skia/bench/ |
GLBench.h | 39 static GrGLuint CreateProgram(const GrGLInterface*, const char* vshader, const char* fshader);
|
GLBench.cpp | 84 GrGLuint GLBench::CreateProgram(const GrGLInterface* gl, const char* vshader, const char* fshader) { 87 GrGLuint fragmentShader = CompileShader(gl, fshader, GR_GL_FRAGMENT_SHADER);
|
/external/skia/src/effects/gradients/ |
SkGradientShader.cpp | 324 , fShader(shader) 562 if (cache->fShader.fColorCount == 2) { 563 Build16bitCache(cache->fCache16, cache->fShader.fOrigColors[0], 564 cache->fShader.fOrigColors[1], kCache16Count, cache->fCacheDither); 566 Rec* rec = cache->fShader.fRecs; 568 for (int i = 1; i < cache->fShader.fColorCount; i++) { 573 Build16bitCache(cache->fCache16 + prevIndex, cache->fShader.fOrigColors[i-1], 574 cache->fShader.fOrigColors[i], nextIndex - prevIndex + 1, 595 if (cache->fShader.fColorCount == 2) { 596 Build32bitCache(cache->fCache32, cache->fShader.fOrigColors[0] [all...] |
/external/autotest/client/deps/webgl_mpd/src/ |
ManyPlanetsDeep.html | 58 <script id="fshader" type="x-shader/x-fragment"> 93 g.program = simpleSetup(gl, "vshader", "fshader",
|
/frameworks/base/services/core/java/com/android/server/display/ |
ColorFade.java | 226 int fshader = loadShader(context, com.android.internal.R.raw.color_fade_frag, local 229 if (vshader == 0 || fshader == 0) return false; 234 GLES20.glAttachShader(mProgram, fshader); 236 GLES20.glDeleteShader(fshader);
|