Home
last modified time | relevance | path

Searched refs:getShader (Results 1 – 25 of 123) 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()
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()
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()
/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()
DSkRecordOpts.cpp131 layerPaint->getShader() || in fold_opacity_layer_color_to_paint()
178 return !paint->getShader() && !paint->getColorFilter() && !paint->getImageFilter() && in effectively_srcover()
DSkXfermodeInterpretation.cpp12 return SK_AlphaOPAQUE == p.getAlpha() && !p.getColorFilter() && !p.getShader(); in just_solid_color()
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()
/third_party/vk-gl-cts/framework/randomshaders/
DrsgVariable.cpp72 if (state.getShader().getType() == Shader::TYPE_FRAGMENT) in tokenizeDeclaration()
79 switch (state.getShader().getType()) in tokenizeDeclaration()
102 if (state.getShader().getType() == Shader::TYPE_VERTEX) in tokenizeDeclaration()
/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()
/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/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/vk-gl-cts/modules/gles3/functional/
Des3fShaderApiTests.cpp343 queryShaderInfo(renderCtx, shader.getShader(), info); in logShader()
620 glGetShaderiv(shader.getShader(), GL_SHADER_SOURCE_LENGTH, &sourceLength); in getSourceLength()
631 glGetShaderSource(shader.getShader(), (GLsizei)sourceBuffer.size(), 0, &sourceBuffer[0]); in readSource()
773 program.attachShader(shader.getShader()); in buildProgram()
774 program.attachShader(supportShader.getShader()); in buildProgram()
853 program.attachShader(vertShader.getShader()); in buildProgram()
854 program.attachShader(fragShader.getShader()); in buildProgram()
955 program.detachShader(caseShader.getShader()); in executeForProgram()
977 program.detachShader(caseShader.getShader()); in executeForProgram()
978 program.attachShader(caseShader.getShader()); in executeForProgram()
[all …]
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fShaderApiTests.cpp289 queryShaderInfo(renderCtx, shader.getShader(), info); in logShader()
563 glGetShaderiv(shader.getShader(), GL_SHADER_SOURCE_LENGTH, &sourceLength); in getSourceLength()
574 glGetShaderSource(shader.getShader(), (GLsizei)sourceBuffer.size(), 0, &sourceBuffer[0]); in readSource()
713 program.attachShader(shader.getShader()); in buildProgram()
714 program.attachShader(supportShader.getShader()); in buildProgram()
793 program.attachShader(vertShader.getShader()); in buildProgram()
794 program.attachShader(fragShader.getShader()); in buildProgram()
895 program.detachShader(caseShader.getShader()); in executeForProgram()
917 program.detachShader(caseShader.getShader()); in executeForProgram()
918 program.attachShader(caseShader.getShader()); in executeForProgram()
[all …]
/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 …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fProgramStateQueryTests.cpp413 gl.glAttachShader(program.getProgram(), vtxShader.getShader()); in iterate()
414 gl.glAttachShader(program.getProgram(), frgShader.getShader()); in iterate()
422 gl.glDetachShader(program.getProgram(), vtxShader.getShader()); in iterate()
423 gl.glDetachShader(program.getProgram(), frgShader.getShader()); in iterate()
435 gl.glAttachShader(program.getProgram(), vtxShader.getShader()); in iterate()
436 gl.glAttachShader(program.getProgram(), frgShader.getShader()); in iterate()
444 gl.glDetachShader(program.getProgram(), vtxShader.getShader()); in iterate()
445 gl.glDetachShader(program.getProgram(), frgShader.getShader()); in iterate()
/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/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/vk-gl-cts/framework/opengl/
DgluShaderProgram.hpp96 deUint32 getShader (void) const { return m_shader; } in getShader() function in glu::Shader
104 deUint32 operator* (void) const { return getShader(); } in operator *()
202 …Shader* getShader (glu::ShaderType shaderType, int shaderNdx = 0) const { return m_shaders… in getShader() function in glu::ShaderProgram
DgluShaderProgram.cpp419 m_program.attachShader(m_shaders[shaderType][shaderNdx]->getShader()); in init()
495 m_program.attachShader(m_shaders[shaderType][shaderNdx]->getShader()); in init()
513 shaderVec.push_back(shaders[shaderNdx]->getShader()); in setBinary()
521 gl.getShaderiv(shaders[shaderNdx]->getShader(), GL_SPIR_V_BINARY_ARB, &shaderState); in setBinary()

12345