Home
last modified time | relevance | path

Searched refs:getShader (Results 1 – 25 of 105) sorted by relevance

12345

/third_party/flutter/skia/src/core/
DSkPaintPriv.cpp31 (!paint->getShader() || paint->getShader()->isOpaque())) in Overwrites()
35 if (overrideOpacity == kNone_ShaderOverrideOpacity && !paint->getShader()) { in Overwrites()
59 || !p.getShader() || !as_SB(p.getShader())->isConstant(); in ShouldDither()
67 const auto* shader = as_SB(paint.getShader()); in just_a_color()
DSkXfermodeInterpretation.cpp12 return SK_AlphaOPAQUE == p.getAlpha() && !p.getColorFilter() && !p.getShader(); in just_solid_color()
DSkBlitter.cpp666 if (!paint.getShader() && paint.getBlendMode() != SkBlendMode::kSrcOver) { in UseRasterPipelineBlitter()
673 if (cs && !paint.getShader()) { in UseRasterPipelineBlitter()
723 SkASSERT(!paint->getShader()); in Choose()
752 SkASSERT(paint->getShader() || paint->getBlendMode() == SkBlendMode::kSrcOver); in Choose()
756 if (paint->getShader()) { in Choose()
757 shaderContext = as_SB(paint->getShader())->makeContext( in Choose()
799 , fShader(paint.getShader()) in SkShaderBlitter()
DSkRecordOpts.cpp131 layerPaint->getShader() || in fold_opacity_layer_color_to_paint()
178 return !paint->getShader() && !paint->getColorFilter() && !paint->getImageFilter() && in effectively_srcover()
DSkBlitter_A8.cpp15 SkASSERT(nullptr == paint.getShader()); in SkA8_Coverage_Blitter()
/third_party/skia/src/core/
DSkPaintPriv.cpp33 (!paint->getShader() || paint->getShader()->isOpaque())) in Overwrites()
37 if (overrideOpacity == kNone_ShaderOverrideOpacity && !paint->getShader()) { in Overwrites()
65 (p.getShader() && !as_SB(p.getShader())->isConstant()); in ShouldDither()
73 const auto* shader = as_SB(paint.getShader()); in just_a_color()
96 if (SkShader* shader = p->getShader()) { in RemoveColorFilter()
DSkXfermodeInterpretation.cpp12 return SK_AlphaOPAQUE == p.getAlpha() && !p.getColorFilter() && !p.getShader(); in just_solid_color()
DSkRecordOpts.cpp131 layerPaint->getShader() || in fold_opacity_layer_color_to_paint()
178 return !paint->getShader() && !paint->getColorFilter() && !paint->getImageFilter() && in effectively_srcover()
DSkBlitter.cpp675 if (!paint.getShader() && mode != SkBlendMode::kSrcOver) { in UseLegacyBlitter()
682 if (cs && !paint.getShader()) { in UseLegacyBlitter()
740 SkASSERT(!paint->getShader()); in Choose()
783 SkASSERT(paint->getShader() || paint->asBlendMode() == SkBlendMode::kSrcOver); in Choose()
787 if (paint->getShader()) { in Choose()
788 shaderContext = as_SB(paint->getShader())->makeContext( in Choose()
828 , fShader(paint.getShader()) in SkShaderBlitter()
DSkBlitter_A8.cpp15 SkASSERT(nullptr == paint.getShader()); in SkA8_Coverage_Blitter()
/third_party/flutter/skia/docs/examples/
DPaint_getShader.cpp8 SkDebugf("nullptr %c= shader\n", paint.getShader() ? '!' : '='); in draw()
10 SkDebugf("nullptr %c= shader\n", paint.getShader() ? '!' : '='); in draw()
DPaint_refShader.cpp9 SkDebugf("shader unique: %s\n", paint1.getShader()->unique() ? "true" : "false"); in draw()
11 SkDebugf("shader unique: %s\n", paint1.getShader()->unique() ? "true" : "false"); in draw()
/third_party/skia/docs/examples/
DPaint_getShader.cpp8 SkDebugf("nullptr %c= shader\n", paint.getShader() ? '!' : '='); in draw()
10 SkDebugf("nullptr %c= shader\n", paint.getShader() ? '!' : '='); in draw()
DPaint_refShader.cpp9 SkDebugf("shader unique: %s\n", paint1.getShader()->unique() ? "true" : "false"); in draw()
11 SkDebugf("shader unique: %s\n", paint1.getShader()->unique() ? "true" : "false"); in draw()
DPaintDump.cpp67 if (p.getShader()) { in PaintStringDump()
/third_party/flutter/skia/tests/
DRecorderTest.cpp63 REPORTER_ASSERT(r, paint.getShader()->unique()); in DEF_TEST()
68 REPORTER_ASSERT(r, !paint.getShader()->unique()); in DEF_TEST()
70 REPORTER_ASSERT(r, paint.getShader()->unique()); in DEF_TEST()
/third_party/skia/tests/
DRecorderTest.cpp63 REPORTER_ASSERT(r, paint.getShader()->unique()); in DEF_TEST()
68 REPORTER_ASSERT(r, !paint.getShader()->unique()); in DEF_TEST()
70 REPORTER_ASSERT(r, paint.getShader()->unique()); in DEF_TEST()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DShader.cpp247 getShader()->print("shader-output-%d-%d.txt", getName(), serial); in compile()
267 return getShader() != 0; in isCompiled()
423 sw::Shader *VertexShader::getShader() const in getShader() function in es2::VertexShader
460 sw::Shader *FragmentShader::getShader() const in getShader() function in es2::FragmentShader
DShader.h107 virtual sw::Shader *getShader() const;
126 virtual sw::Shader *getShader() const;
DlibGLESv2.cpp86 es2::Shader *shaderObject = context->getShader(shader); in AttachShader()
90 if(context->getShader(program)) in AttachShader()
162 if(context->getShader(program)) in BindAttribLocation()
672 es2::Shader *shaderObject = context->getShader(shader); in CompileShader()
1216 if(context->getShader(program)) in DeleteProgram()
1283 if(!context->getShader(shader)) in DeleteShader()
1383 es2::Shader *shaderObject = context->getShader(shader); in DetachShader()
1388 shaderByProgramHandle = context->getShader(program); in DetachShader()
2263 if(context->getShader(program)) in GetActiveAttrib()
2301 if(context->getShader(program)) in GetActiveUniform()
[all …]
DResourceManager.h77 Shader *getShader(GLuint handle);
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DGLES1Renderer.cpp535 Shader *GLES1Renderer::getShader(ShaderProgramID handle) const in getShader() function in gl::GLES1Renderer
537 return mShaderPrograms->getShader(handle); in getShader()
555 Shader *shaderObject = getShader(shader); in compileShader()
591 programObject->attachShader(getShader(vertexShader)); in linkProgram()
592 programObject->attachShader(getShader(fragmentShader)); in linkProgram()
617 programObject->detachShader(context, getShader(vertexShader)); in linkProgram()
618 programObject->detachShader(context, getShader(fragmentShader)); in linkProgram()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DGLES1Renderer.cpp506 Shader *GLES1Renderer::getShader(GLuint handle) const in getShader() function in gl::GLES1Renderer
508 return mShaderPrograms->getShader(handle); in getShader()
526 Shader *shaderObject = getShader(shader); in compileShader()
562 programObject->attachShader(getShader(vertexShader)); in linkProgram()
563 programObject->attachShader(getShader(fragmentShader)); in linkProgram()
588 programObject->detachShader(context, getShader(vertexShader)); in linkProgram()
589 programObject->detachShader(context, getShader(fragmentShader)); in linkProgram()
/third_party/skia/modules/sksg/src/
DSkSGPaint.cpp76 paint->setShader(fShader->getShader()); in onApplyToPaint()
/third_party/flutter/skia/modules/sksg/src/
DSkSGPaint.cpp75 paint->setShader(fShader->getShader()); in onApplyToPaint()

12345