[Mesa-dev] [RFC][PATCH] Add usage for resources that have a short lifes cycle

Keith Whitwell keithw at vmware.com
Mon Mar 7 07:04:44 PST 2011



On Sat, 2011-03-05 at 17:54 +0100, Jakob Bornecrantz wrote:
> Hi all
> Short and simple patch series attached.
> Some drivers can treat one shot resources differently then resources
> that are expected to be used several times. Add a usage flag to allow
> the state tracker to mark such resources.
> The motivation behind this is to identify the glBitmap cache textures
> so that the i915g driver can make them not tiled and upload the texture
> data with pwrites, which is faster then mapping them via the GTT which is
> needed when they tiled.
> Comments please?
> Cheers Jakob.
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev

More information about the mesa-dev mailing list