Lines Matching defs:width

221 							  glw::GLuint texture_id, glw::GLint level, glw::GLuint width, glw::GLuint height);
336 glw::GLuint width, glw::GLuint height, glw::GLuint depth, bool allow_error = false);
345 glw::GLenum internal_format, glw::GLuint width, glw::GLuint height, glw::GLuint depth,
357 glw::GLuint width, glw::GLuint height, glw::GLuint depth, glw::GLenum format, glw::GLenum type,
361 glw::GLuint width, glw::GLuint height, glw::GLuint depth, bool allow_error);
364 glw::GLint z, glw::GLsizei width, glw::GLsizei height, glw::GLsizei depth, glw::GLenum format,
592 * @param width Texture width
596 glw::GLuint texture_id, glw::GLint level, glw::GLuint width, glw::GLuint height)
601 gl.viewport(0 /* x */, 0 /* y */, width, height);
1005 * @param width Width of texture
1010 glw::GLuint width, glw::GLuint height, glw::GLuint depth, bool allow_error)
1018 Storage(gl, target, levels, internal_format, width, height, depth, allow_error);
1054 * @param width Width of texture
1061 glw::GLenum internal_format, glw::GLuint width, glw::GLuint height, glw::GLuint depth,
1067 gl.compressedTexImage1D(target, level, internal_format, width, 0 /* border */, image_size, data);
1073 gl.compressedTexImage2D(target, level, internal_format, width, height, 0 /* border */, image_size, data);
1077 gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, level, internal_format, width, height, 0 /* border */,
1079 gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_X, level, internal_format, width, height, 0 /* border */,
1081 gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, level, internal_format, width, height, 0 /* border */,
1083 gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, level, internal_format, width, height, 0 /* border */,
1085 gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Z, level, internal_format, width, height, 0 /* border */,
1087 gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, level, internal_format, width, height, 0 /* border */,
1093 gl.compressedTexImage3D(target, level, internal_format, width, height, depth, 0 /* border */, image_size, data);
1157 * @param width Width of texture
1165 glw::GLuint width, glw::GLuint height, glw::GLuint depth, glw::GLenum format, glw::GLenum type,
1171 gl.texImage1D(target, level, internal_format, width, 0 /* border */, format, type, data);
1177 gl.texImage2D(target, level, internal_format, width, height, 0 /* border */, format, type, data);
1181 gl.texImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, level, internal_format, width, height, 0 /* border */, format,
1183 gl.texImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_X, level, internal_format, width, height, 0 /* border */, format,
1185 gl.texImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, level, internal_format, width, height, 0 /* border */, format,
1187 gl.texImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, level, internal_format, width, height, 0 /* border */, format,
1189 gl.texImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Z, level, internal_format, width, height, 0 /* border */, format,
1191 gl.texImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, level, internal_format, width, height, 0 /* border */, format,
1197 gl.texImage3D(target, level, internal_format, width, height, depth, 0 /* border */, format, type, data);
1211 * @param width Width of texture
1216 glw::GLuint width, glw::GLuint height, glw::GLuint depth, bool allow_error)
1221 gl.texStorage1D(target, levels, internal_format, width);
1231 gl.texStorage2D(target, levels, internal_format, width, height);
1238 gl.texStorage2DMultisample(target, levels, internal_format, width, height, GL_FALSE);
1245 gl.texStorage3DMultisample(target, levels, internal_format, width, height, depth, GL_FALSE);
1254 gl.texStorage3D(target, levels, internal_format, width, height, depth);
1273 * @param width Width of texture
1281 glw::GLint z, glw::GLsizei width, glw::GLsizei height, glw::GLsizei depth, glw::GLenum format,
1287 gl.texSubImage1D(target, level, x, width, format, type, pixels);
1293 gl.texSubImage2D(target, level, x, y, width, height, format, type, pixels);
1297 gl.texSubImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, level, x, y, width, height, format, type, pixels);
1298 gl.texSubImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_X, level, x, y, width, height, format, type, pixels);
1299 gl.texSubImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, level, x, y, width, height, format, type, pixels);
1300 gl.texSubImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, level, x, y, width, height, format, type, pixels);
1301 gl.texSubImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Z, level, x, y, width, height, format, type, pixels);
1302 gl.texSubImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, level, x, y, width, height, format, type, pixels);
1308 gl.texSubImage3D(target, level, x, y, z, width, height, depth, format, type, pixels);
1833 static const GLuint width = 8;
1866 texture[0].InitStorage(m_context, GL_TEXTURE_2D, 1 /* levels */, GL_RGBA8, width, height, depth);
1867 texture[1].InitStorage(m_context, GL_TEXTURE_2D_ARRAY, 1 /* levels */, GL_RGBA8, width, height, depth);
1868 texture[2].InitStorage(m_context, GL_TEXTURE_1D_ARRAY, 1 /* levels */, GL_RGBA8, width, height, depth);
1869 texture[3].InitStorage(m_context, GL_TEXTURE_3D, 1 /* levels */, GL_RGBA8, width, height, depth);
2069 static const GLuint width = 8;
2102 texture[0].InitStorage(m_context, GL_TEXTURE_2D, 1, GL_RGBA8, width, height, depth);
2103 texture[1].InitStorage(m_context, GL_TEXTURE_2D_ARRAY, 1, GL_RGBA8, width, height, depth);
2104 texture[2].InitStorage(m_context, GL_TEXTURE_1D_ARRAY, 1, GL_RGBA8, width, height, depth);
2105 texture[3].InitStorage(m_context, GL_TEXTURE_3D, 1, GL_RGBA8, width, height, depth);
2173 gl.texStorage2D(GL_TEXTURE_2D, 1, GL_RGB9_E5, width, 0);
2194 t_texture.InitStorage(m_context, GL_TEXTURE_2D, 1, GL_RGB9_E5, width, 0, depth, true);
2725 static const GLuint width = 6;
2761 texture[i].InitStorage(m_context, target, 1, GL_RGBA8, width, height, depth);
2774 texture[i].InitStorage(m_context, GL_TEXTURE_2D, 1, GL_RGBA8, width, height, depth);
3046 static const GLuint width = 6;
3087 texture[i].InitStorage(m_context, target, 1, GL_RGBA8, width, height, depth);
3100 texture[i].InitStorage(m_context, GL_TEXTURE_2D, 1, GL_RGBA8, width, height, depth);
3711 static const GLuint width = 6;
3752 GLuint data[width * height * depth];
3754 for (GLuint j = 0; j < width * height * depth; ++j)
3770 texture[i].InitStorage(m_context, target, 1, GL_R32UI, width, height, depth);
3781 texture[i].InitStorage(m_context, target, 1, GL_R32UI, width, height, depth);
3783 Texture::SubImage(gl, target, 0 /* level */, 0 /* x */, 0 /* y */, 0 /* z */, width, height, depth,
3969 static const GLuint width = 6;
4010 GLuint data[width * height * depth];
4012 for (GLuint j = 0; j < width * height * depth; ++j)
4028 texture[i].InitStorage(m_context, target, 1, GL_R32UI, width, height, depth);
4039 texture[i].InitStorage(m_context, target, 1, GL_R32UI, width, height, depth);
4041 Texture::SubImage(gl, target, 0 /* level */, 0 /* x */, 0 /* y */, 0 /* z */, width, height, depth,
4203 static const GLuint width = 8;
4230 GLuint data[width * height * depth];
4232 for (GLuint j = 0; j < width * height; ++j)
4238 const size_t last_line_offset = (height - 1) * width;
4239 const size_t last_pixel_in_line_offset = width - 1;
4241 for (GLuint j = 0; j < width; ++j)
4249 const size_t line_offset = j * width;
4259 texture[i].InitStorage(m_context, GL_TEXTURE_2D, 1, GL_R32UI, width, height, depth);
4261 Texture::SubImage(gl, GL_TEXTURE_2D, 0 /* level */, 0 /* x */, 0 /* y */, 0 /* z */, width, height, depth,
4456 static const GLuint width = 8;
4513 texture.InitStorage(m_context, GL_TEXTURE_2D, 1 /* levels */, GL_RGBA8, width, height, 1 /* depth */);
4518 Framebuffer::AttachTexture(gl, GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, texture.m_id, 0 /* level */, width,
4599 GLuint pixels[width * height];
4600 for (GLuint i = 0; i < width * height; ++i)
4613 for (GLuint i = 0; i < width * height; ++i)