Re: [Mesa-dev] [PATCH] intel: Set num samples for winsys renderbuffers (v2)

2012-07-26 Thread Eric Anholt
Chad Versace writes: > Eric, I refactored this patch so that intelCreateBuffer produces one call to > intel_quantize_samples rather than up to 4. I don't understand your logic for > why the screen argument is unneeded. I was saying screen argument wouldn't be needed for the two intel_create_rende

[Mesa-dev] [PATCH] intel: Set num samples for winsys renderbuffers (v2)

2012-07-26 Thread Chad Versace
Add a new param, num_samples, to intel_create_renderbuffer and intel_create_private_renderbuffer. No multisample GL config is yet advertised, so the value of num_samples is currently 0. For server-owned winsys buffers, gl_renderbuffer::NumSamples is not yet used. v2: Quantize num_samples just on