[Y-devel] OpenGL and the drawing API

Rob Lyon lyon7185 at uidaho.edu
Sun Mar 21 20:44:50 GMT 2004


Why not create a driver interface.  The interface could wrap the system 
drivers and allow any application (not just Y) to have a standardized 
interface directly to the system drivers. That way as the technology 
improves the interfaces could be redone and even if Y didn't want to use 
specific features application developers would have that flexibility. Plus 
wouldn't that clear up the multiple archetecture problem. By adding 
interpreter modules to the interface you could essentially run on any 
system.

(kernel)->[(system drivers)->(interpreter)->(interface)]->(desktop server)

By treating the driver issuse as a seperate entity, I think that the 
modular approach that Mark Thomas wrote about in his dissertation is more 
closely followed.

-Rob

On Mon, 22 Mar 2004 00:39:02 +0300, Dmitry Moukhortov <thebeard at mail.ru> 
wrote:

> Note that Linux is not the only OS in the world. Being a well-developed 
> application, Y must be portable and must support various underlying OS, 
> for example FreeBSD (and even MS Windows). Porting kernel-level drivers 
> from one OS to (possible very different) another is hard and annoynig 
> work. For example, all free hardware drivers in XFree86 project are 
> portable.
>
> Extracting video drivers in the user space inreases OS safety. Window 
> system crash must not cause whole OS crash.
>
> John Ilves wrote:
>
>> My apologies if this is a stupid question, but shouldn't drivers be 
>> handled by the operating system (Linux) not the user-space program 
>> (Y-Windows)? Everyone seems to take it for granted that a windowing 
>> system (X and now Y) should provide it's own video card drivers yet no 
>> one would suggest it provide it's own (for instance) mouse drivers. If 
>> all the driver work was done in the kernel (as I would think it should 
>> be) then Y would be able to use existing drivers without difficulty, 
>> instead it now has to reinvent the wheel.
>>
>
>
>
>

-- 
Rob Lyon
River Tender
Initiative for Bioinformatics and Evolutionary Studies
University of Idaho
Moscow, Idaho



More information about the Y-devel mailing list









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