[Mesa-dev] [PATCH v2 09/18] copyteximage: Use Driver's AllocTextureImageBuffer instead of TexImage

Eric Anholt eric at anholt.net
Sun Jan 13 17:06:06 PST 2013


Jordan Justen <jordan.l.justen at intel.com> writes:

> Call Driver.AllocTextureImageBuffer rather than calling
> Driver.TexImage with NULL data, format=GL_NONE and type=GL_NONE.
>
> v2:
>  * This replaces two i965 teximage changes in v1

Might note that this is to avoid settings in the user's ctx->Unpack
leading to incorrectly trying to upload data.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130113/afb2b686/attachment-0001.pgp>


More information about the mesa-dev mailing list