Lines Matching defs:context

48 	static GLuint createAndBuildProgram(deqp::Context& context, const GLchar* cs_code, const GLchar* fs_code,
52 static GLuint createAndCompileShader(deqp::Context& context, const GLenum type, const GLchar* code);
54 static GLuint createAndFill2DTexture(deqp::Context& context, GLuint width, GLuint height, GLenum internal_format,
57 static void deleteProgram(deqp::Context& context, const GLuint id);
58 static void deleteShader(deqp::Context& context, const GLuint id);
59 static void deleteTexture(deqp::Context& context, const GLuint id);
60 static bool isExtensionSupported(deqp::Context& context, const GLchar* extension_name);
67 * @param context Test context
77 GLuint Utils::createAndBuildProgram(deqp::Context& context, const GLchar* cs_code, const GLchar* fs_code,
83 const Functions& gl = context.getRenderContext().getFunctions();
101 shader_ids[i] = createAndCompileShader(context, shader_types[i], shader_sources[i]);
110 context.getTestContext().getLog() << tcu::TestLog::Message
117 deleteShader(context, shader_ids[j]);
146 deleteShader(context, shader_ids[j]);
169 context.getTestContext().getLog() << tcu::TestLog::Message << "Program linking failed: " << message
173 deleteProgram(context, id);
184 deleteShader(context, shader_ids[j]);
195 * @param context Test context
201 GLuint Utils::createAndCompileShader(deqp::Context& context, const GLenum type, const GLchar* code)
203 const Functions& gl = context.getRenderContext().getFunctions();
239 context.getTestContext().getLog() << tcu::TestLog::Message << "Shader (" << glu::getShaderTypeStr(type)
242 deleteShader(context, id);
248 deleteShader(context, id);
257 * @param context Test context
267 GLuint Utils::createAndFill2DTexture(deqp::Context& context, GLuint width, GLuint height, GLenum internal_format,
270 const Functions& gl = context.getRenderContext().getFunctions();
304 * @param context Test context
307 void Utils::deleteProgram(deqp::Context& context, const GLuint id)
309 const glw::Functions& gl = context.getRenderContext().getFunctions();
319 * @param context Test context
322 void Utils::deleteShader(deqp::Context& context, const GLuint id)
324 const glw::Functions& gl = context.getRenderContext().getFunctions();
334 * @param context Test context
337 void Utils::deleteTexture(deqp::Context& context, const GLuint id)
339 const glw::Functions& gl = context.getRenderContext().getFunctions();
349 * @param context Test context
354 bool Utils::isExtensionSupported(deqp::Context& context, const GLchar* extension_name)
356 const std::vector<std::string>& extensions = context.getContextInfo().getExtensions();
591 * @param context Test context
593 FunctionalTest::FunctionalTest(deqp::Context& context)
594 : TestCase(context, "functional", "Checks if sampling stencil texture gives expected results")
1285 StencilTexturingTests::StencilTexturingTests(deqp::Context& context) : TestCaseGroup(context, "stencil_texturing", "")