Lines Matching refs:glw

66 	const glw::Functions& gl = m_context.getRenderContext().getFunctions();
106 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
127 glw::GLint num_sample_counts_2dms = 1;
128 glw::GLint num_sample_counts_2dms_a = 1;
138 std::vector<glw::GLint> sample_counts_2dms(num_sample_counts_2dms);
139 std::vector<glw::GLint> sample_counts_2dms_a(num_sample_counts_2dms_a);
153 glw::GLint samples_attachment_1 = 0;
154 glw::GLint samples_attachment_2 = 0;
159 for (glw::GLint i_2dms = 0; i_2dms < num_sample_counts_2dms; i_2dms++)
161 for (glw::GLint i_2dms_a = 0; i_2dms_a < num_sample_counts_2dms_a; i_2dms_a++)
175 for (glw::GLuint index = 1; index < sample_counts_2dms.size(); ++index)
257 glw::GLenum fbo_status = gl.checkFramebufferStatus(GL_DRAW_FRAMEBUFFER);
294 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
336 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
405 glw::GLenum fbo_status = gl.checkFramebufferStatus(GL_DRAW_FRAMEBUFFER);
481 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
529 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
532 glw::GLint gl_max_samples_value = 0;
545 glw::GLint depth_component16_internalformat_max_samples = 0;
546 glw::GLint depth24_stencil8_internalformat_max_samples = 0;
547 glw::GLint rgba8_internalformat_max_samples = 0;
633 glw::GLenum fbo_completeness = gl.checkFramebufferStatus(GL_DRAW_FRAMEBUFFER);
716 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
758 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
761 glw::GLint gl_max_samples_value = 0;
827 glw::GLenum fbo_completeness = gl.checkFramebufferStatus(GL_DRAW_FRAMEBUFFER);
901 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
943 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
946 glw::GLint gl_max_integer_samples_value = 0;
947 glw::GLint gl_max_samples_value = 0;
987 const glw::GLenum internalformats[] = { GL_R8, GL_RGB565, GL_RGB10_A2UI, GL_SRGB8_ALPHA8, GL_R8I };
993 glw::GLenum internalformat_2d_multisample = internalformats[n_2d_multisample_internalformat];
996 glw::GLint num_sample_counts_2dms;
1001 std::vector<glw::GLint> sample_counts_2dms(num_sample_counts_2dms);
1021 glw::GLenum internalformat_2d_multisample_array = internalformats[n_2d_multisample_array_internalformat];
1022 glw::GLint num_sample_counts_2dms_array = 1;
1023 std::vector<glw::GLint> sample_counts_2dms_array(num_sample_counts_2dms_array);
1049 glw::GLenum internalformat_rbo = internalformats[n_rbo_internalformat];
1052 glw::GLint num_sample_counts_rbo;
1057 std::vector<glw::GLint> sample_counts_rbo(num_sample_counts_rbo);
1142 glw::GLenum fbo_completeness_status = gl.checkFramebufferStatus(GL_DRAW_FRAMEBUFFER);
1217 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1240 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1261 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1266 glw::GLint gl_max_internalformat_samples = 0;
1271 const glw::GLenum internalformats[] = {
1279 glw::GLenum internalformat = internalformats[n_internalformat];
1300 glw::GLint samples = gl_max_internalformat_samples;
1316 glw::GLenum attachment = (is_color_renderable) ?
1323 glw::GLenum error_code = gl.getError();
1367 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1390 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1411 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1416 glw::GLint gl_max_internalformat_samples = 0;
1421 const glw::GLenum internalformats[] = {
1428 glw::GLenum internalformat = internalformats[n_internalformat];
1449 glw::GLint samples = gl_max_internalformat_samples;
1465 glw::GLenum attachment = (is_color_renderable) ?
1480 glw::GLenum error_code = gl.getError();
1524 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1547 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1568 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1573 glw::GLint gl_max_internalformat_samples = 0;
1576 const glw::GLenum internalformats[] = {
1583 glw::GLenum internalformat = internalformats[n_internalformat];
1604 glw::GLint samples = gl_max_internalformat_samples;
1620 glw::GLenum attachment = (is_color_renderable) ?
1628 glw::GLenum error_code = gl.getError();
1673 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1696 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1724 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1729 glw::GLint gl_max_internalformat_samples = 0;
1732 const glw::GLenum internalformats[] = {
1739 glw::GLenum internalformat = internalformats[n_internalformat];
1758 glw::GLint gl_max_texture_size = 0;
1760 const glw::GLint max_level = glw::GLint(log(double(gl_max_texture_size)) / log(2.0));
1765 glw::GLint samples = gl_max_internalformat_samples;
1776 glw::GLenum attachment = (is_color_renderable) ?
1785 glw::GLenum error_code = gl.getError();
1828 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1844 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1858 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1863 glw::GLint gl_max_samples_value = 0;
1869 const glw::GLenum noninteger_internalformats[] = {
1877 glw::GLenum error_code = GL_NO_ERROR;
1878 const glw::GLenum internalformat = noninteger_internalformats[n_internalformat];
1879 glw::GLint gl_max_internalformat_samples_value = -1;
1923 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1939 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1953 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1958 glw::GLint gl_max_integer_samples_value = 0;
1964 const glw::GLenum integer_internalformats[] = { GL_RG8UI, GL_RGBA32I };
1969 glw::GLenum error_code = GL_NO_ERROR;
1970 const glw::GLenum internalformat = integer_internalformats[n_internalformat];
2011 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
2034 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
2050 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
2055 glw::GLint gl_max_internalformat_samples = 0;
2058 const glw::GLenum internalformats[] = {
2065 glw::GLenum internalformat = internalformats[n_internalformat];
2075 glw::GLint samples = gl_max_internalformat_samples;
2094 glw::GLenum attachment_type = GL_COLOR_ATTACHMENT0;
2141 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
2157 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
2172 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
2177 glw::GLint gl_max_internalformat_samples = 0;
2181 const glw::GLenum internalformats[] = {
2189 glw::GLenum internalformat = internalformats[n_internalformat];
2240 void MultisampleTextureDependenciesTexParameterTest::checkAllTexParameterInvocations(glw::GLenum expected_error_code,
2241 glw::GLint value,
2242 glw::GLenum pname,
2243 glw::GLenum texture_target)
2245 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
2247 glw::GLenum error_code = GL_NO_ERROR;
2248 const glw::GLfloat float_value = (glw::GLfloat)value;
2249 const glw::GLint int_value = value;
2307 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
2335 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
2371 const glw::GLenum texture_targets[] = { GL_TEXTURE_2D_MULTISAMPLE, GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES };
2376 glw::GLenum texture_target = texture_targets[n_texture_target];
2389 glw::GLenum expected_error_code = (n_iteration == 0) ? GL_NO_ERROR : GL_INVALID_OPERATION;
2390 glw::GLint int_value = (n_iteration == 0) ? 0 : 1;
2398 const glw::GLenum sampler_pnames[] = { GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_WRAP_S,
2405 glw::GLenum pname = sampler_pnames[n_sampler_pname];
2409 glw::GLenum texture_target = texture_targets[n_texture_target];
2429 glw::GLenum texture_target = texture_targets[n_texture_target];