阅读:1909回复:6
请问 \NTDDK\src\video\displays\s3virge例子做什么的
1、在\NTDDK\src\video\displays\s3virge目录下的例子是做什么的
2、对任何显卡都是通用的吗?S3是什么意思啊,只支持S3显卡吗 3、我怎么在用户层编程调用其中的函数啊,怎么知道函数被调用了 4、谢谢大家,给分了!!! |
|
沙发#
发布于:2005-01-21 08:29
没看一看这个吗?
S3Virge SUMMARY This sample display driver demonstrates the implementation of the following Windows? 2000 features: DirectDraw Direct3D Video Port Extensions BUILDING THE SAMPLE Build the sample using the standard Windows 2000 driver installation guide. There are no special requirements for installing this driver. Once built, it produces the binary S3mvirge.dll. Both checked and free builds are available. This driver works on both x86 and Alpha platforms, and the code builds properly with Visual C 6.0. The driver supports Plug and Play, Power Management, VPE (Video port extensions), DirectDraw, Direct3D, and OpenGL/MCD. RESOURCES More information about Windows 2000 video driver development can be found online at http://www.microsoft.com/hwdev/video/. KNOWN ISSUES This is a beta release of this sample driver. Following is a list of known issues in the Beta 2 sample. DDK: S3VIRGE: DD: DISPLAY: Fails PC98 test Downloadable Ramdac DDK: S3VIRGE: DD: DISPLAY: S3Virge failing Video Memory Management Tests DDK: S3VIRGE: DD: DISPLAY: Failing PC98 Perform Double Buffer Swaps with no tearing test S3VIRGE: MINI: DDK: Resource claimed but not all paths free it when done. (Hardware resource leak) CODE TOUR File Manifest File Description Readme.htm The documentation for this sample (this file) Sources The generic file for building the code sample Bank.c All the banking code for the display driver Bitblt.c High-level DrvBitBlt and DrvCopyBits functions Bltmm.c The low-level memory-mapped IO blt functions Brush.c Handles all brush/pattern initialization and realization Color.c Color dithering code D3d.c Main D3D driver file (Context, texture, caps mgmt) D3ddrv.h D3D file: Globally used structures in the D3D driver D3ddx6.c D3D file: DrawPrimitive2 callbacks D3dgntri.c D3D file: Generator file for all hw triangle rendering funcs D3dline.c D3D file: Hw line primitive rendering D3dmath.h D3D file: Mathematical utilities D3dpoint.c D3D file: Hw point primitive rendering D3dstate.c D3D file: Render state management D3dtess.c D3D file: Triangle UV tesselation for oversized triangles D3dtri.c D3D file: Hw triangle primitive rendering D3dutil.c D3D file: Utility functions Ddraw.c Direct Draw functions Ddraw3d.c DirectDraw components for D3D Debug.c Debugging functions and utilities Debug.h Debugging symbols and inline functions Dma.c DMA management Driver.h Prototypes for the display driver Enable.c All functions that enable and disable the driver, the pdev, and the surface Escape.c OpenGL escape functions Fillpath.c The DrvFillPath routine Heap.c Video memory management Hw.h HW 2D register addresses and macros Hw3d.h HW 3D register addresses and macros Lines.c Required GDI line support routines Lines.h Line drawing constants and structures Lpb.c Contains most of the DirectDraw VPE stuff Lpb.h LPB Register Definitions Makefile Drivers makefile Mcd.c Main OpenGl MCD file. Mcdclip.c OpenGL MCD: Primitive clipping Mcdhw.h OpenGL MCD: Hw related structures and defines Mcdline.c OpenGL MCD: Hw line rendering Mcdmath.h OpenGL MCD: Mathematical utility macros Mcdpoint.c OpenGL MCD: Hw point rendering Mcdprim.c OpenGL MCD: Primitive preprocessing Mcdrend.c OpenGL MCD: State management and setup Mcdtex.c OpenGL MCD: Texture setup and management Mcdtri.c OpenGL MCD: Hw triangle rendering Mcdutil.c OpenGL MCD: Utility functions Mcdutil.h OpenGL MCD: Utility defines and macros Misc.c Miscellaneous common routines Mpc.h MPC routines Multi.c Multiple display boards support routines Nodma.c Utility macros Paint.c DrvPaint routine Palette.c Color palette support routines Pointer.c Hardware/software pointer routines Precomp.h Precompiled headers S3common.h Common S3 function routines S3def.h Common S3 function definition header S3dline.c OpenGL MCD: Hw line rendering S3dmacro.h D3D file: Hw related macros and defines S3dtri.c OpenGL MCD: Hw triangle rendering S3ioctl.h Miniport IO control routines Strips.c Contains the low-level line drawing routines called by DrvStrokePath Stroke.c DrvStrokePath routine Strtch3d.c DrvStretchBlt routine Text3d.c DrvTextout routine Textout.c Textout support routines Thunk.c Debug routines Virge.rc Resource file for the display driver Virge1.h Constant and structure definition header Top of page ? 1999 Microsoft Corporation |
|
|
板凳#
发布于:2005-01-21 08:34
这个我看了两遍,但是不知道如何利用这个DLL文件,这个显示驱动是否是通用的,如何调试它!!!,期望研究过它的朋友给个答案
|
|
地板#
发布于:2005-02-04 11:43
snowstart这位老大,虽然没将代码给我share,但和他交流了很多,学到了很多,应该放分给他,否则太不仁义了,看到老大在论坛辛苦耕耘,非常佩服,接分,老大!!!
|
|
地下室#
发布于:2005-02-04 11:44
老大,没看到你怎么得分的啊,得到分了吗
|
|
5楼#
发布于:2005-02-18 11:13
这个我看了两遍,但是不知道如何利用这个DLL文件,这个显示驱动是否是通用的,如何调试它!!!,期望研究过它的朋友给个答案 当然不是通用的,要使用s3的特定型号才可以 |
|
|
6楼#
发布于:2005-02-19 13:23
snowstart这位老大,虽然没将代码给我share,但和他交流了很多,学到了很多,应该放分给他,否则太不仁义了,看到老大在论坛辛苦耕耘,非常佩服,接分,老大!!! 有什么收获,说来听听...... |
|
|