/external/deqp/modules/gles31/functional/ |
es31fVertexAttributeBindingTests.cpp | 151 glu::ShaderProgram* m_program; member in class:deqp::gles31::Functional::__anon17642::BindingRenderCase 158 , m_program (DE_NULL) 190 delete m_program; 191 m_program = DE_NULL; 321 const int positionLoc = gl.glGetAttribLocation(m_program->getProgram(), "a_position"); 322 const int colorLoc = gl.glGetAttribLocation(m_program->getProgram(), "a_color"); 323 const int colorUniformLoc = gl.glGetUniformLocation(m_program->getProgram(), "u_color"); 333 gl.glUseProgram(m_program->getProgram()); 488 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(genVertexSource()) << glu::FragmentSource(s_colorFragmentShader)); 489 m_testCtx.getLog() << *m_program; [all...] |
es31fShaderSharedVarTests.cpp | 89 ShaderProgram* m_program; member in class:deqp::gles31::Functional::SharedBasicVarCase 106 , m_program (DE_NULL) 156 DE_ASSERT(!m_program); 157 m_program = new ShaderProgram(m_context.getRenderContext(), ProgramSources() << ComputeSource(src.str())); 159 m_testCtx.getLog() << *m_program; 161 if (!m_program->isOk()) 163 delete m_program; 164 m_program = DE_NULL; 171 delete m_program; 172 m_program = DE_NULL [all...] |
es31fShaderAtomicOpTests.cpp | 93 ShaderProgram* m_program; member in class:deqp::gles31::Functional::ShaderAtomicOpCase 105 , m_program (DE_NULL) 171 DE_ASSERT(!m_program); 172 m_program = new ShaderProgram(m_context.getRenderContext(), ProgramSources() << ComputeSource(src.str())); 174 m_testCtx.getLog() << *m_program; 176 if (!m_program->isOk()) 178 delete m_program; 179 m_program = DE_NULL; 186 delete m_program; 187 m_program = DE_NULL [all...] |
es31fLayoutBindingTests.cpp | 330 const glu::ShaderProgram* m_program; member in class:deqp::gles31::Functional::__anon17511::LayoutBindingRenderCase 364 , m_program (DE_NULL) 470 DE_ASSERT(!m_program); 472 m_program = generateShaders(); 473 m_testCtx.getLog() << *m_program; 475 if (!m_program->isOk()) 481 const deUint32 program = m_program->getProgram(); 523 if (m_program) 525 delete m_program; 526 m_program = DE_NULL 703 const glu::ShaderProgram* m_program; member in class:deqp::gles31::Functional::__anon17511::LayoutBindingNegativeCase [all...] |
es31fGeometryShaderTests.cpp | 2174 VertexExpanderShader* m_program; member in class:deqp::gles31::Functional::__anon17501::GeometryExpanderRenderTest 2221 VertexEmitterShader* m_program; member in class:deqp::gles31::Functional::__anon17501::EmitTest 2285 VertexVaryingShader* m_program; member in class:deqp::gles31::Functional::__anon17501::VaryingTest 2372 VertexExpanderShader* m_program; member in class:deqp::gles31::Functional::__anon17501::NegativeDrawCase 2473 OutputCountShader* m_program; member in class:deqp::gles31::Functional::__anon17501::OutputCountCase 2583 BuiltinVariableShader* m_program; member in class:deqp::gles31::Functional::__anon17501::BuiltinVariableRenderTest 3717 VaryingOutputCountShader* m_program; member in class:deqp::gles31::Functional::__anon17501::VaryingOutputCountCase [all...] |
es31fDrawElementsBaseVertexTests.cpp | 185 glu::ShaderProgram* m_program; member in class:deqp::gles31::Functional::__anon17493::VertexIDCase 206 , m_program (DE_NULL) 225 DE_ASSERT(!m_program); 226 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::makeVtxFragSources( 245 m_testCtx.getLog() << *m_program; 247 if (!m_program->isOk()) 249 delete m_program; 250 m_program = DE_NULL; 254 GLU_CHECK_GLW_CALL(m_gl, useProgram(m_program->getProgram())); 262 delete m_program; [all...] |
es31fMultisampleShaderRenderCase.cpp | 75 , m_program (DE_NULL) 295 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(genVertexSource(m_numTargetSamples)) << glu::FragmentSource(genFragmentSource(m_numTargetSamples))); 296 m_testCtx.getLog() << tcu::TestLog::Section("RenderShader", "Render shader") << *m_program << tcu::TestLog::EndSection; 297 if (!m_program->isOk()) 317 delete m_program; 318 m_program = DE_NULL; 458 delete m_program; 459 m_program = DE_NULL; 461 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() 464 m_testCtx.getLog() << tcu::TestLog::Section("RenderShader", "Render shader") << *m_program << tcu::TestLog::EndSection [all...] |
es31fMultisampleShaderRenderCase.hpp | 116 glu::ShaderProgram* m_program; member in class:deqp::gles31::Functional::MultisampleShaderRenderUtil::MultisampleRenderCase
|
es31fTessellationTests.cpp | [all...] |
es31fAdvancedBlendTests.cpp | 144 glu::ShaderProgram* m_program; member in class:deqp::gles31::Functional::__anon17481::AdvancedBlendCase 174 , m_program (DE_NULL) 260 DE_ASSERT(!m_program); 264 m_program = new glu::ShaderProgram(m_context.getRenderContext(), getBlendProgramSrc(sglr::rr_util::mapGLBlendEquationAdvanced(m_blendMode), m_context.getRenderContext())); 265 m_testCtx.getLog() << *m_program; 267 if (!m_program->isOk()) 269 delete m_program; 270 m_program = DE_NULL; 329 delete m_program; 333 m_program = DE_NULL [all...] |
/external/deqp/modules/gles3/functional/ |
es3fRasterizerDiscardTests.cpp | 99 glu::ShaderProgram* m_program; member in class:deqp::gles3::Functional::RasterizerDiscardCase 113 , m_program (DE_NULL) 226 DE_ASSERT(!m_program); 227 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::makeVtxFragSources(vertShaderSource, fragShaderSource)); 229 if (!m_program->isOk()) 231 m_testCtx.getLog() << *m_program; 242 delete m_program; 243 m_program = DE_NULL; 250 deUint32 colorUnif = glGetUniformLocation(m_program->getProgram(), "u_color"); 258 DE_ASSERT (m_program); [all...] |
es3fDefaultVertexAttributeTests.cpp | 263 glu::ShaderProgram* m_program; member in class:deqp::gles3::Functional::__anon17220::AttributeCase 281 , m_program (DE_NULL) 328 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(genVertexSource()) << glu::FragmentSource(s_passThroughFragmentShaderSource)); 329 m_testCtx.getLog() << *m_program; 330 if (!m_program->isOk()) 356 delete m_program; 357 m_program = DE_NULL; 448 const int positionIndex = gl.glGetAttribLocation(m_program->getProgram(), "a_position"); 449 const int valueIndex = gl.glGetAttribLocation(m_program->getProgram(), "a_value"); 467 gl.glUseProgram(m_program->getProgram()) [all...] |
es3fVertexTextureTests.cpp | 511 const glu::ShaderProgram* m_program; member in class:deqp::gles3::Functional::Vertex2DTextureCase 521 , m_program (DE_NULL) 561 DE_ASSERT(!m_program); 562 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShader, fragmentShader)); 564 if(!m_program->isOk()) 566 m_testCtx.getLog() << *m_program; 638 delete m_program; 639 m_program = DE_NULL; 665 glUseProgram(m_program->getProgram()); 735 const deUint32 programID = m_program->getProgram() 817 const glu::ShaderProgram* m_program; member in class:deqp::gles3::Functional::VertexCubeTextureCase 1155 const glu::ShaderProgram* m_program; member in class:deqp::gles3::Functional::Vertex2DArrayTextureCase 1494 const glu::ShaderProgram* m_program; member in class:deqp::gles3::Functional::Vertex3DTextureCase [all...] |
es3fInstancedRenderingTests.cpp | 139 glu::ShaderProgram* m_program; member in class:deqp::gles3::Functional::InstancedRenderingCase 148 , m_program (DE_NULL) 302 DE_ASSERT(!m_program); 303 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::makeVtxFragSources(vertShaderSourceStr, fragShaderSource)); 307 log << *m_program; local 309 if(!m_program->isOk()) 430 delete m_program; 431 m_program = DE_NULL; 507 deUint32 program = m_program->getProgram();
|
es3fPrimitiveRestartTests.cpp | 128 glu::ShaderProgram* m_program; member in class:deqp::gles3::Functional::PrimitiveRestartCase 139 , m_program (DE_NULL) 150 delete m_program; 151 m_program = DE_NULL; 237 DE_ASSERT(!m_program); 238 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::makeVtxFragSources(vertShaderSource, fragShaderSource)); 240 if(!m_program->isOk()) 242 m_testCtx.getLog() << *m_program; 475 deUint32 program = m_program->getProgram();
|
es3fOcclusionQueryTests.cpp | 92 glu::ShaderProgram* m_program; member in class:deqp::gles3::Functional::OcclusionQueryCase 108 , m_program (DE_NULL) 166 DE_ASSERT(!m_program); 167 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::makeVtxFragSources(vertShaderSource, fragShaderSource)); 169 if (!m_program->isOk()) 171 m_testCtx.getLog() << *m_program; 172 delete m_program; 173 m_program = DE_NULL; 183 delete m_program; 184 m_program = DE_NULL [all...] |
/external/deqp/modules/glshared/ |
glsShaderPerformanceCase.hpp | 81 glu::ShaderProgram* m_program; member in class:deqp::gls::ShaderPerformanceCase
|
glsSamplerObjectTest.hpp | 89 glu::ShaderProgram* m_program; member in class:deqp::gls::TextureSamplerTest 148 glu::ShaderProgram* m_program; member in class:deqp::gls::MultiTextureSamplerTest
|
glsFragmentOpUtil.hpp | 78 glu::ShaderProgram* m_program; member in class:deqp::gls::FragmentOpUtil::QuadRenderer
|
glsShaderExecUtil.cpp | 707 bool isOk (void) const { return m_program.isOk(); } 708 void log (tcu::TestLog& dst) const { dst << m_program; } local 709 deUint32 getProgram (void) const { return m_program.getProgram(); } 712 const glu::ShaderProgram m_program; member in class:deqp::gls::ShaderExecUtil::VertexShaderExecutor 717 , m_program (renderCtx, 736 bool isOk (void) const { return m_program.isOk(); } 737 void log (tcu::TestLog& dst) const { dst << m_program; } local 738 deUint32 getProgram (void) const { return m_program.getProgram(); } 741 const glu::ShaderProgram m_program; member in class:deqp::gls::ShaderExecUtil::GeometryShaderExecutor 757 , m_program (renderCtx 777 void log (tcu::TestLog& dst) const { dst << m_program; } local 781 const glu::ShaderProgram m_program; member in class:deqp::gls::ShaderExecUtil::FragmentShaderExecutor 819 void log (tcu::TestLog& dst) const { dst << m_program; } local 841 glu::ShaderProgram m_program; member in class:deqp::gls::ShaderExecUtil::BufferIoExecutor [all...] |
/external/deqp/modules/gles2/functional/ |
es2fDefaultVertexAttributeTests.cpp | 187 glu::ShaderProgram* m_program; member in class:deqp::gles2::Functional::__anon17091::AttributeCase 205 , m_program (DE_NULL) 252 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(genVertexSource()) << glu::FragmentSource(s_passThroughFragmentShaderSource)); 253 m_testCtx.getLog() << *m_program; 254 if (!m_program->isOk()) 280 delete m_program; 281 m_program = DE_NULL; 371 const int positionIndex = gl.glGetAttribLocation(m_program->getProgram(), "a_position"); 372 const int valueIndex = gl.glGetAttribLocation(m_program->getProgram(), "a_value"); 390 gl.glUseProgram(m_program->getProgram()) [all...] |
es2fVertexTextureTests.cpp | 414 const glu::ShaderProgram* m_program; member in class:deqp::gles2::Functional::Vertex2DTextureCase 424 , m_program (DE_NULL) 461 DE_ASSERT(!m_program); 462 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShader, fragmentShader)); 464 if(!m_program->isOk()) 466 m_testCtx.getLog() << *m_program; 538 delete m_program; 539 m_program = DE_NULL; 565 glUseProgram(m_program->getProgram()); 635 const deUint32 programID = m_program->getProgram() 717 const glu::ShaderProgram* m_program; member in class:deqp::gles2::Functional::VertexCubeTextureCase [all...] |
/external/deqp/modules/gles2/performance/ |
es2pDrawCallBatchingTests.cpp | 113 glu::ShaderProgram* m_program; member in class:deqp::gles2::Performance::__anon17179::DrawCallBatchingTest 158 , m_program (NULL) 259 m_program = new glu::ShaderProgram(m_renderCtx, glu::ProgramSources() << glu::VertexSource(vertexShader.str()) << glu::FragmentSource(fragmentShader.str())); 261 m_testCtx.getLog() << (*m_program); 262 TCU_CHECK(m_program->isOk()); 500 delete m_program; 501 m_program = NULL; 585 gl.useProgram(m_program->getProgram()); 590 GLint location = gl.getAttribLocation(m_program->getProgram(), ("a_static" + de::toString(attribNdx)).c_str()); 607 GLint location = gl.getAttribLocation(m_program->getProgram(), ("a_dyn" + de::toString(attribNdx)).c_str()) [all...] |
/external/deqp/modules/gles2/stress/ |
es2sSpecialFloatTests.cpp | 119 const glu::ShaderProgram* m_program; member in class:deqp::gles2::Stress::__anon17195::RenderCase 125 , m_program (DE_NULL) 161 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(genVertexSource()) << glu::FragmentSource(genFragmentSource())); 162 m_testCtx.getLog() << *m_program; 164 if (!m_program->isOk()) 170 if (m_program) 172 delete m_program; 173 m_program = DE_NULL; 641 const GLint positionLoc = gl.getAttribLocation(m_program->getProgram(), "a_pos"); 642 const GLint attribLoc = gl.getAttribLocation(m_program->getProgram(), "a_attr") [all...] |
/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/01_HelloAPI/OGLES2/ |
OGLES2HelloAPI_OSX.mm | 53 GLuint m_program; 544 if(![self initialiseFragmentShader:m_fragShader andVertexShader:m_vertexBuffer withProgram:m_program]) 579 int matrixLocation = glGetUniformLocation(m_program, "transformationMatrix"); 647 glDeleteProgram(m_program);
|