[Mesa-dev] [PATCH 05/11] [RFC] mesa: allow binding framebuffer without depth&stencil

Marek Olšák maraeo at gmail.com
Thu Dec 17 04:06:17 PST 2015


On Wed, Dec 16, 2015 at 11:30 PM, Miklós Máté <mtmkls at gmail.com> wrote:
> On 12/16/2015 05:27 PM, Marek Olšák wrote:
>>
>> What is this good for?
>>
>> Marek
>
> KotOR uses a series of scratch framebuffers for drawing the framebuffer
> effects. These have no depth and no stencil, so check_compatible() rejects
> them, subsequent GL calls are no-op, and the screen becomes garbage. I also
> experimented successfully with disabling the visuals that have no depth or
> no stencil in gallium/state_trackers/dri/dri_screen.c, but I concluded that
> this one was a smaller hack.

What kind of scratch buffer are we talking about? How is it created?

Marek


More information about the mesa-dev mailing list