Re: [Mesa-dev] [PATCH 1/2] state_tracker: Initialize the draw context only when needed.

2016-08-03 Thread Brian Paul
Reviewed-by: Brian Paul On 08/03/2016 11:27 AM, Eric Anholt wrote: It's only used for rarely-used deprecated GL features (feedback/rasterpos), so we can skip the memory allocation and initialization for it most of the time. Saves about 659k (out of 1605k) of maximum memory

[Mesa-dev] [PATCH 1/2] state_tracker: Initialize the draw context only when needed.

2016-08-03 Thread Eric Anholt
It's only used for rarely-used deprecated GL features (feedback/rasterpos), so we can skip the memory allocation and initialization for it most of the time. Saves about 659k (out of 1605k) of maximum memory size according to massif on simulated vc4 glsl-algebraic-add-add-1 ---