/external/deqp/modules/gles31/functional/ |
es31fShaderTextureSizeTests.cpp | 93 glu::ShaderProgram* m_shader; member in class:deqp::gles31::Functional::__anon4038::TextureSizeCase 108 , m_shader (DE_NULL) 171 m_shader = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(s_positionVertexShaderSource) << glu::FragmentSource(genFragmentSource())); 172 m_testCtx.getLog() << *m_shader; 173 if (!m_shader->isOk()) 233 if (m_shader) 235 delete m_shader; 236 m_shader = DE_NULL; 411 const int positionLoc = gl.getAttribLocation(m_shader->getProgram(), "a_position"); 412 const int shaderSamplerLoc = gl.getUniformLocation(m_shader->getProgram(), "u_sampler") [all...] |
es31fSSBOArrayLengthTests.cpp | 68 glu::ShaderProgram* m_shader; member in class:deqp::gles31::Functional::__anon4003::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...] |
/external/deqp/framework/randomshaders/ |
rsgGeneratorState.hpp | 62 Shader& getShader (void) { return *m_shader; } 93 Shader* m_shader; member in class:rsg::GeneratorState
|
/external/deqp/modules/gles3/functional/ |
es3fRasterizationTests.cpp | 135 glu::ShaderProgram* m_shader; member in class:deqp::gles3::Functional::__anon3744::BaseRenderingCase 153 , m_shader (DE_NULL) 203 m_shader = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(vertexSource.specialize(params)) << glu::FragmentSource(fragmentSource.specialize(params))); 204 if (!m_shader->isOk()) 309 if (m_shader) 311 delete m_shader; 312 m_shader = DE_NULL; 357 const glw::GLint positionLoc = gl.getAttribLocation(m_shader->getProgram(), "a_position"); 358 const glw::GLint colorLoc = gl.getAttribLocation(m_shader->getProgram(), "a_color"); 359 const glw::GLint pointSizeLoc = gl.getUniformLocation(m_shader->getProgram(), "u_pointSize") [all...] |
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...] |
/external/deqp/framework/opengl/ |
gluShaderProgram.hpp | 81 deUint32 getShader (void) const { return m_shader; } 96 deUint32 m_shader; //!< Shader handle. member in class:glu::Shader
|
/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/modules/gles2/functional/ |
es2fRasterizationTests.cpp | 100 glu::ShaderProgram* m_shader; member in class:deqp::gles2::Functional::__anon3596::BaseRenderingCase 110 , m_shader (DE_NULL) 166 m_shader = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(vertexSource.specialize(params)) << glu::FragmentSource(fragmentSource.specialize(params))); 167 if (!m_shader->isOk()) 174 if (m_shader) 176 delete m_shader; 177 m_shader = DE_NULL; 192 const glw::GLint positionLoc = gl.getAttribLocation(m_shader->getProgram(), "a_position"); 193 const glw::GLint colorLoc = gl.getAttribLocation(m_shader->getProgram(), "a_color"); 194 const glw::GLint pointSizeLoc = gl.getUniformLocation(m_shader->getProgram(), "u_pointSize") [all...] |
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...] |
/external/deqp/modules/egl/ |
teglGLES2SharingTests.cpp | 826 GLuint m_shader; member in class:deqp::egl::GLES2ShaderSharingTest 837 , m_shader (0) 862 m_shader = glCreateShader(m_shaderType); 868 GLU_CHECK_CALL(glShaderSource(m_shader, 1, &vertexShader, NULL)); 872 GLU_CHECK_CALL(glShaderSource(m_shader, 1, &fragmentShader, NULL)); 879 GLU_CHECK_CALL(glCompileShader(m_shader)); 882 GLU_CHECK_CALL(glGetShaderiv(m_shader, GL_COMPILE_STATUS, &status)); 887 GLU_CHECK_CALL(glGetShaderInfoLog(m_shader, 256, NULL, buffer)); 912 GLU_CHECK_CALL(glDeleteShader(m_shader)); 993 GLU_CHECK_CALL(glAttachShader(program, m_shader)); [all...] |
teglGLES2SharingThreadedTests.cpp | 1348 SharedPtr<Shader> m_shader; member in class:deqp::egl::GLES2ThreadTest::CreateShader 1381 SharedPtr<Shader> m_shader; member in class:deqp::egl::GLES2ThreadTest::DeleteShader 1409 SharedPtr<Shader> m_shader; member in class:deqp::egl::GLES2ThreadTest::ShaderSource 1438 SharedPtr<Shader> m_shader; member in class:deqp::egl::GLES2ThreadTest::ShaderCompile 1546 SharedPtr<Shader> m_shader; member in class:deqp::egl::GLES2ThreadTest::AttachShader [all...] |