Home
last modified time | relevance | path

Searched refs:Shader (Results 1 – 25 of 141) sorted by relevance

123456

/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceDefinition.hpp63 class Shader class
74 Shader (glu::ShaderType type, glu::GLSLVersion version);
75 ~Shader (void);
77 Shader (const Shader&);
78 Shader& operator= (const Shader&);
93 Shader* addShader (glu::ShaderType type, glu::GLSLVersion version);
98 const std::vector<Shader*>& getShaders (void) const;
120 std::vector<Shader*> m_shaders;
/external/deqp/framework/referencerenderer/
DrrShaders.hpp202 template<class Shader>
206 VertexShaderLoop (const Shader& shader) : m_shader(shader) {} in VertexShaderLoop()
211 const Shader& m_shader;
214 template<class Shader>
215 void VertexShaderLoop<Shader>::shadeVertices (const VertexAttrib* inputs, VertexPacket* packets, co… in shadeVertices()
221 template<class Shader>
225 FragmentShaderLoop (const Shader& shader) : m_shader(shader) {} in FragmentShaderLoop()
230 const Shader& m_shader;
233 template<class Shader>
234 void FragmentShaderLoop<Shader>::shadeFragments (FragmentPacket* packets, const int numPackets) con… in shadeFragments()
/external/mesa3d/src/mesa/main/
Duniforms.c134 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, &v0, GL_FLOAT); in _mesa_Uniform1fARB()
144 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_FLOAT_VEC2); in _mesa_Uniform2fARB()
155 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_FLOAT_VEC3); in _mesa_Uniform3fARB()
168 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_FLOAT_VEC4); in _mesa_Uniform4fARB()
175 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, &v0, GL_INT); in _mesa_Uniform1iARB()
185 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_INT_VEC2); in _mesa_Uniform2iARB()
196 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_INT_VEC3); in _mesa_Uniform3iARB()
208 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_INT_VEC4); in _mesa_Uniform4iARB()
215 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, count, value, GL_FLOAT); in _mesa_Uniform1fvARB()
222 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, count, value, GL_FLOAT_VEC2); in _mesa_Uniform2fvARB()
[all …]
/external/deqp/framework/randomshaders/
DrsgShader.cpp67 Shader::Shader (Type type) in Shader() function in rsg::Shader
73 Shader::~Shader (void) in ~Shader()
81 void Shader::getOutputs (vector<const Variable*>& outputs) const in getOutputs()
93 void Shader::tokenize (GeneratorState& state, TokenStream& str) const in tokenize()
96 if (state.getShader().getType() == Shader::TYPE_FRAGMENT) in tokenize()
115 void Shader::execute (ExecutionContext& execCtx) const in execute()
DrsgTest.cpp50 rsg::Shader vertexShader(rsg::Shader::TYPE_VERTEX); in runTest()
51 rsg::Shader fragmentShader(rsg::Shader::TYPE_FRAGMENT); in runTest()
DrsgGeneratorState.hpp36 class Shader;
62 Shader& getShader (void) { return *m_shader; } in getShader()
64 void setShader (const ShaderParameters& params, Shader& shader);
93 Shader* m_shader;
DrsgVariable.cpp72 if (state.getShader().getType() == Shader::TYPE_FRAGMENT) in tokenizeDeclaration()
81 case Shader::TYPE_VERTEX: str << Token::ATTRIBUTE; break; in tokenizeDeclaration()
82 case Shader::TYPE_FRAGMENT: str << Token::VARYING << Token::MEDIUM_PRECISION; break; in tokenizeDeclaration()
102 if (state.getShader().getType() == Shader::TYPE_VERTEX) in tokenizeDeclaration()
DrsgShaderGenerator.cpp92 void genVertexPassthrough (GeneratorState& state, Shader& shader) in genVertexPassthrough()
124 void genFragmentPassthrough (GeneratorState& state, Shader& shader) in genFragmentPassthrough()
173 void ShaderGenerator::generate (const ShaderParameters& shaderParams, Shader& shader, const vector<… in generate()
185 if (shader.getType() == Shader::TYPE_VERTEX) in generate()
202 if (shader.getType() == Shader::TYPE_FRAGMENT) in generate()
240 if (shader.getType() == Shader::TYPE_VERTEX) in generate()
244 DE_ASSERT(shader.getType() == Shader::TYPE_FRAGMENT); in generate()
249 if (shader.getType() == Shader::TYPE_VERTEX) in generate()
/external/deqp/modules/glshared/
DglsRandomShaderProgram.hpp32 class Shader;
44 …RandomShaderProgram (const rsg::Shader& vertexShader, const rsg::Shader& fragmentShader, int num…
52 const rsg::Shader& m_vertexShader;
53 const rsg::Shader& m_fragmentShader;
DglsRandomShaderCase.hpp89 void checkShaderLimits (const rsg::Shader& shader) const;
90 void checkProgramLimits (const rsg::Shader& vtxShader, const rsg::Shader& frgShader) const;
103 rsg::Shader m_vertexShader;
104 rsg::Shader m_fragmentShader;
DglsRandomShaderProgram.cpp70 … (sglr::pdec::ShaderProgramDeclaration& decl, const rsg::Shader& vertexShader, const rsg::Shader& … in generateProgramDeclaration()
96 …rogramDeclaration generateProgramDeclaration (const rsg::Shader& vertexShader, const rsg::Shader& … in generateProgramDeclaration()
103 static const rsg::Variable* findShaderOutputByName (const rsg::Shader& shader, const char* name) in findShaderOutputByName()
117 static const rsg::Variable* findShaderOutputByLocation (const rsg::Shader& shader, int location) in findShaderOutputByLocation()
131 RandomShaderProgram::RandomShaderProgram (const rsg::Shader& vertexShader, const rsg::Shader& fragm… in RandomShaderProgram()
/external/deqp/executor/tools/
DxeExtractShaderPrograms.cpp53 static const char* getShaderTypeSuffix (const xe::ri::Shader::ShaderType shaderType) in getShaderTypeSuffix()
57 case xe::ri::Shader::SHADERTYPE_VERTEX: return "vert"; in getShaderTypeSuffix()
58 case xe::ri::Shader::SHADERTYPE_FRAGMENT: return "frag"; in getShaderTypeSuffix()
59 case xe::ri::Shader::SHADERTYPE_GEOMETRY: return "geom"; in getShaderTypeSuffix()
60 case xe::ri::Shader::SHADERTYPE_TESS_CONTROL: return "tesc"; in getShaderTypeSuffix()
61 case xe::ri::Shader::SHADERTYPE_TESS_EVALUATION: return "tese"; in getShaderTypeSuffix()
62 case xe::ri::Shader::SHADERTYPE_COMPUTE: return "comp"; in getShaderTypeSuffix()
74 …const xe::ri::Shader& shader = dynamic_cast<const xe::ri::Shader&>(shaderProgram.shaders.getItem(… in writeShaderProgram()
/external/deqp/framework/opengl/
DgluShaderProgram.hpp72 class Shader class
75 Shader (const glw::Functions& gl, ShaderType shaderType);
76 Shader (const RenderContext& renderCtx, ShaderType shaderType);
77 ~Shader (void);
93 Shader (const Shader& other);
94 Shader& operator= (const Shader& other);
194 std::vector<Shader*> m_shaders[SHADERTYPE_LAST];
204 tcu::TestLog& operator<< (tcu::TestLog& log, const Shader& shader);
DgluShaderProgram.cpp40 Shader::Shader (const RenderContext& renderCtx, ShaderType shaderType) in Shader() function in glu::Shader
50 Shader::Shader (const glw::Functions& gl, ShaderType shaderType) in Shader() function in glu::Shader
60 Shader::~Shader (void) in ~Shader()
65 void Shader::setSources (int numSourceStrings, const char* const* sourceStrings, const int* lengths) in setSources()
78 void Shader::compile (void) in compile()
336 m_shaders[shaderType].push_back(new Shader(gl, ShaderType(shaderType))); in init()
437 …return log << tcu::TestLog::Shader(getLogShaderType(shaderInfo.type), shaderInfo.source, shaderInf… in operator <<()
440 tcu::TestLog& operator<< (tcu::TestLog& log, const Shader& shader) in operator <<()
/external/jmonkeyengine/engine/src/core/com/jme3/shader/
DShader.java47 public final class Shader extends NativeObject implements Savable { class
216 public Shader(String language){ in Shader() method in Shader
217 super(Shader.class); in Shader()
228 public Shader(){ in Shader() method in Shader
229 super(Shader.class); in Shader()
232 protected Shader(Shader s){ in Shader() method in Shader
233 super(Shader.class, s.id); in Shader()
440 return new Shader(this); in createDestructableClone()
/external/deqp/modules/gles2/functional/
Des2fShaderApiTests.cpp90 void setShaderSources (glu::Shader& shader, const ShaderSources& sources) in setShaderSources()
221 glu::Shader& createShader (const glu::ShaderType shaderType);
224 …glu::Shader& get (const glu::ShaderType shaderType) { DE_ASSERT(hasShader(shaderType)); return… in get()
229 std::map<glu::ShaderType, glu::Shader*> m_shaders;
240 …for (std::map<glu::ShaderType, glu::Shader*>::iterator shaderIter = m_shaders.begin(); shaderIter … in ~ShaderAllocator()
253 glu::Shader& ShaderAllocator::createShader (const glu::ShaderType shaderType) in createShader()
257 glu::Shader* const shader = new glu::Shader(m_context, shaderType); in createShader()
286 void logShader (TestLog& log, glu::RenderContext& renderCtx, glu::Shader& shader) in logShader()
291 …log << TestLog::Shader(getLogShaderType(shader.getType()), info.source, info.compileOk, info.infoL… in logShader()
309 …, glu::RenderContext& renderCtx, glu::Program& program, glu::Shader& vertShader, glu::Shader& frag… in logVertexFragmentProgram()
[all …]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPaint.java5 import android.graphics.Shader;
27 private Shader shader;
47 public Shader setShader(Shader shader) { in setShader()
64 public Shader getShader() { in getShader()
/external/deqp/modules/gles3/functional/
Des3fShaderApiTests.cpp107 void setShaderSources (glu::Shader& shader, const ShaderSources& sources) in setShaderSources()
274 glu::Shader& createShader (const glu::ShaderType shaderType);
277 …glu::Shader& get (const glu::ShaderType shaderType) { DE_ASSERT(hasShader(shaderType)); return… in get()
282 std::map<glu::ShaderType, glu::Shader*> m_shaders;
293 …for (std::map<glu::ShaderType, glu::Shader*>::iterator shaderIter = m_shaders.begin(); shaderIter … in ~ShaderAllocator()
306 glu::Shader& ShaderAllocator::createShader (const glu::ShaderType shaderType) in createShader()
310 glu::Shader* const shader = new glu::Shader(m_context, shaderType); in createShader()
339 void logShader (TestLog& log, glu::RenderContext& renderCtx, glu::Shader& shader) in logShader()
345 …log << TestLog::Shader(getLogShaderType(shader.getType()), info.source, info.compileOk, info.infoL… in logShader()
363 …, glu::RenderContext& renderCtx, glu::Program& program, glu::Shader& vertShader, glu::Shader& frag… in logVertexFragmentProgram()
[all …]
/external/deqp/data/gles31/shaders/
Dlinkage_io_block.test3 desc "Shader io block mismatch: different number of declarations"
39 desc "Shader io block mismatch: different member declaration order"
76 desc "Shader io block mismatch: different member type"
112 desc "Shader io block mismatch: different member name"
147 desc "Shader io block mismatch: different member array size"
182 desc "Shader io block: with and without instance name"
222 desc "Shader io block mismatch: different array size"
257 desc "Shader io block mismatch: missing output block"
Dlinkage_shader_storage_block.test4 desc "Shader storage block mismatch: different number of declarations"
43 desc "Shader storage block mismatch: different number of declarations"
83 desc "Shader storage block mismatch: different number of declarations"
121 desc "Shader storage block mismatch: different number of declarations"
159 desc "Shader storage block mismatch: different number of declarations"
197 desc "Shader storage block mismatch: different number of declarations"
235 desc "Shader storage block mismatch: different number of declarations"
273 desc "Shader storage block mismatch: different number of declarations"
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/
DRenderer.java40 import com.jme3.shader.Shader;
41 import com.jme3.shader.Shader.ShaderSource;
177 public void setShader(Shader shader); in setShader()
185 public void deleteShader(Shader shader); in deleteShader()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DBitmapDrawableTest.java7 import android.graphics.Shader;
99 drawable.setTileModeXY(Shader.TileMode.REPEAT, Shader.TileMode.MIRROR); in shouldSetTileModeXY()
100 assertEquals(Shader.TileMode.REPEAT, drawable.getTileModeX()); in shouldSetTileModeXY()
101 assertEquals(Shader.TileMode.MIRROR, drawable.getTileModeY()); in shouldSetTileModeXY()
/external/jmonkeyengine/engine/src/core/com/jme3/system/
DNullRenderer.java44 import com.jme3.shader.Shader;
45 import com.jme3.shader.Shader.ShaderSource;
101 public void setShader(Shader shader) { in setShader()
104 public void deleteShader(Shader shader) { in deleteShader()
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DXYPlotWithBgImgActivity.java17 …private Shader WHITE_SHADER = new LinearGradient(1, 1, 1, 1, Color.WHITE, Color.WHITE, Shader.Tile…
117 Shader.TileMode.REPEAT, in onGraphStyleToggle()
118 Shader.TileMode.REPEAT); in onGraphStyleToggle()
/external/jmonkeyengine/engine/src/core/com/jme3/asset/
DDesktopAssetManager.java41 import com.jme3.shader.Shader;
387 public Shader loadShader(ShaderKey key){ in loadShader()
390 Shader s = (Shader) cache.getFromCache(key); in loadShader()
398 s = new Shader(key.getLanguage()); in loadShader()
399 … s.addSource(Shader.ShaderType.Vertex, vertName, vertSource, key.getDefines().getCompiled()); in loadShader()
400 … s.addSource(Shader.ShaderType.Fragment, fragName, fragSource, key.getDefines().getCompiled()); in loadShader()

123456