Lines Matching refs:glw

441 void checkRequiredGLSupport (const glw::Functions& gl, glu::ApiType requiredApi)
458 void checkGLSupportForParams (const glw::Functions& gl, const RobustnessTestCase::Params& params)
480 void initGLFunctions (glw::Functions* gl, const glu::ApiType apiType);
540 void RenderingContext::initGLFunctions (glw::Functions *gl, const glu::ApiType apiType)
546 // functions. This could be fixed by exposing glw::FunctionLoader in EglTestContext
570 ContextReset (glw::Functions& gl, tcu::TestLog& log, FixedFunctionType fixedFunctionType);
571 ContextReset (glw::Functions& gl, tcu::TestLog& log, ShaderType shaderType);
572 ContextReset (glw::Functions& gl, tcu::TestLog& log, ShaderType shaderType, ResourceType resourceType, ReadWriteType readWriteType);
582 glw::GLint getSyncStatus (void);
586 glw::GLint getError (void);
587 glw::GLint getGraphicsResetStatus (void);
588 glw::GLuint getQueryAvailability (void);
590 glw::GLsync getSyncObject (void) const { return m_sync; }
591 glw::GLuint getQueryID (void) const { return m_queryID; }
593 glw::Functions& m_gl;
604 glw::GLuint m_queryID;
605 glw::GLsync m_sync;
608 ContextReset::ContextReset (glw::Functions& gl, tcu::TestLog& log, FixedFunctionType fixedFunctionType)
615 ContextReset::ContextReset (glw::Functions& gl, tcu::TestLog& log, ShaderType shaderType, ResourceType resourceType, ReadWriteType readWriteType)
624 ContextReset::ContextReset (glw::Functions& gl, tcu::TestLog& log, ShaderType shaderType)
642 glw::GLint ContextReset::getError (void)
644 glw::GLint error;
650 glw::GLint ContextReset::getGraphicsResetStatus (void)
652 glw::GLint resetStatus;
658 glw::GLint ContextReset::getSyncStatus (void)
660 glw::GLint syncStatus;
661 m_gl.getSynciv(m_sync, GL_SYNC_STATUS, sizeof(glw::GLint), NULL, &syncStatus);
677 glw::GLuint ContextReset::getQueryAvailability (void)
679 glw::GLuint queryReady = GL_FALSE;
688 InfiniteLoop (glw::Functions& gl, tcu::TestLog& log, ShaderType shaderType);
700 glw::GLuint m_outputBuffer;
701 glw::GLuint m_coordinatesBuffer;
702 glw::GLint m_coordLocation;
705 InfiniteLoop::InfiniteLoop (glw::Functions& gl, tcu::TestLog& log, ShaderType shaderType)
842 const glw::GLfloat coords[] =
852 TCU_CHECK(m_coordLocation != (glw::GLint)-1);
858 GLU_CHECK_GLW_CALL(m_gl, bufferData(GL_ARRAY_BUFFER, (glw::GLsizeiptr)sizeof(coords), coords, GL_STATIC_DRAW));
863 glw::GLint iterCountLocation = m_gl.getUniformLocation(program.getProgram(), "u_iterCount");
865 TCU_CHECK(iterCountLocation != (glw::GLint)-1);
868 glw::GLint iterCount = -1;
878 const glw::GLushort indices[] = { 0, 1, 2, 2, 3, 0 };
912 FixedFunctionOOB (glw::Functions& gl, tcu::TestLog& log, FixedFunctionType fixedFunctionType);
927 glw::GLuint m_coordinatesBuffer;
928 glw::GLint m_coordLocation;
931 FixedFunctionOOB::FixedFunctionOOB (glw::Functions& gl, tcu::TestLog& log, FixedFunctionType fixedFunctionType)
984 const glw::GLfloat coords[] =
994 TCU_CHECK(m_coordLocation != (glw::GLint)-1);
1000 GLU_CHECK_GLW_CALL(m_gl, bufferData(GL_ARRAY_BUFFER, (glw::GLsizeiptr)sizeof(coords), coords, GL_STATIC_DRAW));
1007 const glw::GLint bad_indices[] = {0, 10, 100, 1000, 10000, 100000};
1037 ShadersOOB (glw::Functions& gl, tcu::TestLog& log, ShaderType shaderType, ResourceType resourceType, ReadWriteType readWriteType);
1047 glw::GLuint m_coordinatesBuffer;
1048 glw::GLint m_coordLocation;
1053 std::vector<glw::GLuint> m_buffers;
1064 ShadersOOB::ShadersOOB (glw::Functions& gl, tcu::TestLog& log, ShaderType shaderType, ResourceType resourceType, ReadWriteType readWriteType)
1309 const glw::GLint indexLocation = m_gl.getUniformLocation(program.getProgram(), "u_index");
1311 TCU_CHECK(indexLocation != (glw::GLint)-1);
1313 const glw::GLint index = -1;
1318 const glw::GLfloat coords[] =
1329 TCU_CHECK(m_coordLocation != (glw::GLint)-1);
1335 GLU_CHECK_GLW_CALL(m_gl, bufferData(GL_ARRAY_BUFFER, (glw::GLsizeiptr)sizeof(coords), coords, GL_STATIC_DRAW));
1346 GLU_CHECK_GLW_CALL(m_gl, genBuffers((glw::GLsizei)1u, &m_buffers[0]));
1355 GLU_CHECK_GLW_CALL(m_gl, genBuffers((glw::GLsizei)m_buffers.size(), &m_buffers[0]));
1359 const glw::GLenum resType = m_isUBO && (m_shaderType != SHADERTYPE_COMPUTE || bufNdx != 0)
1376 const glw::GLuint indices[] = {0, 1, 2, 2, 3, 0};
1402 GLU_CHECK_GLW_CALL(m_gl, deleteBuffers((glw::GLsizei)m_buffers.size(), &m_buffers[0]));
1437 glw::Functions gl;
1491 glw::Functions gl;
1502 glw::GLint reset = 0;
1551 glw::Functions gl;
1557 glw::GLint reset = 0;
1583 de::SharedPtr<ContextReset> contextResetFactory (const RobustnessTestCase::Params params, glw::Functions& gl, tcu::TestLog& log)
1612 void execute (glw::Functions& gl);
1624 glw::Functions gl;
1651 void ContextResetCase::execute (glw::Functions& gl)
1654 glw::GLboolean isContextRobust = GL_FALSE;
1665 const glw::GLenum status = gl.getGraphicsResetStatus();
1747 const glw::GLint status = contextReset->getGraphicsResetStatus();
1792 const glw::GLint status = contextReset->getSyncStatus();
1832 const glw::GLuint queryReady = contextReset->getQueryAvailability();
2003 glw::Functions gl;
2129 glw::Functions gl;
2148 const glw::GLint status = gl.getGraphicsResetStatus();