Home
last modified time | relevance | path

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

123

/external/skia/src/core/
DSkPaintPriv.cpp32 (!paint->getShader() || paint->getShader()->isOpaque())) in Overwrites()
36 if (overrideOpacity == kNone_ShaderOverrideOpacity && !paint->getShader()) { in Overwrites()
DSkXfermodeInterpretation.cpp13 && !p.getColorFilter() && !p.getShader(); in just_solid_color()
DSkPictureCommon.h78 const SkShader* shader = paint->getShader(); in PaintHasBitmap()
/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
DrsgShader.cpp96 if (state.getShader().getType() == Shader::TYPE_FRAGMENT) in tokenize()
/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()
DSkColor4fTest.cpp158 SkASSERT(paint.getShader()->contextSize(contextRec) <= sizeof(storage)); in DEF_TEST()
159 SkShader::Context* ctx = paint.getShader()->createContext(contextRec, storage); 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/skia/src/animator/
DSkDrawGradient.h43 SkShader* getShader() override;
56 SkShader* getShader() override;
DSkDrawGradient.cpp128 SkShader* SkDrawLinearGradient::getShader() { in getShader() function in SkDrawLinearGradient
163 SkShader* SkDrawRadialGradient::getShader() { in getShader() function in SkDrawRadialGradient
DSkDrawShader.h20 SkShader* getShader() override;
DSkDrawShader.cpp64 SkShader* SkDrawBitmapShader::getShader() { in getShader() function in SkDrawBitmapShader
DSkPaintPart.h51 virtual SkShader* getShader();
DSkPaintPart.cpp64 SkShader* SkDrawShader::getShader() { in getShader() function in SkDrawShader
/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/skia/tools/lua/
Dgradients.lua12 local s = p:getShader()
/external/skia/gm/
DSkLinearBitmapPipelineGM.cpp73 SkASSERT(paint.getShader()->contextSize(rec) <= sizeof(storage)); in draw_rect_orig()
75 SkShader::Context* ctx = paint.getShader()->createContext(rec, storage); in draw_rect_orig()
Dmodecolorfilters.cpp130 bool hasShader = nullptr == paint.getShader(); in onDraw()
/external/skia/bench/
DSkLinearBitmapPipelineBench.cpp201 SkASSERT(fPaint.getShader()->contextSize(rec) <= sizeof(storage)); in onDraw()
202 SkShader::Context* ctx = fPaint.getShader()->createContext(rec, storage); in onDraw()
/external/deqp/framework/opengl/
DgluShaderProgram.hpp91 deUint32 getShader (void) const { return m_shader; } in getShader() function in glu::Shader
99 deUint32 operator* (void) const { return getShader(); } in operator *()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPaint.java64 public Shader getShader() { in getShader() method in ShadowPaint
/external/deqp/modules/gles31/functional/
Des31fProgramStateQueryTests.cpp393 gl.glAttachShader(program.getProgram(), vtxShader.getShader()); in iterate()
394 gl.glAttachShader(program.getProgram(), frgShader.getShader()); in iterate()
412 gl.glAttachShader(program.getProgram(), vtxShader.getShader()); in iterate()
413 gl.glAttachShader(program.getProgram(), frgShader.getShader()); in iterate()
/external/skia/samplecode/
DSamplePatch.cpp309 SkShader* s = paint.getShader()->newWithLocalMatrix(m); in onDrawContent()
315 SkShader* s = paint.getShader()->newWithLocalMatrix(m); in onDrawContent()
/external/deqp/modules/glshared/
DglsLifetimeTests.cpp516 gl().attachShader(program, vtxShader.getShader()); in drawContainer()
552 gl().detachShader(program, vtxShader.getShader()); in drawContainer()
854 vtxShader.getShader(), fragShader.getShader()); in testDeleteUsed()

123