|
Roadmap |
Site sponsored by
IGEL
|
||
|
|
[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? (syrjala@sci.fi): > > 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 | | http://www.directfb.org/ | "------------------------------------------" Convergence GmbH -- Info: To unsubscribe send a mail to listar@directfb.org with "unsubscribe directfb-dev" as subject.
|
|
| directfb.org |
|
Development |
|
Old Archives |