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

2011-03-07 Thread Keith Whitwell
Isn't this PIPE_USAGE_STREAM ? Keith 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

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

2011-03-05 Thread Jakob Bornecrantz
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 texture