Kieran O'Sullivan wrote:
I am writing an Xlib based screen magnification program for X called
BlindPenguin (http://www.blindpenguin.org).  In great wisdon of great
folly I have dicided to use DGA to write this program.
I am looking for DGA code examples I have looked at the dga prog which
changes your screen colour, but i need more.  freshmeat.net has one or two
games which use DGA and I'm hoping someone here has something?

Setting the mode lines in XF86Config isn't really an option for a person
with my sight level unless it is possible to set a Mode line which will
make the screen 8 times its normal size.

BACKGROUND INFORMATION
The issue is this any X magnification program that I have seen draws the
magnified area on a window I DO NOT WANT TO DO THIS.  I want to write a
program, which zooms in like a video camera on a particular part of the
screen what will happen is that the magnified area of the screen will fill
the entire screen, in simple terms the magnified area will be re-drawn with
more pixels to fill the screen.  However the X server and clients shouldn't
care about this in-fact they shouldn't know.  Basically there are 2 screens
1 is the screen that the X server creates and the other is the screen that
the user sees.  As I move the mouse around the X server moves it on the real
screen but the user sees the magnified screen moving.  To use the video camera
 analogy again imagine a person walking around a room using the view finder
of a video camera turned up to full zoom to see.  Their coordinates would
change relative to the objects in the room but they would see things much
larger than they are.

Kieran,


I don't know that DGA will help you much in this regard, it's mostly oriented towards accessing the framebuffer in the render portion of the graphics subsystem. You can try running the minimum mode supported by your graphics card/display and set a much larger virtual desktop to pan around in, but if you need more magnification than that, I think you're going to need some type of support for replicating pixels in the display portion of the graphics subsystem. There are lots of ways that can be done, but I can't think of any that are already implemented and ready to go.

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

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to