2008年11月14日

C++ command buffer

摘要: 以下代码实现了一个C++ command buffer,代码在VC80调试通过,支持_cdecl,_stdcall,_thiscall三种调用1)参数存储:为了便于参数压栈,参数采用DWORD块存储,并且按照从右到左的顺序排列2)参数进栈:使用计数循环,让每一个DWORD进栈3)函数执行:对于_cdecl 需要手动退栈,_stdcall 和 _thiscall 自动退栈4)未实现 check es... 阅读全文

posted @ 2008-11-14 16:22 cgwolver 阅读(1104) 评论(1) 推荐(0)

SGI opengl source code download

摘要: OpenGL® Sample ImplementationURL: http://oss.sgi.com/projects/ogl-sample 下载地址:ftp://oss.sgi.com/projects/ogl-sample/download另一个开源的OpenGL 实现是mesa3dhttp://www.mesa3d.org最近听说 SGI把OpenGL改为自由软件了...htt... 阅读全文

posted @ 2008-11-14 12:01 cgwolver 阅读(2006) 评论(0) 推荐(1)

导航