/third_party/flutter/skia/src/core/ |
D | SkPaintPriv.cpp | 31 (!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()
|
D | SkBlitter.cpp | 666 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()
|
D | SkXfermodeInterpretation.cpp | 12 return SK_AlphaOPAQUE == p.getAlpha() && !p.getColorFilter() && !p.getShader(); in just_solid_color()
|
D | SkRecordOpts.cpp | 131 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/ |
D | SkPaintPriv.cpp | 33 (!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()
|
D | SkRecordOpts.cpp | 131 layerPaint->getShader() || in fold_opacity_layer_color_to_paint() 178 return !paint->getShader() && !paint->getColorFilter() && !paint->getImageFilter() && in effectively_srcover()
|
D | SkXfermodeInterpretation.cpp | 12 return SK_AlphaOPAQUE == p.getAlpha() && !p.getColorFilter() && !p.getShader(); in just_solid_color()
|
D | SkBlitter.cpp | 675 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/ |
D | rsgVariable.cpp | 72 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/ |
D | Paint_getShader.cpp | 8 SkDebugf("nullptr %c= shader\n", paint.getShader() ? '!' : '='); in draw() 10 SkDebugf("nullptr %c= shader\n", paint.getShader() ? '!' : '='); in draw()
|
D | Paint_refShader.cpp | 9 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/ |
D | Paint_getShader.cpp | 8 SkDebugf("nullptr %c= shader\n", paint.getShader() ? '!' : '='); in draw() 10 SkDebugf("nullptr %c= shader\n", paint.getShader() ? '!' : '='); in draw()
|
D | Paint_refShader.cpp | 9 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/ |
D | RecorderTest.cpp | 63 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/ |
D | RecorderTest.cpp | 63 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/ |
D | es3fShaderApiTests.cpp | 343 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/ |
D | es2fShaderApiTests.cpp | 289 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/ |
D | Shader.cpp | 247 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
|
D | Shader.h | 107 virtual sw::Shader *getShader() const; 126 virtual sw::Shader *getShader() const;
|
D | libGLESv2.cpp | 86 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/ |
D | es31fProgramStateQueryTests.cpp | 413 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/ |
D | GLES1Renderer.cpp | 506 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/ |
D | GLES1Renderer.cpp | 535 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/ |
D | gluShaderProgram.hpp | 96 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
|
D | gluShaderProgram.cpp | 419 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()
|