pupilforever
驱动牛犊
驱动牛犊
  • 注册日期2004-11-23
  • 最后登录2005-03-15
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1909回复:6

请问 \NTDDK\src\video\displays\s3virge例子做什么的

楼主#
更多 发布于:2005-01-20 14:54
1、在\NTDDK\src\video\displays\s3virge目录下的例子是做什么的
2、对任何显卡都是通用的吗?S3是什么意思啊,只支持S3显卡吗
3、我怎么在用户层编程调用其中的函数啊,怎么知道函数被调用了
4、谢谢大家,给分了!!!
snowStart
驱动老牛
驱动老牛
  • 注册日期2004-04-06
  • 最后登录2011-06-02
  • 粉丝0
  • 关注0
  • 积分95分
  • 威望19点
  • 贡献值177点
  • 好评度1点
  • 原创分0分
  • 专家分0分
沙发#
发布于: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


学习,关注,交流中... [email=fengyu@163.com]Email:snowstarth@163.com[/email] [url]http://bbs.zndev.com/?a=snowStart[/url]
pupilforever
驱动牛犊
驱动牛犊
  • 注册日期2004-11-23
  • 最后登录2005-03-15
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2005-01-21 08:34
这个我看了两遍,但是不知道如何利用这个DLL文件,这个显示驱动是否是通用的,如何调试它!!!,期望研究过它的朋友给个答案
pupilforever
驱动牛犊
驱动牛犊
  • 注册日期2004-11-23
  • 最后登录2005-03-15
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
地板#
发布于:2005-02-04 11:43
snowstart这位老大,虽然没将代码给我share,但和他交流了很多,学到了很多,应该放分给他,否则太不仁义了,看到老大在论坛辛苦耕耘,非常佩服,接分,老大!!!
pupilforever
驱动牛犊
驱动牛犊
  • 注册日期2004-11-23
  • 最后登录2005-03-15
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
地下室#
发布于:2005-02-04 11:44
老大,没看到你怎么得分的啊,得到分了吗
AllenZh
驱动老牛
驱动老牛
  • 注册日期2001-08-19
  • 最后登录2015-11-27
  • 粉丝19
  • 关注10
  • 积分1316分
  • 威望2387点
  • 贡献值7点
  • 好评度321点
  • 原创分0分
  • 专家分0分
5楼#
发布于:2005-02-18 11:13
这个我看了两遍,但是不知道如何利用这个DLL文件,这个显示驱动是否是通用的,如何调试它!!!,期望研究过它的朋友给个答案

当然不是通用的,要使用s3的特定型号才可以
1,承接Windows下驱动/应用开发 2,本人原创虚拟鼠标/键盘,触摸屏,虚拟显卡,Mirror驱动,XP无盘的SCSI虚拟磁盘驱动等 3,windows下有尝技术服务(包括BUG调试,员工培训等) 欢迎深圳和海外企业联系.msn:mfczmh@sina.com
wowocock
VIP专家组
VIP专家组
  • 注册日期2002-04-08
  • 最后登录2016-01-09
  • 粉丝16
  • 关注2
  • 积分601分
  • 威望1651点
  • 贡献值1点
  • 好评度1227点
  • 原创分1分
  • 专家分0分
6楼#
发布于:2005-02-19 13:23
snowstart这位老大,虽然没将代码给我share,但和他交流了很多,学到了很多,应该放分给他,否则太不仁义了,看到老大在论坛辛苦耕耘,非常佩服,接分,老大!!!

有什么收获,说来听听......
花开了,然后又会凋零,星星是璀璨的,可那光芒也会消失。在这样 一瞬间,人降生了,笑者,哭着,战斗,伤害,喜悦,悲伤憎恶,爱。一切都只是刹那间的邂逅,而最后都要归入死亡的永眠
游客

返回顶部