This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: Multiple Windows
- To: "Suhaib Siddiqi" <ssiddiqi at inspirepharm dot com>, "'Cygwin-Xfree'" <cygwin-xfree at sources dot redhat dot com>
- Subject: RE: Multiple Windows
- From: "Harold Hunt" <huntharo at msu dot edu>
- Date: Fri, 17 Aug 2001 20:00:25 -0400
Suhaib,
> Sure :-) If anyone can rewrite that ntxlib which can be used
> instead of X11
> libraries, then Xserver won't be needed. You literally compile all the X
> clients on Windows using it and run them as native Win32 application.
I think you misunderstood me. All I'm talking about doing is finishing the
Native GDI engine in the current Cygiwn/XFree86 server, which translates X
graphics calls into Win32 GDI graphics calls. ntxlib has a lot of the
functions implemented, such as XDrawString, XFillRectangle, XClearArea,
XDrawArc, XFillArc, and XDrawLine. ntxlib also has a function called
NT_set_rop that converts X raster operations into GDI raster operations,
such as converting GXorInverted to R2_MERGENOTPEN.
> Did you look into Peter Busch Dlls, which are in drivers directory? I can
> send you his server code which does multiple Windows, but is very buggy.
I spent about a month or two working with the code that you are referring
to. There never was much there, and that development direction is dead, as
it required inserting a fake video driver into Windows to expose the
framebuffer. I'm sure that any windowing code was a hack, so I don't think
it'll be of much worth to even look at it again... Sorry, I was not
impressed by what I saw in that source code...
Harold