Lines Matching defs:const

47 const int internalformat_view_compatibility_array[] = {
74 const int n_internalformat_view_compatibility_array_entries =
81 const glw::GLenum valid_gl_internalformats[] = {
169 const int n_valid_gl_internalformats = sizeof(valid_gl_internalformats) / sizeof(valid_gl_internalformats[0]);
183 const unsigned int n_valid_texture_targets = sizeof(valid_texture_targets) / sizeof(valid_texture_targets[0]);
193 unsigned int TextureViewUtilities::getAmountOfComponentsForInternalformat(const glw::GLenum internalformat)
309 unsigned int TextureViewUtilities::getBlockSizeForCompressedInternalformat(const glw::GLenum internalformat)
355 void TextureViewUtilities::getComponentSizeForInternalformat(const glw::GLenum internalformat,
606 void TextureViewUtilities::getComponentSizeForType(const glw::GLenum type, unsigned int* out_rgba_size)
720 const char* TextureViewUtilities::getErrorCodeString(const glw::GLint error_code)
756 _format TextureViewUtilities::getFormatOfInternalformat(const glw::GLenum internalformat)
883 glw::GLenum TextureViewUtilities::getGLFormatOfInternalformat(const glw::GLenum internalformat)
1072 const char* TextureViewUtilities::getGLSLDataTypeForSamplerType(const _sampler_type sampler_type,
1073 const unsigned int n_components)
1075 const char* result = "";
1175 const char* TextureViewUtilities::getGLSLTypeForSamplerType(const _sampler_type sampler_type)
1177 const char* result = "";
1279 const unsigned int n_array_elements = n_internalformat_view_compatibility_array_entries;
1283 const glw::GLenum internalformat = internalformat_view_compatibility_array[n_array_pair * 2 + 0];
1284 const _view_class current_view_class =
1304 const char* TextureViewUtilities::getInternalformatString(const glw::GLenum internalformat)
1306 const char* result = "[?]";
1603 const glw::GLenum original_texture_target = valid_texture_targets[n_original_texture_target];
1609 const glw::GLenum view_texture_target = valid_texture_targets[n_compatible_texture_target];
1628 void TextureViewUtilities::getMajorMinorVersionFromContextVersion(const glu::ContextType& context_type,
1683 _sampler_type TextureViewUtilities::getSamplerTypeForInternalformat(const glw::GLenum internalformat)
1800 unsigned int TextureViewUtilities::getTextureDataSize(const glw::GLenum internalformat, const glw::GLenum type,
1801 const unsigned int width, const unsigned int height)
1845 const char* TextureViewUtilities::getTextureTargetString(const glw::GLenum texture_target)
1847 const char* result = "[?]";
1898 glw::GLenum TextureViewUtilities::getTypeCompatibleWithInternalformat(const glw::GLenum internalformat)
2058 _view_class TextureViewUtilities::getViewClassForInternalformat(const glw::GLenum internalformat)
2107 void TextureViewUtilities::initTextureStorage(const glw::Functions& gl, bool init_mutable_to,
2114 const glw::GLenum cubemap_texture_targets[] = { GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X,
2117 const unsigned int n_cubemap_texture_targets = sizeof(cubemap_texture_targets) / sizeof(cubemap_texture_targets[0]);
2275 const unsigned n_levels = (texture_target == GL_TEXTURE_RECTANGLE) ? 1 : n_levels_needed;
2332 const unsigned int actual_texture_depth = 6 /* layer-faces */ * n_cubemaps_needed;
2363 const _view_class original_internalformat_view_class = getViewClassForInternalformat(original_internalformat);
2364 const _view_class view_internalformat_view_class = getViewClassForInternalformat(view_internalformat);
2376 bool TextureViewUtilities::isInternalformatCompressed(const glw::GLenum internalformat)
2417 bool TextureViewUtilities::isInternalformatSRGB(const glw::GLenum internalformat)
2431 bool TextureViewUtilities::isInternalformatSupported(glw::GLenum internalformat, const glw::GLint major_version,
2432 const glw::GLint minor_version)
2667 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
2703 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
2704 const int n_cubemaps_needed = 4; /* only used for GL_TEXTURE_CUBE_MAP_ARRAY */
2705 const int texture_depth = 16;
2706 const int texture_height = 32;
2707 const int texture_width = 64;
2709 const glw::GLenum texture_targets[] = {
2715 const _test_texture_type texture_types[] = { TEST_TEXTURE_TYPE_NO_STORAGE_ALLOCATED,
2720 const unsigned int n_texture_targets = sizeof(texture_targets) / sizeof(texture_targets[0]);
2721 const unsigned int n_texture_types = sizeof(texture_types) / sizeof(texture_types[0]);
2726 const _test_texture_type texture_type = texture_types[n_texture_type];
2732 const glw::GLenum texture_target = texture_targets[n_texture_target];
2744 const int n_levels_needed = 6;
2905 const unsigned int actual_texture_depth = 6 /* layer-faces */ * n_cubemaps_needed;
2919 const unsigned int n_iterations =
3038 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
3042 const std::vector<std::string>& extensions = m_context.getContextInfo().getExtensions();
3066 const _test_run& test_run = *test_run_iterator;
3139 const float epsilon = 1e-5f;
3287 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
3408 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
3412 const std::vector<std::string>& extensions = m_context.getContextInfo().getExtensions();
3433 const glw::GLint reference_bo_id = m_bo_id;
3434 const glw::GLint reference_to_depth = 2;
3435 const glw::GLenum reference_to_format = GL_RGBA;
3436 const glw::GLint reference_to_height = 64;
3437 const glw::GLenum reference_to_internalformat = GL_RGBA32F;
3438 const glw::GLint reference_n_cubemaps = 1;
3439 const glw::GLint reference_n_levels = 1;
3440 const glw::GLenum reference_to_type = GL_FLOAT;
3441 const glw::GLint reference_to_width = 64;
3583 const glw::GLint invalid_to_id = 0xFFFFFFFF;
4265 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
4317 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
4367 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
4401 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
4431 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
4591 const int* bo_storage_ptr = (const int*)gl.mapBuffer(GL_TRANSFORM_FEEDBACK_BUFFER, GL_READ_ONLY);
4610 const int* vertex_data_ptr = bo_storage_ptr + n_vertex * 4 /* as per comment */;
4670 const unsigned char* row_ptr = m_result_data + m_reference_texture_width * y * 4 /* RGBA */;
4674 const unsigned char* pixel_ptr = row_ptr + x * 4 /* RGBA */;
4789 const unsigned int index =
4807 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
4850 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
4875 const char* token_n_samples = "N_SAMPLES";
4876 const char* token_sampler_declarations = "SAMPLER_DECLARATIONS";
4877 const char* token_sample_fetch = "SAMPLE_FETCH";
5087 const char* vs_body = "#version 400\n"
5097 " const float epsilon = 1.0 / 255.0;\n"
5136 const char* tc_body = "#version 400\n"
5150 " const float epsilon = 1.0 / 255.0;\n"
5196 const char* te_body = "#version 400\n"
5224 " const float epsilon = 1.0 / 255.0;\n"
5261 const char* gs_body = "#version 400\n"
5282 " const float epsilon = 1.0 / 255.0;\n"
5350 const char* fs_body = "#version 400\n"
5362 " const float epsilon = 1.0 / 255.0;\n"
5400 const char* fs_body_raw_ptr = fs_string.c_str();
5401 const char* gs_body_raw_ptr = gs_string.c_str();
5402 const char* tc_body_raw_ptr = tc_string.c_str();
5403 const char* te_body_raw_ptr = te_string.c_str();
5404 const char* vs_body_raw_ptr = vs_string.c_str();
5414 const glw::GLuint so_ids[] = { m_fs_id, m_gs_id, m_tc_id, m_te_id, m_vs_id };
5415 const unsigned int n_so_ids = sizeof(so_ids) / sizeof(so_ids[0]);
5417 const glw::GLchar* shader_sources[] = { fs_body_raw_ptr, gs_body_raw_ptr, tc_body_raw_ptr, te_body_raw_ptr,
5450 const char* varying_names[] = { "gs_fs_vs_sampling_result", "gs_fs_tc_sampling_result", "gs_fs_te_sampling_result",
5452 const unsigned int n_varying_names = sizeof(varying_names) / sizeof(varying_names[0]);
5490 static const glw::GLenum cm_texture_targets[] = {
5495 static const unsigned int n_cm_texture_targets = sizeof(cm_texture_targets) / sizeof(cm_texture_targets[0]);
5496 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
5544 const glw::GLenum texture_target = texture_targets[n_texture_target];
5550 const unsigned int n_mipmaps_for_layer = (texture_target == GL_TEXTURE_3D) ?
5632 const unsigned int n_faces =
5678 const unsigned int n_samples =
5698 const unsigned int layer_id = n_layer * n_faces + n_face;
5722 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
5737 static const char* fs_body = "#version 400\n"
5748 const char* fs_body_string_raw_ptr = DE_NULL;
5750 const char* n_max_samples_token = "N_MAX_SAMPLES";
5766 static const char* gs_body = "#version 400\n"
5799 static const char* vs_body = "#version 400\n"
5816 const glw::GLuint so_ids[] = { m_per_sample_filler_fs_id, m_per_sample_filler_gs_id, m_per_sample_filler_vs_id };
5817 const unsigned int n_so_ids = sizeof(so_ids) / sizeof(so_ids[0]);
5869 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
5940 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
5992 const bool is_texture_arrayed_texture_target =
5995 const bool is_texture_cube_map_texture_target = (texture_target == GL_TEXTURE_CUBE_MAP);
5996 const bool is_texture_multisample_texture_target =
5998 const bool is_texture_rectangle_texture_target = (texture_target == GL_TEXTURE_RECTANGLE);
5999 const bool is_view_arrayed_texture_target =
6003 const bool is_view_cube_map_texture_target = (view_texture_target == GL_TEXTURE_CUBE_MAP);
6004 const bool is_view_cube_map_array_texture_target = (view_texture_target == GL_TEXTURE_CUBE_MAP_ARRAY);
6314 const std::vector<std::string>& extensions = m_context.getContextInfo().getExtensions();
6335 const glw::GLenum parent_texture_target = texture_target_iterator->first;
6336 const glw::GLenum view_texture_target = texture_target_iterator->second;
6453 const unsigned int index =
6495 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
6590 void TextureViewTestViewClasses::getComponentDataForByteAlignedInternalformat(const unsigned char* data,
6591 const unsigned int n_components,
6592 const unsigned int* component_sizes,
6593 const _format format, void* result)
6613 result_float[n_component] = deFloat16To32(*(const deFloat16*)data);
6729 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
6736 const unsigned int parent_texture_n_components =
6738 const unsigned int view_texture_n_components =
6776 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
6779 const unsigned int texture_n_components =
6781 const _sampler_type texture_sampler_type =
6783 const char* texture_sampler_data_type_glsl =
6785 const char* texture_sampler_glsl = TextureViewUtilities::getGLSLTypeForSamplerType(texture_sampler_type);
6786 const char* texture_swizzle_glsl =
6789 const unsigned int view_n_components =
6791 const _sampler_type view_sampler_type = TextureViewUtilities::getSamplerTypeForInternalformat(view_internalformat);
6792 const char* view_sampler_data_type_glsl =
6794 const char* view_sampler_glsl = TextureViewUtilities::getGLSLTypeForSamplerType(view_sampler_type);
6795 const char* view_swizzle_glsl =
6799 const char* token_texture_data_type = "TEXTURE_DATA_TYPE";
6800 const char* token_texture_sampler = "TEXTURE_SAMPLER";
6801 const char* token_texture_swizzle = "TEXTURE_SWIZZLE";
6802 const char* token_view_data_type = "VIEW_DATA_TYPE";
6803 const char* token_view_sampler = "VIEW_SAMPLER";
6804 const char* token_view_swizzle = "VIEW_SWIZZLE";
6805 const char* vs_template_body = "#version 400\n"
6857 const char* vs_body_raw_ptr = vs_body.c_str();
6874 const char* varying_names[] = { "out_texture_data", "out_view_data" };
6875 const unsigned int n_varying_names = sizeof(varying_names) / sizeof(varying_names[0]);
6932 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
6992 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
7076 const glw::GLenum view_type = TextureViewUtilities::getTypeCompatibleWithInternalformat(view_internalformat);
7097 const unsigned int mipmap_raw_size = TextureViewUtilities::getTextureDataSize(
7117 const glw::GLuint n_total_components = mipmap_raw_size / 1;
7130 const glw::GLuint n_total_components = mipmap_raw_size / 2;
7143 const glw::GLuint n_total_components = mipmap_raw_size / 4;
7156 const glw::GLuint n_total_components = mipmap_raw_size / 1;
7169 const glw::GLuint n_total_components = mipmap_raw_size / 2;
7182 const glw::GLuint n_total_components = mipmap_raw_size / 4;
7195 const glw::GLuint n_total_components = mipmap_raw_size / 4;
7208 const glw::GLuint n_total_components = mipmap_raw_size / 8;
7223 const glw::GLuint n_total_components = mipmap_raw_size / 2;
7238 const glw::GLuint n_total_components = mipmap_raw_size / 4;
7252 const glw::GLuint n_total_components = mipmap_raw_size / 4;
7361 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
7425 const unsigned char* result_bo_data_ptr =
7426 (const unsigned char*)gl.mapBuffer(GL_TRANSFORM_FEEDBACK_BUFFER, GL_READ_ONLY);
7427 const unsigned char* result_texture_data_ptr = result_bo_data_ptr;
7428 const unsigned char* result_view_data_ptr = result_bo_data_ptr + m_view_data_offset;
7467 const unsigned char* texture_data_ptr,
7468 const unsigned char* view_data_ptr)
7470 const char* texture_internalformat_string = TextureViewUtilities::getInternalformatString(texture_internalformat);
7471 const char* view_internalformat_string = TextureViewUtilities::getInternalformatString(view_internalformat);
7477 const unsigned char* mipmap_data = DE_NULL;
7498 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
7501 const bool is_view_internalformat_compressed =
7505 const unsigned int n_view_components =
7600 const unsigned char* mipmap_texel_data =
7610 const unsigned char* view_texel_data = view_data_ptr + sizeof(float) * n_view_components * n_texel;
7650 const unsigned int* reference_data = (unsigned int*)mipmap_texel_data;
7651 const unsigned int red_component = (*reference_data) & ((1 << 11) - 1);
7652 const unsigned int green_component = (*reference_data >> 11) & ((1 << 11) - 1);
7653 const unsigned int blue_component = (*reference_data >> 22) & ((1 << 10) - 1);
7669 const unsigned int* reference_data = (unsigned int*)mipmap_texel_data;
7670 const unsigned int exponent = (*reference_data >> 27) & ((1 << 5) - 1);
7671 const unsigned int red_component = (*reference_data) & ((1 << 9) - 1);
7672 const unsigned int green_component = (*reference_data >> 9) & ((1 << 9) - 1);
7673 const unsigned int blue_component = (*reference_data >> 18) & ((1 << 9) - 1);
7692 const unsigned int mask_rgb = (1 << 10) - 1;
7693 const unsigned int mask_a = (1 << 2) - 1;
7710 const unsigned int mask_rgb = (1 << 10) - 1;
7711 const unsigned int mask_a = (1 << 2) - 1;
7789 const float epsilon_float = 1.0f / float((1 << (view_component_sizes[n_component] - 1)) - 1);
7790 const signed int epsilon_int = 1;
7791 const unsigned int epsilon_uint = 1;
8062 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
8098 const unsigned int region_width = (write_to_width >> 1);
8099 const unsigned int region_height = (write_to_height >> 1);
8100 const unsigned int region_x = region_width - (region_width >> 1);
8101 const unsigned int region_y = region_height - (region_height >> 1);
8177 const glw::GLint* data_ptr = (const glw::GLint*)gl.mapBuffer(GL_TRANSFORM_FEEDBACK_BUFFER, GL_READ_ONLY);
8221 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
8379 const int* result_data_ptr = (const int*)gl.mapBuffer(GL_TRANSFORM_FEEDBACK_BUFFER, GL_READ_ONLY);
8431 const int epsilon = 1;
8436 const unsigned char* row_ptr = data_ptr + y * m_texture_n_components * write_to_width;
8440 const unsigned char* texel_ptr = row_ptr + x * m_texture_n_components;
8441 const float end_rgba[] = { 0.0f, 0.1f, 1.0f, 1.0f };
8442 const float lerp_factor = float(x) / float(write_to_width);
8443 const float start_rgba[] = { 1.0f, 0.9f, 0.0f, 0.0f };
8444 const float expected_data_float[] = { start_rgba[0] * (1.0f - lerp_factor) + end_rgba[0] * lerp_factor,
8449 const unsigned char expected_data_ubyte[] = { (unsigned char)(expected_data_float[0] * 255.0f),
8484 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
8610 unsigned char* TextureViewTestCoherency::getHorizontalGradientData() const
8612 const float end_rgba[] = { 1.0f, 0.9f, 0.0f, 0.0f };
8614 const float start_rgba[] = { 0.0f, 0.1f, 1.0f, 1.0f };
8615 const unsigned int texel_size = m_texture_n_components;
8623 const float lerp_factor = float(x) / float(m_texture_width);
8648 unsigned int* out_read_lod) const
8694 unsigned char* TextureViewTestCoherency::getStaticColorTextureData(unsigned int width, unsigned int height) const
8728 unsigned int* out_width, unsigned int* out_height) const
8773 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
8803 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
8819 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
8871 const char* gradient_verification_vs_body =
8882 " const float epsilon = 1.0 / 255.0;\n"
8883 " const vec4 end_rgba = vec4(0.0, 0.1, 1.0, 1.0);\n"
8884 " const vec4 start_rgba = vec4(1.0, 0.9, 0.0, 0.0);\n"
8921 const char* gradient_write_image_vs_body =
8931 " const vec4 end_rgba = vec4(0.0, 0.1, 1.0, 1.0);\n"
8932 " const vec4 start_rgba = vec4(1.0, 0.9, 0.0, 0.0);\n"
8946 const char* gradient_write_fs_body = "#version 400\n"
8954 " const vec4 end_rgba = vec4(0.0, 0.1, 1.0, 1.0);\n"
8955 " const vec4 start_rgba = vec4(1.0, 0.9, 0.0, 0.0);\n"
8964 const char* gradient_write_vs_body =
8984 const char* verification_vs_body = "#version 400\n"
8994 " const float epsilon = 1.0 / 256.0;\n"
9015 const glw::GLuint so_ids[] = { m_gradient_image_write_vs_id, m_gradient_verification_vs_id, m_gradient_write_fs_id,
9017 const unsigned int n_so_ids = sizeof(so_ids) / sizeof(so_ids[0]);
9054 const char* verification_varying_name = "result";
9055 const glw::GLuint xfb_po_ids[] = {
9058 const unsigned int n_xfb_po_ids = sizeof(xfb_po_ids) / sizeof(xfb_po_ids[0]);
9069 const glw::GLuint po_ids[] = { m_gradient_image_write_po_id, m_gradient_verification_po_id, m_gradient_write_po_id,
9071 const unsigned int n_po_ids = sizeof(po_ids) / sizeof(po_ids[0]);
9148 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
9201 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
9253 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
9283 const _texture_type texture_types[] = { TEXTURE_TYPE_PARENT_TEXTURE, TEXTURE_TYPE_TEXTURE_VIEW };
9284 const unsigned int n_texture_types = sizeof(texture_types) / sizeof(texture_types[0]);
9364 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
9440 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
9454 static const char* vs_body =
9474 static const char* fs_body = "#version 400\n"
9492 const glw::GLuint so_ids[] = { m_fs_id, m_vs_id };
9493 const unsigned int n_so_ids = sizeof(so_ids) / sizeof(so_ids[0]);
9552 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
9585 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
9610 const float start_rgba[] = { /* As per test specification */
9614 const float end_rgba[] = { float(10 - (n_mipmap + 0)) / 10.0f, float(10 - (n_mipmap + 1)) / 10.0f,
9618 const unsigned int mipmap_height = m_texture_height >> n_mipmap;
9619 const unsigned int mipmap_width = m_texture_width >> n_mipmap;
9628 const unsigned int pixel_size = 4 /* components */;
9636 const float lerp_factor = float(x) / float(mipmap_width);
9695 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
9698 const std::vector<std::string>& extensions = m_context.getContextInfo().getExtensions();
9767 const unsigned char epsilon = 1;
9768 const glw::GLvoid* layer_data_ptr = (lod_level == 0) ? m_layer_data_lod0 : m_layer_data_lod1;
9769 const unsigned int layer_height = m_view_height >> lod_level;
9770 const unsigned int layer_width = m_view_width >> lod_level;
9771 const unsigned int pixel_size = 4 /* components */;
9772 const unsigned int view_minimum_level = 1; /* THS SHOULD BE 1 */
9773 const float start_rgba[] = {
9778 const float end_rgba[] = { float(10 - (lod_level + view_minimum_level + 0)) / 10.0f,
9785 const unsigned char* row_data_ptr = (const unsigned char*)layer_data_ptr + layer_width * y * pixel_size;
9789 const float lerp_factor = float(x) / float(layer_width);
9790 const unsigned char* pixel_data_ptr = row_data_ptr + x * pixel_size;
9792 const unsigned char expected_data[] = {
9866 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
9921 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
9931 const char* vs_body = "#version 400\n"
9942 " const float epsilon = 1.0 / 256.0;\n"
9961 const char* varying_name = "has_passed";
10018 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
10050 const _norm_vec4& mipmap_color = m_mipmap_colors[n_mipmap];
10051 const unsigned int mipmap_height = m_texture_height >> n_mipmap;
10052 const unsigned int mipmap_width = m_texture_width >> n_mipmap;
10083 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
10108 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
10119 const glw::GLint bo_size = (glw::GLint)(sizeof(glw::GLint) * m_mipmap_colors.size());
10138 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
10225 const _norm_vec4& expected_mipmap_color = m_mipmap_colors[n_mipmap];
10250 const glw::GLint* run_results_ptr =
10251 (const glw::GLint*)gl.mapBuffer(GL_TRANSFORM_FEEDBACK_BUFFER, GL_READ_ONLY);