Date: Thu, 25 Jan 2001 12:10:32 +0100 From: Nicolas Souchu <nsouch@alcove.fr> To: Maxim Sobolev <sobomax@FreeBSD.org> Cc: hackers@FreeBSD.org Subject: Re: [RFC] New features for libvgl Message-ID: <20010125121032.B17571@wiliam.alcove-int> In-Reply-To: <3A6F1B68.9AA53C0B@FreeBSD.org>; from sobomax@FreeBSD.org on Wed, Jan 24, 2001 at 08:14:01PM %2B0200 References: <3A6C7FBF.251B4C89@FreeBSD.org> <20010124185013.G12375@ontario.alcove-int> <3A6F1B68.9AA53C0B@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 24, 2001 at 08:14:01PM +0200, Maxim Sobolev wrote: > > > > Isn't your list of modes redundant with the internal data structures of the > > VGA/VESA driver? Why do you list modes if it's not to query a specific one? > > I believe that there should be possibility to do both these things, i.e. (1) query > list of available modes using some filter, so the aplication/toolkit will be able to > select one that matches its needs, and (2) let the video driver select the best one > given certain constrains. For example SDL provides a possibility to at least emulate > mode if is not directly available from video hardware, so it need to know what the > alternatives are. All this is done by GGI. I agree that you may need it for SDL. > > I'm not very adamant about using internal data structures of video driver, because > they are too generic and include too much irrelevant details. Probably we should > extent VGLBitmap to include missing bits (depth, masks, etc). Maybe you should rather put it in your VGL<->SDL interface driver and just consider VGL as a drawing library. > > > [skip] > > > > ++++++++++++++++++++++++ > > Well, it's nice, but I'm not sure how it would work in the case of more high level > toolkit (like SDL). As I said earlier, application can request an arbitrary mode, > i.e. 349x246x19, so we have to do some adjustments before passing these parameters > to the video driver- to do this we should know what the alternatives are. See above. > > > About the mouse stuff, what is the exact usage of MousePointerShow? It's > > not documented in the manpage. > > It's internal VGL function used to draw a mouse pointer at the screen. So, the mousehandler is called each time the mouse is moving? The SDL library is synchronous with input peripheral? How will you handle acceleration with SDL? Nicholas -- Nicolas.Souchu@alcove.fr Alcôve - Open Source Software Engineer - http://www.alcove.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010125121032.B17571>