From: Dennis S. <sy...@yo...> - 2004-07-14 15:16:31
|
On Wed, 2004-07-14 at 14:55 +0300, Vitaly V. Bursov wrote: > > How are you going to implement things like window_size_requisistions, > > window_capption sets, like title, icon ? (if possible that is) > > window_no_frame and fullscreen support ? > Not sure. This should be backend/frontend dependant. Title and Icon, > for example, have not much sense width "*-widget" frontends. > Developer may also want to handle widget events him/herself... We could have some kind of capability system with a 'have WM_CAPS, have WM_ICON' kinda flags. > I think it's better to "transfer" drawing to another window. This will > be done by backend. In case of fullscreen, the new window should be created. > GLX has no problems with it. GLX Context just need to be set up to > draw to another window, no delete/create stuff. It could be even simplier > with X11 - just blit to fullscreen window. Not sure about XVideo or > some kind of accelerated X11 (say, SHM). That sounds really good. How easy is it to transfer GLX without interupting it's context, drawing ?. For 2d blitting we can just copy over the old buffer, put it in the new display and go on with drawing. Cheers, Dennis |