Lines Matching defs:width
2940 static const GLuint width = 64;
2942 static const GLuint data_size = width * height;
2965 texture.create(width, height, GL_RGBA8);
2967 texture.update(width, height, 0 /* depth */, GL_RGBA, GL_UNSIGNED_BYTE, &data[0]);
3954 static const GLuint width = 64;
3956 static const GLuint data_size = width * height;
3979 texture.create(width, height, GL_RGBA8);
3981 texture.update(width, height, 0 /* depth */, GL_RGBA, GL_UNSIGNED_BYTE, &data[0]);
10213 static const GLuint width = 16;
10218 texture_data.resize(width * height);
10227 texture.create(width, height, depth, GL_RGBA8, m_test_case);
10229 texture.update(width, height, depth, GL_RGBA, GL_UNSIGNED_BYTE, &texture_data[0]);
17794 * @param width Texture width
17797 void Utils::framebuffer::attachTexture(glw::GLenum attachment, glw::GLuint texture_id, glw::GLuint width,
17810 gl.viewport(0 /* x */, 0 /* y */, width, height);
18531 * @param width Width of texture
18535 void Utils::texture::create(glw::GLuint width, glw::GLuint height, glw::GLenum internal_format)
18548 gl.texStorage2D(GL_TEXTURE_2D, 1 /* levels */, internal_format, width, height);
18554 * @param width Width of texture
18560 void Utils::texture::create(GLuint width, GLuint height, GLuint depth, GLenum internal_format,
18581 gl.texStorage1D(target, levels, internal_format, width);
18588 gl.texStorage2D(target, levels, internal_format, width, height);
18593 gl.texStorage3D(target, levels, internal_format, width, height, depth);
18648 GLint width;
18658 gl.getTexLevelParameteriv(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0 /* level */, GL_TEXTURE_WIDTH, &width);
18664 const GLuint image_size = width * height * texel_size;
18704 * @param width Width of texture
18710 void Utils::texture::update(glw::GLuint width, glw::GLuint height, glw::GLuint depth, glw::GLenum format,
18724 gl.texSubImage1D(target, level, 0 /* x */, width, format, type, data);
18730 gl.texSubImage2D(target, level, 0 /* x */, 0 /* y */, width, height, format, type, data);
18734 gl.texSubImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, level, 0 /* x */, 0 /* y */, width, height, format, type,
18736 gl.texSubImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_X, level, 0 /* x */, 0 /* y */, width, height, format, type,
18738 gl.texSubImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, level, 0 /* x */, 0 /* y */, width, height, format, type,
18740 gl.texSubImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, level, 0 /* x */, 0 /* y */, width, height, format, type,
18742 gl.texSubImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Z, level, 0 /* x */, 0 /* y */, width, height, format, type,
18744 gl.texSubImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, level, 0 /* x */, 0 /* y */, width, height, format, type,
18750 gl.texSubImage3D(target, level, 0 /* x */, 0 /* y */, 0 /* z */, width, height, depth, format, type, data);