windows-nt/Source/XPSP1/NT/drivers/video/ms/s3/disp/s3.htm

63 lines
3 KiB
HTML
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="Generator" CONTENT="Microsoft Word 97">
<TITLE>S3</TITLE>
<META NAME="Template" CONTENT="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot">
</HEAD>
<BODY TEXT="#000000" LINK="#0000ff" VLINK="#800080" BGCOLOR="#ffffff" leftmargin="8">
<FONT FACE="Verdana"><H2><A NAME="MYSAMPLE">S3</A> </H2>
<H3>SUMMARY</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
Display sample driver implementation is covered in this sample. New technologies used include video memory management. <P>
The sample is a functional driver, rather than an example with partial code.<P>
<H3>BUILDING THE SAMPLE</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
To build the sample, use the DDK building tool. There are no special installation instructions or known build errors or warnings.<P>
The sample works on both x86 and alpha platforms and is 64-bit compliant. It builds properly with Visual C 6.0. Both checked and free builds are available. The sample does not support Plug and Play or Power Management. Once built, it produces one binary: S3legacy.dll. <P>
<H3>CODE TOUR</H3>
<H4>File Manifest</H4>
</FONT><U><PRE>File&#9;&#9;Description
</U>
Bank.c&#9; All the banking code for the display driver.
Bitblt.c&#9;High-level DrvBitBlt and DrvCopyBits functions
Bltio.c&#9; The low-level in/out blt functions
Bltmm.c&#9; The low-level memory-mapped IO blt functions
Brush.c&#9; Handles all brush/pattern initialization and realization
Ddraw.c&#9; Implements all the DirectDraw components for the driver
Debug.c&#9; Debug helper routines
Debug.h&#9; Debug helper routines header
Driver.h&#9;Prototypes for the display driver
Enable.c&#9;All functions that enable and disable the driver, the pdev, and the surface
Fastfill.c&#9;Fast routine for drawing polygons that aren't complex in shape
Fillpath.c&#9;The DrvFillPath routine
Heap.c&#9; All the routines for an off-screen video heap manager
Hw.h&#9; All the hardware specific driver file stuff
Lines.c&#9; Required GDI line support routines
Lines.h&#9; Line drawing constants and structures
Lineto.c&#9;Line drawing routines
Makefile&#9;Makefile required to build the driver
Misc.c&#9; Miscellaneous common routines
Palette.c&#9;Color palette support
Pointer.c&#9;The hardware pointer support for the display driver
Precomp.h&#9;Common headers used throughout the display driver
Res.rc&#9; Resource file for the display driver
Sources&#9; The generic file for building the code sample
Str.c&#9; Routines for the partially hardware accelerated StretchBlt
Stretch.c&#9;StretchBlt routines
Strips.c&#9;Another line drawing routines
Textout.c&#9;All text drawing routines
</FONT><P ALIGN="CENTER"><A HREF="#top"><FONT FACE="Verdana" SIZE=2>Top of page</FONT></A><FONT FACE="Verdana" SIZE=2> </P></FONT>
<TABLE CELLSPACING=0 BORDER=0 WIDTH=624>
<TR><TD VALIGN="MIDDLE" BGCOLOR="#00ffff" HEIGHT=2>
<P></TD>
</TR>
</TABLE>
<FONT FACE="MS Sans Serif" SIZE=1><P>&copy; 1998 Microsoft Corporation</FONT><FONT FACE="Verdana" SIZE=2> </P></FONT></BODY>
</HTML>