[Y-devel] shapes?

drizzt321 at phpfreaks.com drizzt321 at phpfreaks.com
Wed Feb 25 15:03:33 GMT 2004


Quoting Claude Mench <c.mench at adilinstruments.com>:

> 
> ----- Original Message -----
> From: <drizzt321 at phpfreaks.com>
> To: <y-devel at www.y-windows.org>
> Sent: Wednesday, 2004 February 25 14:54
> Subject: Re: [Y-devel] shapes?
> 
> 
> > Quoting Claude Mench <c.mench at adilinstruments.com>:
> >
> > > > Let's not repeat the same mistakes the X did and implement real
> > > > bezier curves instead of only lines, rectangles and axis oriented
> > > > ellipse. A nice API would have only a line sequence method and a
> > > > polygon method and both take bezier curves as parameters. Something
> > > > like how OpenGL draws lines and polygons, but with bezier curves
> > > > instead of lines between vertexes. Perhaps an option to select
> > > > border style with a brush.
> > > > ...
> > >
> > >     Why not consider Cairo as an option. Y relies already on SDL,
> > > iconv,freetype, another library would not mind. Cairo as an openGl
> > > backend also.
> > >
> > Well, the problem with doing that is that we want to create other video
> output
> > drivers, such as a generic VGA, and specific hardware drivers for
> acceleration.
> > SDL is pretty much just the current way we see things. Alot easier than
> just
> > doing everything from scratch, so until we get other drivers, thats what
> we use.
> 
> 
>   I understand, but Cairo is capable of multiple output, as for now it can
> do :
> raw images, opengl, Xrender extension, png, and a pdf backend is planned. So
> it could be used in for instance VESA or VGA, simple frame buffers.
> 
Ah, I was not aware of that. In that case, it should deffinately be looked at 
for something like the VESA and/or VGA driver(s). 

>   I don't know what is planned, but concerning hardware support: I would
> seek to reuse the driver infrastructure of XFree86, so I could gain
> manufacturers drivers. I don't think any manufacturer of video card
> will make work its brand new video card with Y anytime soon. My point
> is that manufacturer have already problems to gives good X11 drivers
> if you compare to Win32 ones (I talk mostly for ATI) So Y will never
> be a concern for them.
> 
>   It could be good to use the X11 OpenGl driver infrastructure as an
> interface to the manufacturer driver.
> 

I don't have a clue about the interface X11/OpenGl uses, so it sounds good to 
me to use the current drivers.

>   My only problem with Y now, is that the specifications are a bit
> fuzzy and the goals should be cleared before coding goes on in every
> direction.
> 
>   Building widgets before having a drawing api for instance...
> 
>   So the discussions we have here are really useful, but should lead to
> specifications and not to patching, patching patching.
> 
> 

I agree, specifications. We need those soon, or at least a pretty good overview 
of what those specifications are going to be. We need to have a night on IRC 
where we all meet and discuss in real time specifications.


Aaron

----------------------------------------------------------------------
This mail sent through Toaster-Horde (https://qmailtoaster.clikka.com/)



More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved