search for: nouveau_unmap_texture_imag

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

2014 Sep 13
2
[PATCH] nouveau: fix glCompressedTexImage
..., depth, + pixels, map, row_stride); + } else { + ret = _mesa_texstore(ctx, dims, ti->_BaseFormat, + ti->TexFormat, + row_stride, + &map, + ti->Width, ti->Height, depth, + format, type, pixels, packing); + assert(ret); + } nouveau_unmap_texture_image(ctx, ti, 0); _mesa_unmap_teximage_pbo(ctx, packing); @@ -502,7 +533,8 @@ static GLboolean nouveau_teximage_alloc(struct gl_context *ctx, struct gl_texture_image *ti) { nouveau_teximage(ctx, 3, ti, 0, 0, 0, NULL, - &ctx->DefaultPacking, GL_FALSE); + &ctx->DefaultPacking,...
2014 Sep 14
1
[PATCH] nouveau: fix glCompressedTexImage
...&map, >> + ti->Width, ti->Height, depth, >> + format, type, pixels, packing); >> + assert(ret); >> + } >> >> nouveau_unmap_texture_image(ctx, ti, 0); >> _mesa_unmap_teximage_pbo(ctx, packing); >> @@ -502,7 +533,8 @@ static GLboolean >> nouveau_teximage_alloc(struct gl_context *ctx, struct gl_texture_image *ti) >> { >> nouveau_teximage(ctx, 3, ti, 0, 0, 0, NULL, >> -...
2014 Sep 14
0
[PATCH] nouveau: fix glCompressedTexImage
...e { > + ret = _mesa_texstore(ctx, dims, ti->_BaseFormat, > + ti->TexFormat, > + row_stride, > + &map, > + ti->Width, ti->Height, depth, > + format, type, pixels, packing); > + assert(ret); > + } > > nouveau_unmap_texture_image(ctx, ti, 0); > _mesa_unmap_teximage_pbo(ctx, packing); > @@ -502,7 +533,8 @@ static GLboolean > nouveau_teximage_alloc(struct gl_context *ctx, struct gl_texture_image *ti) > { > nouveau_teximage(ctx, 3, ti, 0, 0, 0, NULL, > - &ctx->DefaultPacking, GL_FALSE); >...
2012 Apr 06
1
[WIP PATCH] dri/nouveau: Add S3TC support for nv20.
...d; + functions->CompressedTexImage2D = nouveau_compressed_teximage_2d; + functions->CompressedTexSubImage2D = nouveau_compressed_texsubimage_2d; functions->BindTexture = nouveau_bind_texture; functions->MapTextureImage = nouveau_map_texture_image; functions->UnmapTextureImage = nouveau_unmap_texture_image; diff --git a/src/mesa/drivers/dri/nouveau/nouveau_util.h b/src/mesa/drivers/dri/nouveau/nouveau_util.h index d4cc5c4..af2b175 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_util.h +++ b/src/mesa/drivers/dri/nouveau/nouveau_util.h @@ -207,4 +207,23 @@ get_texgen_coeff(struct gl_texgen *c) re...