DirectFB - Home of the pragmatist Roadmap

[directfb-dev] Re: how to CreateSurface on CRTC2 layer for G400
Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[directfb-dev] Re: how to CreateSurface on CRTC2 layer for G400

Quoting Ville Syrj?l? (
> > But when I tell them that
> > the user will want to be able to specify which layer he wants to use,
> > how do they code up SDL to take this option and deal with it?
> Well you can have an option to specify the layer id. And if
> GetDisplayLayer() fails with that id you can bail out or fall back to
> DLID_PRIMARY. Or you could have the user specify a layer name and use
> GetName() via EnumDisplayLayers(). But for this kind of app I think the
> layer id could be better.

I can add an environment variable like SDL_DIRECTFB_LAYERID or similar
as the DirectFB backend is written by me.

Best regards,
  Denis Oliver Kropp

| DirectFB - Hardware accelerated graphics |
|                 |

                            Convergence GmbH

Info:  To unsubscribe send a mail to with 
"unsubscribe directfb-dev" as subject.

Home | Main Index | Thread Index / Development / Old Archives