new device driver features
Brian Paul <brian-CdwZJljFklH+2FeEXyspIVaTQe2KTcn/@public.gmane.org>
| Newsgroups | gmane.comp.freedesktop.xserver |
|---|---|
| Organization | Tungsten Graphics, Inc. |
| Message-ID | <[email protected]> |
So, it sounds like people want a new device driver model upon which the X server (or other things) can be layered. Has anyone outlined the feature set for such a driver? I'll go out on a limb and list what first occurs to me: Initialization: - what does this really involve? Query card capabilities: - amount of VRAM - number of screens - make/model info - more? Display: - query supported display modes (for each screen) - set display mode (for each screen) - set start address/stride for scanning out the framebuffer - set hardware colormap - enable/disable each screen - stereo mode - setup hardware video overlays - more? Monitor: - query monitor's parameters/limits (DDC / EDID?) - more? Cursor: - show/hide - get/set position - get/set cursor image - more? Memory: - allocate/free VRAM - AGP allocation? - map VRAM into process address space Rendering: - negotiate DMA based rendering? - OpenGL renderer as an intrinsic piece, or separate? - simple, built-in rendering (like blits)? - more? SciTech's SNAP interface provides this sort of stuff, plus lots of rendering and utility functions. Is that sort of what people are looking for? -Brian