[Mesa-dev] [PATCH 08/15] st/mesa: make generic CopyPixels path work with MSAA visuals

Marek Olšák maraeo at gmail.com
Thu Jun 6 04:31:16 PDT 2013


On Mon, Jun 3, 2013 at 5:59 PM, Brian Paul <brian.e.paul at gmail.com> wrote:
> I seem to recall that this "choose a gallium format for a given GL
> format/type" code appears elsewhere in the state tracker (but haven't
> double-checked).  In any case, it would be nicer if this code was moved into
> a separate function.

There is no GL format/type. The code chooses the closest renderable
pipe_format for the given non-renderable pipe_format. Quite uncommon
stuff. The format choosing is also incomplete; some formats cannot
appear there (e.g. stencil), making the code non-reusable in its
current form.

Marek


More information about the mesa-dev mailing list