Home
last modified time | relevance | path

Searched refs:m_shader (Results 1 – 15 of 15) sorted by relevance

/external/deqp/modules/gles31/functional/
Des31fSSBOArrayLengthTests.cpp68 glu::ShaderProgram* m_shader; member in deqp::gles31::Functional::__anon38ffc5710111::SSBOArrayLengthCase
79 , m_shader (DE_NULL) in SSBOArrayLengthCase()
96m_shader = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::Comp… in init()
97 m_testCtx.getLog() << *m_shader; in init()
99 if (!m_shader->isOk()) in init()
119 …const deUint32 index = gl.getProgramResourceIndex(m_shader->getProgram(), GL_BUFFER_VARIABLE, "Ou… in init()
126 …gl.getProgramResourceiv(m_shader->getProgram(), GL_BUFFER_VARIABLE, index, 1, &prop, 1, DE_NULL, &… in init()
132 …const deUint32 index = gl.getProgramResourceIndex(m_shader->getProgram(), GL_BUFFER_VARIABLE, "Ou… in init()
139 …gl.getProgramResourceiv(m_shader->getProgram(), GL_BUFFER_VARIABLE, index, 1, &prop, 1, DE_NULL, &… in init()
145 …const deUint32 index = gl.getProgramResourceIndex(m_shader->getProgram(), GL_BUFFER_VARIABLE, "Ta… in init()
[all …]
Des31fShaderTextureSizeTests.cpp93 glu::ShaderProgram* m_shader; member in deqp::gles31::Functional::__anon5871c5bc0111::TextureSizeCase
108 , m_shader (DE_NULL) in TextureSizeCase()
174m_shader = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::Vert… in init()
175 m_testCtx.getLog() << *m_shader; in init()
176 if (!m_shader->isOk()) in init()
236 if (m_shader) in deinit()
238 delete m_shader; in deinit()
239 m_shader = DE_NULL; in deinit()
414 const int positionLoc = gl.getAttribLocation(m_shader->getProgram(), "a_position"); in runShader()
415 const int shaderSamplerLoc = gl.getUniformLocation(m_shader->getProgram(), "u_sampler"); in runShader()
[all …]
/external/deqp/framework/referencerenderer/
DrrShaders.hpp206 VertexShaderLoop (const Shader& shader) : m_shader(shader) {} in VertexShaderLoop()
211 const Shader& m_shader; member in rr::VertexShaderLoop
218 m_shader.shadeVertex(inputs, packets[ndx]); in shadeVertices()
225 FragmentShaderLoop (const Shader& shader) : m_shader(shader) {} in FragmentShaderLoop()
230 const Shader& m_shader; member in rr::FragmentShaderLoop
237 m_shader.shadeFragment(packets[ndx]); in shadeFragments()
/external/deqp/framework/opengl/
DgluShaderProgram.cpp42 , m_shader (0) in Shader()
45 m_shader = m_gl.createShader(getGLShaderType(shaderType)); in Shader()
47 TCU_CHECK(m_shader); in Shader()
52 , m_shader (0) in Shader()
55 m_shader = m_gl.createShader(getGLShaderType(shaderType)); in Shader()
57 TCU_CHECK(m_shader); in Shader()
62 m_gl.deleteShader(m_shader); in ~Shader()
67 m_gl.shaderSource(m_shader, numSourceStrings, sourceStrings, lengths); in setSources()
86 m_gl.compileShader(m_shader); in compile()
96 m_gl.getShaderiv(m_shader, GL_COMPILE_STATUS, &compileStatus); in compile()
[all …]
DgluShaderProgram.hpp91 deUint32 getShader (void) const { return m_shader; } in getShader()
106 deUint32 m_shader; //!< Shader handle. member in glu::Shader
/external/deqp/framework/randomshaders/
DrsgGeneratorState.cpp35 , m_shader (DE_NULL) in GeneratorState()
51 m_shader = &shader; in setShader()
DrsgGeneratorState.hpp62 Shader& getShader (void) { return *m_shader; } in getShader()
93 Shader* m_shader; member in rsg::GeneratorState
/external/deqp/modules/gles2/functional/
Des2fTextureUnitTests.cpp577 MultiTexShader* m_shader; member in deqp::gles2::Functional::TextureUnitCase
585 , m_shader (DE_NULL) in TextureUnitCase()
604 delete m_shader; in deinit()
605 m_shader = DE_NULL; in deinit()
742 DE_ASSERT(m_shader == DE_NULL); in init()
743 m_shader = new MultiTexShader(rnd.getUint32(), m_numUnits, unitTypes); in init()
789 m_shader->makeSafeLods(texSizes, IVec2(viewportWidth, viewportHeight)); in iterate()
903 deUint32 shaderID = context.createProgram(m_shader); in render()
909 m_shader->setUniforms(context, shaderID); in render()
Des2fStencilTests.cpp183 StencilShader m_shader; member in deqp::gles2::Functional::StencilCase
213 m_shader.setColor(context, m_shaderID, tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in executeOps()
268 m_shader.setColor(context, m_shaderID, color); in visualizeStencil()
326 m_shaderID = context.createProgram(&m_shader); in iterate()
345 m_shaderID = context.createProgram(&m_shader); in iterate()
Des2fRasterizationTests.cpp101 glu::ShaderProgram* m_shader; member in deqp::gles2::Functional::__anond877f6840111::BaseRenderingCase
111 , m_shader (DE_NULL) in BaseRenderingCase()
167m_shader = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::Vert… in init()
168 if (!m_shader->isOk()) in init()
175 if (m_shader) in deinit()
177 delete m_shader; in deinit()
178 m_shader = DE_NULL; in deinit()
193 const glw::GLint positionLoc = gl.getAttribLocation(m_shader->getProgram(), "a_position"); in drawPrimitives()
194 const glw::GLint colorLoc = gl.getAttribLocation(m_shader->getProgram(), "a_color"); in drawPrimitives()
195 const glw::GLint pointSizeLoc = gl.getUniformLocation(m_shader->getProgram(), "u_pointSize"); in drawPrimitives()
[all …]
/external/deqp/modules/egl/
DteglGLES2SharingTests.cpp787 GLuint m_shader; member in deqp::egl::GLES2ShaderSharingTest
798 , m_shader (0) in GLES2ShaderSharingTest()
823 m_shader = m_gl.createShader(m_shaderType); in createResource()
829 GLU_CHECK_GLW_CALL(m_gl, shaderSource(m_shader, 1, &vertexShader, DE_NULL)); in createResource()
833 GLU_CHECK_GLW_CALL(m_gl, shaderSource(m_shader, 1, &fragmentShader, DE_NULL)); in createResource()
840 GLU_CHECK_GLW_CALL(m_gl, compileShader(m_shader)); in createResource()
843 GLU_CHECK_GLW_CALL(m_gl, getShaderiv(m_shader, GL_COMPILE_STATUS, &status)); in createResource()
848 GLU_CHECK_GLW_CALL(m_gl, getShaderInfoLog(m_shader, 256, DE_NULL, buffer)); in createResource()
873 GLU_CHECK_GLW_CALL(m_gl, deleteShader(m_shader)); in destroyResource()
954 GLU_CHECK_GLW_CALL(m_gl, attachShader(program, m_shader)); in renderResource()
DteglGLES2SharingThreadedTests.cpp1341 SharedPtr<Shader> m_shader; member in deqp::egl::GLES2ThreadTest::CreateShader
1352 m_shader = shader; in CreateShader()
1365 m_shader->shader = shader; in exec()
1375 SharedPtr<Shader> m_shader; member in deqp::egl::GLES2ThreadTest::DeleteShader
1380 , m_shader (shader) in DeleteShader()
1382 modifyGLObject(SharedPtr<Object>(m_shader)); in DeleteShader()
1388 GLuint shader = m_shader->shader; in exec()
1394 m_shader->shader = 0; in exec()
1404 SharedPtr<Shader> m_shader; member in deqp::egl::GLES2ThreadTest::ShaderSource
1410 , m_shader (shader) in ShaderSource()
[all …]
/external/deqp/modules/gles3/functional/
Des3fStencilTests.cpp186 StencilShader m_shader; member in deqp::gles3::Functional::StencilCase
216 m_shader.setColor(context, m_shaderID, tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in executeOps()
271 m_shader.setColor(context, m_shaderID, color); in visualizeStencil()
329 m_shaderID = context.createProgram(&m_shader); in iterate()
348 m_shaderID = context.createProgram(&m_shader); in iterate()
Des3fTextureUnitTests.cpp740 MultiTexShader* m_shader; member in deqp::gles3::Functional::TextureUnitCase
748 , m_shader (DE_NULL) in TextureUnitCase()
775 delete m_shader; in deinit()
776 m_shader = DE_NULL; in deinit()
972 DE_ASSERT(m_shader == DE_NULL); in init()
973m_shader = new MultiTexShader(rnd.getUint32(), m_numUnits, unitTypes, samplerTypes, texScales, tex… in init()
1021 m_shader->makeSafeLods(texSizes, IVec2(viewportWidth, viewportHeight)); in iterate()
1208 deUint32 shaderID = context.createProgram(m_shader); in render()
1214 m_shader->setUniforms(context, shaderID); in render()
Des3fRasterizationTests.cpp136 glu::ShaderProgram* m_shader; member in deqp::gles3::Functional::__anon69566e260111::BaseRenderingCase
154 , m_shader (DE_NULL) in BaseRenderingCase()
204m_shader = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::Vert… in init()
205 if (!m_shader->isOk()) in init()
310 if (m_shader) in deinit()
312 delete m_shader; in deinit()
313 m_shader = DE_NULL; in deinit()
358 const glw::GLint positionLoc = gl.getAttribLocation(m_shader->getProgram(), "a_position"); in drawPrimitives()
359 const glw::GLint colorLoc = gl.getAttribLocation(m_shader->getProgram(), "a_color"); in drawPrimitives()
360 const glw::GLint pointSizeLoc = gl.getUniformLocation(m_shader->getProgram(), "u_pointSize"); in drawPrimitives()
[all …]