search for: _baseformat

Displaying 4 results from an estimated 4 matches for "_baseformat".

2014 Sep 13
2
[PATCH] nouveau: fix glCompressedTexImage
...tic void nouveau_teximage(struct gl_context *ctx, GLint dims, struct gl_texture_image *ti, GLsizei imageSize, @@ -451,13 +476,19 @@ nouveau_teximage(struct gl_context *ctx, GLint dims, GL_MAP_WRITE_BIT, &map, &row_stride); - ret = _mesa_texstore(ctx, dims, ti->_BaseFormat, - ti->TexFormat, - row_stride, - &map, - ti->Width, ti->Height, depth, - format, type, pixels, packing); - assert(ret); + if (compressed) { + nouveau_compressed_copy(ctx, dims, ti, + ti->Width, ti->Height, depth, + pixels, ma...
2014 Sep 14
1
[PATCH] nouveau: fix glCompressedTexImage
...>> @@ -451,13 +476,19 @@ nouveau_teximage(struct gl_context *ctx, GLint dims, >> GL_MAP_WRITE_BIT, >> &map, &row_stride); >> >> - ret = _mesa_texstore(ctx, dims, ti->_BaseFormat, >> - ti->TexFormat, >> - row_stride, >> - &map, >> - ti->Width, ti->Height, depth, >> - fo...
2014 Sep 14
0
[PATCH] nouveau: fix glCompressedTexImage
...l_context *ctx, GLint dims, > struct gl_texture_image *ti, > GLsizei imageSize, > @@ -451,13 +476,19 @@ nouveau_teximage(struct gl_context *ctx, GLint dims, > GL_MAP_WRITE_BIT, > &map, &row_stride); > > - ret = _mesa_texstore(ctx, dims, ti->_BaseFormat, > - ti->TexFormat, > - row_stride, > - &map, > - ti->Width, ti->Height, depth, > - format, type, pixels, packing); > - assert(ret); > + if (compressed) { > + nouveau_compressed_copy(ctx, dims, ti, > + ti->W...
2012 Apr 06
1
[WIP PATCH] dri/nouveau: Add S3TC support for nv20.
...+ pixels = _mesa_validate_pbo_teximage(ctx, + dims, width, height, depth, format, type, + pixels, packing, "glTexSubImage"); + } + if (pixels) { nouveau_teximage_map(ctx, ti, GL_MAP_WRITE_BIT, xoffset, yoffset, width, height); - ret = _mesa_texstore(ctx, 3, ti->_BaseFormat, ti->TexFormat, + ret = _mesa_texstore(ctx, dims, ti->_BaseFormat, ti->TexFormat, s->pitch, &nti->base.Map, width, height, depth, @@ -591,8 +657,8 @@ nouveau_texsubimage_3d(struct gl_context *c...