• Home
  • Raw
  • Download

Lines Matching refs:n_elements

1608 		const GLint n_elements = configuration.m_n_elements[i];  in calculateAttributeLocation()  local
1610 const GLint n_columns = n_elements / n_rows; in calculateAttributeLocation()
1619 const GLint n_elements = configuration.m_n_elements[n_type]; in calculateAttributeLocation() local
1621 const GLint n_columns = n_elements / n_rows; in calculateAttributeLocation()
1662 const GLint n_elements = configuration.m_n_elements[n_type]; in configureAttribute() local
1664 const GLint n_columns = n_elements / n_rows; in configureAttribute()
1701 const GLint attribute_offset = group_offset + i * n_elements; in configureAttribute()
1887 const GLint n_elements = configuration.m_n_elements[n_type]; in getProgramDetails() local
1936 if (1 == n_elements) in getProgramDetails()
1963 for (GLint element = 0; element < n_elements; ++element) in getProgramDetails()
1965 …stream << attribute_ordinal << " + " << advancement_str << " * " << n_elements << " + " << element; in getProgramDetails()
1967 if (n_elements != element + 1) in getProgramDetails()
1984 for (GLint element = 0; element < n_elements; ++element) in getProgramDetails()
1988 if (n_elements != element + 1) in getProgramDetails()
2045 static const GLint n_elements[] = { n_elements_per_scalar, n_elements_per_vec2 }; in getVertexArrayConfiguration() local
2046 static const GLint n_types = sizeof(n_elements) / sizeof(n_elements[0]); in getVertexArrayConfiguration()
2057 out_configuration.m_n_elements = n_elements; in getVertexArrayConfiguration()
2065 static const GLint n_elements[] = { n_elements_per_vec3, n_elements_per_vec4 }; in getVertexArrayConfiguration() local
2066 static const GLint n_types = sizeof(n_elements) / sizeof(n_elements[0]); in getVertexArrayConfiguration()
2077 out_configuration.m_n_elements = n_elements; in getVertexArrayConfiguration()
2085 static const GLint n_elements[] = { n_elements_per_mat2 }; in getVertexArrayConfiguration() local
2086 static const GLint n_types = sizeof(n_elements) / sizeof(n_elements[0]); in getVertexArrayConfiguration()
2095 out_configuration.m_n_elements = n_elements; in getVertexArrayConfiguration()
2103 static const GLint n_elements[] = { n_elements_per_mat3x2, n_elements_per_mat4x2 }; in getVertexArrayConfiguration() local
2104 static const GLint n_types = sizeof(n_elements) / sizeof(n_elements[0]); in getVertexArrayConfiguration()
2113 out_configuration.m_n_elements = n_elements; in getVertexArrayConfiguration()
2121 static const GLint n_elements[] = { n_elements_per_mat2x3, n_elements_per_mat2x4 }; in getVertexArrayConfiguration() local
2122 static const GLint n_types = sizeof(n_elements) / sizeof(n_elements[0]); in getVertexArrayConfiguration()
2131 out_configuration.m_n_elements = n_elements; in getVertexArrayConfiguration()
2139 static const GLint n_elements[] = { n_elements_per_mat3, n_elements_per_mat3x4 }; in getVertexArrayConfiguration() local
2140 static const GLint n_types = sizeof(n_elements) / sizeof(n_elements[0]); in getVertexArrayConfiguration()
2149 out_configuration.m_n_elements = n_elements; in getVertexArrayConfiguration()
2157 static const GLint n_elements[] = { n_elements_per_mat4x3, n_elements_per_mat4 }; in getVertexArrayConfiguration() local
2158 static const GLint n_types = sizeof(n_elements) / sizeof(n_elements[0]); in getVertexArrayConfiguration()
2167 out_configuration.m_n_elements = n_elements; in getVertexArrayConfiguration()
2415 const GLint n_elements = configuration.m_n_elements[n_type]; in setAttributes_a() local
2417 if (1 == n_elements) in setAttributes_a()
2466 const GLint n_elements = configuration.m_n_elements[n_type]; in setAttributes_a_vec() local
2478 const GLuint attribute_offset = n_elements * attribute + group_offset; in setAttributes_a_vec()
2480 for (GLint i = 0; i < n_elements; ++i) in setAttributes_a_vec()
2499 const GLint n_elements = configuration.m_n_elements[n_type]; in setAttributes_b() local
2519 const GLuint attribute_offset = n_elements * attribute + group_offset; in setAttributes_b()
2521 for (GLint i = 0; i < n_elements; ++i) in setAttributes_b()
2523 out_buffer_data[attribute_offset + i] = attribute + attribute_index + vertex * n_elements + i; in setAttributes_b()
2540 const GLint n_elements = configuration.m_n_elements[n_type]; in setAttributes_c() local
2550 const GLuint attribute_offset = n_elements * attribute + group_offset; in setAttributes_c()
2552 for (GLint i = 0; i < n_elements; ++i) in setAttributes_c()