Home
last modified time | relevance | path

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

1234

/external/skqp/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()
DSkRecordOpts.cpp133 layerPaint->getShader() || in fold_opacity_layer_color_to_paint()
181 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.cpp779 if (!paint.getShader() && paint.getBlendMode() != SkBlendMode::kSrcOver) { in UseRasterPipelineBlitter()
827 SkASSERT(!paint->getShader()); in Choose()
851 SkASSERT(paint->getShader() || paint->getBlendMode() == SkBlendMode::kSrcOver); in Choose()
855 if (paint->getShader()) { in Choose()
856 shaderContext = as_SB(paint->getShader())->makeContext( in Choose()
898 , fShader(paint.getShader()) in SkShaderBlitter()
DSkBlitter_A8.cpp15 SkASSERT(nullptr == paint.getShader()); in SkA8_Coverage_Blitter()
/external/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()
DSkRecordOpts.cpp133 layerPaint->getShader() || in fold_opacity_layer_color_to_paint()
181 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.cpp779 if (!paint.getShader() && paint.getBlendMode() != SkBlendMode::kSrcOver) { in UseRasterPipelineBlitter()
786 if (cs && !paint.getShader()) { in UseRasterPipelineBlitter()
836 SkASSERT(!paint->getShader()); in Choose()
859 SkASSERT(paint->getShader() || paint->getBlendMode() == SkBlendMode::kSrcOver); in Choose()
863 if (paint->getShader()) { in Choose()
864 shaderContext = as_SB(paint->getShader())->makeContext( in Choose()
906 , fShader(paint.getShader()) in SkShaderBlitter()
DSkBlitter_A8.cpp15 SkASSERT(nullptr == paint.getShader()); in SkA8_Coverage_Blitter()
/external/deqp/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()
DrsgGeneratorState.hpp62 Shader& getShader (void) { return *m_shader; } in getShader() function in rsg::GeneratorState
/external/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()
/external/skqp/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()
/external/deqp/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 …]
/external/deqp/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 …]
/external/swiftshader/src/OpenGL/libGLESv2/
DShader.cpp230 getShader()->print("shader-output-%d-%d.txt", getName(), serial); in compile()
250 return getShader() != 0; in isCompiled()
403 sw::Shader *VertexShader::getShader() const in getShader() function in es2::VertexShader
440 sw::Shader *FragmentShader::getShader() const in getShader() function in es2::FragmentShader
DShader.h104 virtual sw::Shader *getShader() const;
123 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()
2270 if(context->getShader(program)) in GetActiveAttrib()
2308 if(context->getShader(program)) in GetActiveUniform()
[all …]
DResourceManager.h77 Shader *getShader(GLuint handle);
/external/deqp/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()
/external/deqp/external/openglcts/modules/common/
DglcParallelShaderCompileTests.cpp278 gl.compileShader(vertexShader.getShader()); in iterate()
315 gl.attachShader(program[i], vertexShader.getShader()); in iterate()
/external/deqp/modules/gles31/functional/
Des31fProgramStateQueryTests.cpp406 gl.glAttachShader(program.getProgram(), vtxShader.getShader()); in iterate()
407 gl.glAttachShader(program.getProgram(), frgShader.getShader()); in iterate()
425 gl.glAttachShader(program.getProgram(), vtxShader.getShader()); in iterate()
426 gl.glAttachShader(program.getProgram(), frgShader.getShader()); in iterate()
/external/skqp/src/gpu/
DSkGpuDevice_drawTexture.cpp25 return textureIsAlphaOnly && paint.getShader(); in use_shader()
95 return (!paint.getColorFilter() && !paint.getShader() && !paint.getMaskFilter() && in can_use_draw_texture()

1234