otherside wrote:
Jens Owen wrote:

otherside wrote:

is there a way to do that ?
just open a screen (monitor) and then write to it.
i try to write a little library which opens the screen so you can draw some polygons to it.
will DRI help me to do it ?



Tom,


OpenGL needs to be bound to some type of drawing surface (see glx, wgl and agl for examples). What are you trying to draw on?

i try to draw directly to the card
i thought of a little library with (at least) three functions:
open_screen(int num) (that would be like XCreateWindow, but you can draw directly to the whole screen)
set_current(int num) (so you can draw to multiple screens int one application)
close_screen(int num)


with a global pointer to the graphics context (context *current)
set_current() would just change this pointer

Tom,


The FBDev based version found in the Mesa development tree sounds like what you want. There is a subsetted version of GLX that doesn't really use an X Server and you draw to the entire screen. Check the mesa3d-dev mailing list and you'll see announcements and some discussion on this capability.

I recommend you post any follow ups to [EMAIL PROTECTED] as this list is really for 3D integration into XFree86.

Regards,
Jens

--
                               /\
         Jens Owen            /  \/\ _
  [EMAIL PROTECTED]  /    \ \ \   Steamboat Springs, Colorado



-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to