GDDK - Graphics Driver Development Kit

I know that GDDK is in beta right now, but could someone give a short
description of what GDDK is going to provide?

Is it going to let other applications bring the display into graphics mode -
like DirectX or SVGALib?

Thanks
Jens


Get your FREE download of MSN Explorer at http://explorer.msn.com

Jens Jorgensen <jens_hojbjerg@hotmail.com> wrote:

I know that GDDK is in beta right now, but could someone give a short
description of what GDDK is going to provide?

It’s mainly intended for people who want to write graphics drivers for
Photon, but…

Is it going to let other applications bring the display into graphics mode -
like DirectX or SVGALib?

There is a utility called “setmode” in the DDK, which loads a driver
DLL, and switches into graphics modes (it’s in source code form). You could
use this as a starting point for mode-switching without Photon.

What’s missing is a way to figure out which dll(s) to load. You could
parse the file /etc/system/config/graphics-traplist to figure this out.
This file is generated by the enumerator at every boot.
Use cfgopen() (or fcfgopen()) to open this file.

Beware, the format of this file could change in a future release.
We may provide a cleaner mechanism for figuring out which dll(s) to
load in the future.

Jens Jorgensen <jens_hojbjerg@hotmail.com> wrote:

I know that GDDK is in beta right now, but could someone give a short
description of what GDDK is going to provide?

Source code and docs on how to write a Photon graphics driver DLL.

Is it going to let other applications bring the display into graphics mode -
like DirectX or SVGALib?

Nothing is stopping them from bringing the display into graphics mode now,
and nothing in the GDDK will put anything extra in their way, so I guess it
will let them.

Pete wrote:

Is it going to let other applications bring the display into graphics mode

like DirectX or SVGALib?

Nothing is stopping them from bringing the display into graphics mode >now,
and nothing in the GDDK will put anything extra in their way, so I >guess
it
will let them.

Today - how do you bring the display into a certain graphics mode and also
how do get access to the frame buffer address (phys or mem mapped) - WITHOUT
having to write a graphics driver??


Jens


Get your FREE download of MSN Explorer at http://explorer.msn.com

Jens Jorgensen <jens_hojbjerg@hotmail.com> wrote:

Pete wrote:

Is it going to let other applications bring the display into graphics mode

like DirectX or SVGALib?

Nothing is stopping them from bringing the display into graphics mode >now,
and nothing in the GDDK will put anything extra in their way, so I >guess
it
will let them.

Today - how do you bring the display into a certain graphics mode and also
how do get access to the frame buffer address (phys or mem mapped) - WITHOUT
having to write a graphics driver??

You would use PCI calls and I/O register accesses. Nothing says you need to
do these within a graphics driver.