[Mesa-dev] [PATCH 20/23] i965 teximage: allocate texture image buffer for fallback path

Ian Romanick idr at freedesktop.org
Mon Jan 7 13:25:22 PST 2013


On 01/04/2013 06:41 PM, Jordan Justen wrote:
> Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
> ---
>   src/mesa/drivers/dri/intel/intel_tex_image.c |    1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/src/mesa/drivers/dri/intel/intel_tex_image.c b/src/mesa/drivers/dri/intel/intel_tex_image.c
> index 9676623..c6bb0f2 100644
> --- a/src/mesa/drivers/dri/intel/intel_tex_image.c
> +++ b/src/mesa/drivers/dri/intel/intel_tex_image.c
> @@ -239,6 +239,7 @@ intelTexImage(struct gl_context * ctx,
>          __FUNCTION__, texImage->Width, texImage->Height, texImage->Depth,
>          pixels);
>
> +   ctx->Driver.AllocTextureImageBuffer(ctx, texImage);
>      if (format != GL_NONE && type != GL_NONE) {
>         _mesa_store_teximage(ctx, dims, texImage,
>                              format, type, pixels, unpack);
>

I'm confused about this patch and the previous patch.  Can you provide 
some addition background about these changes?


More information about the mesa-dev mailing list