Messages in this thread | | | From | "Kendall Bennett" <> | Date | Wed, 20 Oct 2004 10:27:08 -0700 | Subject | Re: my opinion about VGA devices |
| |
Tomas Carnecky <tom@dbservice.com> wrote:
> I don't like the framebuffer devices or even the DRI drivers > because: most applications use a 'high-level' API for rendering > (OpenGL). These 'high-level commands' are translated to > 'intermediate commands' (framebuffer/DRI ioctl calls etc.) before > being send to the card as 'low-level commands'. Why this > intermediate layer?
I am not sure what you are trying to propose here, but really you should go back and read up on how graphics device drivers work, more specifically DRI. If you do that, it will be clear that DRI drivers are the internal 'meat' implementation for OpenGL on Linux. DRI is not an intermediate layer that can be eliminated at the swish of your hand and instantly get more performance! OpenGL drivers on Linux using DRI build up packets of 3D commands to be send to the hardware in *user mode* into DMA buffers. Then a command is sent to the kernel driver to start sending the data to the hardware using DMA. The overhead of the ioctl's to the /kernel to start the DMA packets is not very high (although IMHO this could all be moved into user space also, but that is a different story).
As for the framebuffer console, it exists purely to get high resolution text consoles working with basic graphics capabilities. It was never intended to be a complete graphics environment, but just the console that can be used in graphics modes. The original versions of the framebuffer console code were developed not for x86 machines but for non-x86 machines that did not have any VGA capabilities at all (ie: Mac's). For Linux to work on such machines, the console needed to be able to output text in graphics modes since that is what the machines booted in. Once this was done for non-x86 boxes, it was realised this would be a 'cool' feature for x86 machines for two reasons. 1 - you get a nice high resolution text console, way better than VGA text mode and, 2 - you can display the cool penguin logo ;-)
Regards,
--- Kendall Bennett Chief Executive Officer SciTech Software, Inc. Phone: (530) 894 8400 http://www.scitechsoft.com
~ SciTech SNAP - The future of device driver technology! ~
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |