Hi Dave,

quite correct what you are mentioning.
You do need to make sure that your layer supports this, i.e. returns DLCAPS_WINDOWS in the description->caps during InitLayer for your graphics driver. And your SetRegion implements setting the buffer address for your 'region' (i.e. window).

Calvery, David wrote:

If I have a custom gfxdrivers layer with buffermode DLBM_WINDOWS, is it possible to create windows on that layer and have my gfxdrivers callback functions called to access the window surface data? It seems the only way I can create a window is through an interface to a layer, but calling GetDisplayLayer from my application fails because the layer construction tries to create a primary region and catches an assertion that buffermode can’t be DLBM_WINDOWS.

If this is not possible, what is the purpose of DLBM_WINDOWS?

Thanks.

Dave

------------------------------------------------------------------------

_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users


--

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to