Using Photon graphics drivers directly...

I am attempting to use a Photon graphics driver (devg-chips_hiqv.so)
directly (trans: without using io-graphics or Photon APIs), and I am not
sure if I’m doing things correctly. If anyone knows of any examples,
please let me know. So far, I am able to dlopen() the library and
retrieve the standard API functions which it provides. I found a section
in the DDK which refers to the “Calling Sequence” which io-graphics
supposedly uses to work with the drivers. Following this sequence, I am
able to initialize the various modules, set the video mode, and close the
modules. But when I try to perform any of the core drawing functions,
nothing seems to happen. I guess what I’m asking for is a little more
detail about how io-graphics interacts with the graphics drivers.

thanks
Charlie

Charlie_Surface@oti.com wrote:

I am attempting to use a Photon graphics driver (devg-chips_hiqv.so)
directly (trans: without using io-graphics or Photon APIs), and I am not
sure if I’m doing things correctly. If anyone knows of any examples,
please let me know. So far, I am able to dlopen() the library and
retrieve the standard API functions which it provides. I found a section
in the DDK which refers to the “Calling Sequence” which io-graphics
supposedly uses to work with the drivers. Following this sequence, I am
able to initialize the various modules, set the video mode, and close the
modules. But when I try to perform any of the core drawing functions,
nothing seems to happen. I guess what I’m asking for is a little more
detail about how io-graphics interacts with the graphics drivers.

It’s probably rendering offscreen. You need to allocate a
“displayable” surface, the target drawing to this surface.
Take a look at the “bench” utility that ships with the DDK,
for an example.