/external/deqp/framework/randomshaders/ |
rsgGeneratorState.cpp | 35 , m_shader (DE_NULL) 51 m_shader = &shader;
|
rsgGeneratorState.hpp | 62 Shader& getShader (void) { return *m_shader; } 93 Shader* m_shader; member in class:rsg::GeneratorState
|
/external/deqp/modules/gles31/functional/ |
es31fSSBOArrayLengthTests.cpp | 68 glu::ShaderProgram* m_shader; member in class:deqp::gles31::Functional::__anon11221::SSBOArrayLengthCase 79 , m_shader (DE_NULL) 96 m_shader = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(genComputeSource())); 97 m_testCtx.getLog() << *m_shader; 99 if (!m_shader->isOk()) 119 const deUint32 index = gl.getProgramResourceIndex(m_shader->getProgram(), GL_BUFFER_VARIABLE, "Out.outLength"); 126 gl.getProgramResourceiv(m_shader->getProgram(), GL_BUFFER_VARIABLE, index, 1, &prop, 1, DE_NULL, &result); 132 const deUint32 index = gl.getProgramResourceIndex(m_shader->getProgram(), GL_BUFFER_VARIABLE, "Out.unused"); 139 gl.getProgramResourceiv(m_shader->getProgram(), GL_BUFFER_VARIABLE, index, 1, &prop, 1, DE_NULL, &result); 145 const deUint32 index = gl.getProgramResourceIndex(m_shader->getProgram(), GL_BUFFER_VARIABLE, "Target.array") [all...] |
es31fShaderTextureSizeTests.cpp | 93 glu::ShaderProgram* m_shader; member in class:deqp::gles31::Functional::__anon11261::TextureSizeCase 108 , m_shader (DE_NULL) 174 m_shader = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(s_positionVertexShaderSource) << glu::FragmentSource(genFragmentSource())); 175 m_testCtx.getLog() << *m_shader; 176 if (!m_shader->isOk()) 236 if (m_shader) 238 delete m_shader; 239 m_shader = DE_NULL; 414 const int positionLoc = gl.getAttribLocation(m_shader->getProgram(), "a_position"); 415 const int shaderSamplerLoc = gl.getUniformLocation(m_shader->getProgram(), "u_sampler") [all...] |
/external/deqp/framework/referencerenderer/ |
rrShaders.hpp | 206 VertexShaderLoop (const Shader& shader) : m_shader(shader) {} 211 const Shader& m_shader; member in class:rr::VertexShaderLoop 218 m_shader.shadeVertex(inputs, packets[ndx]); 225 FragmentShaderLoop (const Shader& shader) : m_shader(shader) {} 230 const Shader& m_shader; member in class:rr::FragmentShaderLoop 237 m_shader.shadeFragment(packets[ndx]);
|
/external/deqp/framework/opengl/ |
gluShaderProgram.cpp | 42 , m_shader (0) 45 m_shader = m_gl.createShader(getGLShaderType(shaderType)); 47 TCU_CHECK(m_shader); 52 , m_shader (0) 55 m_shader = m_gl.createShader(getGLShaderType(shaderType)); 57 TCU_CHECK(m_shader); 62 m_gl.deleteShader(m_shader); 67 m_gl.shaderSource(m_shader, numSourceStrings, sourceStrings, lengths); 86 m_gl.compileShader(m_shader); 96 m_gl.getShaderiv(m_shader, GL_COMPILE_STATUS, &compileStatus) [all...] |
gluShaderProgram.hpp | 91 deUint32 getShader (void) const { return m_shader; } 106 deUint32 m_shader; //!< Shader handle. member in class:glu::Shader
|
/external/deqp/modules/gles2/functional/ |
es2fStencilTests.cpp | 183 StencilShader m_shader; member in class:deqp::gles2::Functional::StencilCase 213 m_shader.setColor(context, m_shaderID, tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); 268 m_shader.setColor(context, m_shaderID, color); 326 m_shaderID = context.createProgram(&m_shader); 345 m_shaderID = context.createProgram(&m_shader);
|
es2fTextureUnitTests.cpp | 577 MultiTexShader* m_shader; member in class:deqp::gles2::Functional::TextureUnitCase 585 , m_shader (DE_NULL) 604 delete m_shader; 605 m_shader = DE_NULL; 742 DE_ASSERT(m_shader == DE_NULL); 743 m_shader = new MultiTexShader(rnd.getUint32(), m_numUnits, unitTypes); 789 m_shader->makeSafeLods(texSizes, IVec2(viewportWidth, viewportHeight)); 903 deUint32 shaderID = context.createProgram(m_shader); 909 m_shader->setUniforms(context, shaderID); [all...] |
es2fRasterizationTests.cpp | 101 glu::ShaderProgram* m_shader; member in class:deqp::gles2::Functional::__anon10751::BaseRenderingCase 111 , m_shader (DE_NULL) 167 m_shader = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(vertexSource.specialize(params)) << glu::FragmentSource(fragmentSource.specialize(params))); 168 if (!m_shader->isOk()) 175 if (m_shader) 177 delete m_shader; 178 m_shader = DE_NULL; 193 const glw::GLint positionLoc = gl.getAttribLocation(m_shader->getProgram(), "a_position"); 194 const glw::GLint colorLoc = gl.getAttribLocation(m_shader->getProgram(), "a_color"); 195 const glw::GLint pointSizeLoc = gl.getUniformLocation(m_shader->getProgram(), "u_pointSize") [all...] |
/external/deqp/modules/gles3/functional/ |
es3fStencilTests.cpp | 186 StencilShader m_shader; member in class:deqp::gles3::Functional::StencilCase 216 m_shader.setColor(context, m_shaderID, tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); 271 m_shader.setColor(context, m_shaderID, color); 329 m_shaderID = context.createProgram(&m_shader); 348 m_shaderID = context.createProgram(&m_shader);
|
es3fTextureUnitTests.cpp | 740 MultiTexShader* m_shader; member in class:deqp::gles3::Functional::TextureUnitCase 748 , m_shader (DE_NULL) 775 delete m_shader; 776 m_shader = DE_NULL; [all...] |
es3fRasterizationTests.cpp | 136 glu::ShaderProgram* m_shader; member in class:deqp::gles3::Functional::__anon10897::BaseRenderingCase 154 , m_shader (DE_NULL) 204 m_shader = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(vertexSource.specialize(params)) << glu::FragmentSource(fragmentSource.specialize(params))); 205 if (!m_shader->isOk()) 310 if (m_shader) 312 delete m_shader; 313 m_shader = DE_NULL; 358 const glw::GLint positionLoc = gl.getAttribLocation(m_shader->getProgram(), "a_position"); 359 const glw::GLint colorLoc = gl.getAttribLocation(m_shader->getProgram(), "a_color"); 360 const glw::GLint pointSizeLoc = gl.getUniformLocation(m_shader->getProgram(), "u_pointSize") [all...] |
/external/deqp/modules/egl/ |
teglGLES2SharingTests.cpp | 787 GLuint m_shader; member in class:deqp::egl::GLES2ShaderSharingTest 798 , m_shader (0) 823 m_shader = m_gl.createShader(m_shaderType); 829 GLU_CHECK_GLW_CALL(m_gl, shaderSource(m_shader, 1, &vertexShader, DE_NULL)); 833 GLU_CHECK_GLW_CALL(m_gl, shaderSource(m_shader, 1, &fragmentShader, DE_NULL)); 840 GLU_CHECK_GLW_CALL(m_gl, compileShader(m_shader)); 843 GLU_CHECK_GLW_CALL(m_gl, getShaderiv(m_shader, GL_COMPILE_STATUS, &status)); 848 GLU_CHECK_GLW_CALL(m_gl, getShaderInfoLog(m_shader, 256, DE_NULL, buffer)); 873 GLU_CHECK_GLW_CALL(m_gl, deleteShader(m_shader)); 954 GLU_CHECK_GLW_CALL(m_gl, attachShader(program, m_shader)); [all...] |
teglGLES2SharingThreadedTests.cpp | 1341 SharedPtr<Shader> m_shader; member in class:deqp::egl::GLES2ThreadTest::CreateShader 1375 SharedPtr<Shader> m_shader; member in class:deqp::egl::GLES2ThreadTest::DeleteShader 1404 SharedPtr<Shader> m_shader; member in class:deqp::egl::GLES2ThreadTest::ShaderSource 1434 SharedPtr<Shader> m_shader; member in class:deqp::egl::GLES2ThreadTest::ShaderCompile 1546 SharedPtr<Shader> m_shader; member in class:deqp::egl::GLES2ThreadTest::AttachShader [all...] |