[Intel-gfx] [PATCH] intel: Allocate swrast buffer (#54782)

Eric Anholt eric at anholt.net
Wed Oct 31 18:41:26 CET 2012


Frederic Plourde <frederic.plourde at collabora.co.uk> writes:

> From: Tomeu Vizoso <tomeu.vizoso at collabora.com>
>
> When i915 driver decides to fallback to software, the texture's Map
> gets replaced by its Buffer attribute, which is NULL because the 
> texture hasn't been allocated by swrast yet.
>
> The attached patch makes sure that the image buffer for the texture 
> gets allocated

Huh?  If you just allocate some hunk of memory and use that, then the
software rendering won't actually show up mixed with your hardware
rendering.
-------------- 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/intel-gfx/attachments/20121031/76fcffbe/attachment.sig>


More information about the Intel-gfx mailing list