This is the mail archive of the
cygwin-xfree@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: XF86SUP.SYS
- To: 'Suhaib Siddiqi' <ssiddiqi at inspirepharm dot com>, 'Holger Veit' <Holger dot Veit at gmd dot de>
- Subject: RE: XF86SUP.SYS
- From: Mike MacDonald <mmacdona at tsi dot gte dot com>
- Date: Fri, 12 Nov 1999 17:05:01 -0500
- Cc: "'cygwin-xfree at sourceware dot cygnus dot com'" <cygwin-xfree at sourceware dot cygnus dot com>
Well, if I just use DX to set the video mode, and return a framebuffer,
shouldn't the xaa primitives work fine as they are? I only want to change
the part of the code that changes the video mode and calls xf86MapVidMem(),
and call directx functions instead to set the video mode, and get a
framebuffer..
I can worry about using dx to accelerate xaa stuff later, if the video
hardware supports something..
-----Original Message-----
From: Suhaib Siddiqi [mailto:ssiddiqi@inspirepharm.com]
Sent: Friday, November 12, 1999 4:48 PM
To: Mike MacDonald; 'Holger Veit'
Cc: cygwin-xfree@sourceware.cygnus.com
Subject: RE: XF86SUP.SYS
may be you look into various documents in
/xc/programs/Xserver/hw/xfree86/doc
You will find answers to a lot of your questions.
I am not sure xaa could be integrated in DX, but then I do not much
about DX itself. xaa codes are in hw/xfree86, look at various Video
card spoecific codes, particularly in
xc/programs/Xserver/hw/xfree86/vga
Suhaib
> -----Original Message-----
> From: cygwin-xfree-owner@sourceware.cygnus.com
> [mailto:cygwin-xfree-owner@sourceware.cygnus.com]On Behalf Of Mike
> MacDonald
> Sent: Friday, November 12, 1999 4:45 PM
> To: 'Holger Veit'
> Cc: 'cygwin-xfree@sourceware.cygnus.com'
> Subject: RE: XF86SUP.SYS
>
>
>
> What are the XAA primitives? I'm very new to X
> programming, sorry.. I'm
> learning fast though :)
> I'm also looking at a giveio driver, and a mapmem driver,
> but I thing
> directx may be faster, and definately more flexable.
>
> Yeah, DX will create a pointer to a linear framebuffer -
> and emulate a
> linear framebuffer if the card doesn't directly support
> it, then it has
> various draw commands.. Whatever dx needs, or I can do
> quicker in asm, I
> can do seperate.. I think making a directx server with
> directx os-support is
> the best way to go.. I could use the mapmem, and getio
> drivers for pty, and
> mouse, and keyboard.. Then maybe later use directinput
> for mouse and
> keyboard if it makes sense..
>
> I think I need to look at the server code now :)
>
> >What do you need for directx rendering? Basically, you
> should just need
> >the linear frame buffer, together with some information
> about video
> >resolution and pixel depth, and then call rendering
> operations like
> >bitblt, draw line, draw arc, etc.? Is this right? In
> this case you might
> >maybe only redirect the XAA primitives to corresponding
> directx calls.
>