search for: imageoffset

Displaying 1 result from an estimated 1 matches for "imageoffset".

Did you mean: image_offset
2012 Jul 06
0
[PATCH] dri/nouveau: Add AllocTextureImageBuffer() implementation
...GLsizei depth) +{ + struct nouveau_teximage *nti = to_nouveau_teximage(ti); + struct nouveau_surface *s = &nti->surface; + + if (s->bo && s->format == ti->TexFormat && + s->width == ti->Width && s->height == ti->Height && + nti->base.ImageOffsets) + /* Image fits on surface, no need to alloc anything */ + return GL_TRUE; + + ctx->Driver.FreeTextureImageBuffer(ctx, ti); + + assert(!nti->base.ImageOffsets); + nti->base.ImageOffsets = malloc(sizeof(GLuint)); + _swrast_init_texture_image(ti, width, height, depth); + + nouveau_surf...