Have something like /dev/videocard or /dev/framebuffer, and a kernel module to control it
Cause reads and writes to access video memory, and have IOCTL's for everything else (including sync frequencies, video modes, palettes, resolutions, hardware cursors, accelerator functions, anything besides video memory).
The kernel module should export a standard list of IOCTL's, so that the kernel module acts as a HAL, leaving unimplemented details to the X server. Porting DDX to a kernel module shouldn't be too hard.
This way, the kernel module could do all the messy I/O stuff and the X server doesn't need to be SUID-root.
Implementing a kernel module might give access to more resources, like tighter console control, asynchronous accelerations, and it would allow unprivileged SVGAlib programs to run because the kernel module would do the dirty work, and a process wouldn't need root privileges to access SVGA.
Also I have Red Hat 7.0 and when I drag a window, it is SLOW. Scrolling with xpdf is also very slow. Could you somehow accelerate window movement and scrolling? I see no difference in blitting from an offscreen pixmap to a window, and blitting the window from the old position to the new one. In fact, the window movement ought to be FASTER because BOTH "pixmaps" are in video memory. Window repaints from exposures for some reason are faster than window movements! I just don't get it!
NOTE:
I'm just a newbie at X development, but I am somewhat of a DirectX guru. So don't take offense, I'm just trying to help.
_________________________________________________________________
Get McAfee virus scanning and cleaning of incoming attachments. Get Hotmail Extra Storage! http://join.msn.com/?PAGE=features/es
_______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
