search for: nouveau_texture_functions_init

Displaying 3 results from an estimated 3 matches for "nouveau_texture_functions_init".

2013 Oct 04
1
[PATCH] nouveau_vieux: add AllocTextureImageBuffer implementation
...loc(struct gl_context *ctx, struct gl_texture_image *ti) +{ + nouveau_teximage(ctx, 3, ti, 0, 0, 0, NULL, + &ctx->DefaultPacking, GL_FALSE); + return GL_TRUE; +} + static void nouveau_texsubimage(struct gl_context *ctx, GLint dims, struct gl_texture_image *ti, @@ -634,6 +642,7 @@ nouveau_texture_functions_init(struct dd_function_table *functions) functions->DeleteTexture = nouveau_texture_free; functions->NewTextureImage = nouveau_teximage_new; functions->FreeTextureImageBuffer = nouveau_teximage_free; + functions->AllocTextureImageBuffer = nouveau_teximage_alloc; functions->Choose...
2012 Jul 06
0
[PATCH] dri/nouveau: Add AllocTextureImageBuffer() implementation
...1 cpp formats will have to be swizzled by the CPU, - * so leave them in system RAM for now. */ - return NOUVEAU_BO_MAP; - else - return NOUVEAU_BO_GART | NOUVEAU_BO_MAP; -} - static void nouveau_teximage(struct gl_context *ctx, GLint dims, struct gl_texture_image *ti, @@ -704,7 +744,8 @@ nouveau_texture_functions_init(struct dd_function_table *functions) functions->NewTextureObject = nouveau_texture_new; functions->DeleteTexture = nouveau_texture_free; functions->NewTextureImage = nouveau_teximage_new; - functions->FreeTextureImageBuffer = nouveau_teximage_free; + functions->AllocTextureImag...
2012 Apr 06
1
[WIP PATCH] dri/nouveau: Add S3TC support for nv20.
...fset, + GLsizei width, GLint height, + GLenum format, + GLint imageSize, const void *data) +{ + nouveau_texsubimage(ctx, 2, ti, xoffset, yoffset, 0, + width, height, 1, imageSize, format, 0, data, + &ctx->Unpack, GL_TRUE); } static void @@ -696,6 +775,8 @@ nouveau_texture_functions_init(struct dd_function_table *functions) functions->TexSubImage1D = nouveau_texsubimage_1d; functions->TexSubImage2D = nouveau_texsubimage_2d; functions->TexSubImage3D = nouveau_texsubimage_3d; + functions->CompressedTexImage2D = nouveau_compressed_teximage_2d; + functions->Compres...