Lines Matching refs:lastError
97 GLenum lastError; member in tcu::null::Context
123 , lastError (GL_NO_ERROR) in Context()
270 const GLenum lastErr = ctx->lastError; in glGetError()
272 ctx->lastError = GL_NO_ERROR; in glGetError()
459 ctx->lastError = GL_INVALID_ENUM; in glGetString()
474 ctx->lastError = GL_INVALID_VALUE; in glGetStringi()
480 ctx->lastError = GL_INVALID_ENUM; in glGetStringi()
622 if (ctx->lastError == GL_NO_ERROR) in glMapBufferRange()
623 ctx->lastError = GL_INVALID_OPERATION; in glMapBufferRange()
646 if (ctx->lastError == GL_NO_ERROR) in glReadPixels()
647 ctx->lastError = GL_INVALID_ENUM; in glReadPixels()
657 if (ctx->lastError == GL_NO_ERROR) in glReadPixels()
658 ctx->lastError = GL_INVALID_ENUM; in glReadPixels()
665 if (ctx->lastError == GL_NO_ERROR) in glReadPixels()
666 ctx->lastError = GL_INVALID_OPERATION; in glReadPixels()