[Mesa-dev] [PATCH 05/15] intel: Set num samples for winsys renderbuffers

Eric Anholt eric at anholt.net
Wed Jul 25 10:39:06 PDT 2012

Chad Versace <chad.versace at linux.intel.com> writes:

> Add a new param, num_samples, to intel_create_renderbuffer and
> intel_create_private_renderbuffer. The caller, intelCreateBuffer, passes
> in the value of gl_config::NumSamples.
> 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.

It would make more sense to me if the quantizing was done once and
passed to the create_renderbuffer call (you need the same NumSamples
across them, anyway).  Then you wouldn't need the screen argument,
-------------- 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/mesa-dev/attachments/20120725/fa0924e8/attachment.pgp>

More information about the mesa-dev mailing list