PDA

View Full Version : A Hard Question



gregsometimes
03-13-2008, 02:44 PM
As far as programming is concerned,
What is required to initialize a video card and access the video memory on it?

How does OpenGL do it?

Is it a driver?

You will not easily find information about this on the Internet, but I'd appreciate any pointers in the right direction.

V-man
03-13-2008, 02:51 PM
The purpose of GL is not for accessing video memory, but to give rendering commands. On a PC running Windows, the commands go to opengl32.dll or to the driver, the driver does it job, finally commands are sent in batches to the GPU.

Jan
03-13-2008, 03:35 PM
AMD has released some information about their hardware, to allow linux-developers to write their own drivers. Maybe you will find what you are looking for in those documents. Though i don't know where exactly you will find them, google for it.

Jan.

Humus
03-14-2008, 11:35 AM
Here they are:
http://ati.amd.com/developer/open_gpu_documentation.html

Not sure if they'll help much though.

Brolingstanz
03-16-2008, 12:08 PM
Wow!

More than I ever wanted to know about GPUs ;)