[Mesa-dev] [PATCH 1/3] gallium: add expand_resource interface

Grigori Goronzy greg at chown.ath.cx
Fri Jul 12 13:19:18 PDT 2013


On 12.07.2013 16:19, Jose Fonseca wrote:
> I admit I haven't fully understood what's being proposed yet. But just a few quick words.
>
> I always wanted to have a "present" method that ensures that the contents of a resource is made visible to whatever the consumer is (full-screen flip, blit to primary surface, a compositor, etc.).  We have been using off-the-side interfaces on Windows to achieve this [1] but I believe that this is a cross-platform problem so there should be something in Gallium interfaces for that.
>

Of all the suggestions regarding naming so far this sounds the best to 
me. But I don't know gallium well so I leave the discussion about the 
interface to those people that do.

> So I'd be supportive if there is a proposal that caters for everything.
>

So which exactly are all likely use cases, apart from fast clear?

Best regards
Grigori


More information about the mesa-dev mailing list