[Mesa-dev] [PATCH] meta: Abort texture upload if pixels == null and no pixel unpack buffer set
Neil Roberts
neil at linux.intel.com
Fri Jun 12 07:39:08 PDT 2015
Neil Roberts <neil at linux.intel.com> writes:
> It seems a bit weird to use create_pbo=true at all for
> glTexImage{1,2,3}D because in that case we are completely replacing
> the texture. If the texture's buffer is busy instead of allocating a
> PBO we might as well just directly allocate some new storage for the
> texture and abandon the old storage. That would be a separate patch
> though and either way I think this patch makes sense.
I've filed a patch for this:
http://patchwork.freedesktop.org/patch/51757/
I think it would be good to land your patch as well anyway.
Regards,
- Neil
More information about the mesa-dev
mailing list