上一页 1 2 3 4 5 6 7 ··· 14 下一页

2011年9月1日

摘要: 所有devices创建后 关联到一个 D3D对象上, 他们共享一份物理资源。如果你创建多个渲染设备, 从一个D3D对象上, 极端的性能问题可能会产生, 因为他们同用了一个硬件。略......代码........注意 : create, release, reset, 应该在同一个线程中调用. 阅读全文
posted @ 2011-09-01 22:02 oleeceo 阅读(152) 评论(0) 推荐(0)
摘要: HAL Device主要的设备类型。支持 硬件加速 和 (硬件 + 软件)顶点处理。应用程序 不会直接进入图像适配器. 而是通过D3D来进行图形加速器使用。如果你的电脑支持hal, 它可以使用hal来获得最好的图形性能。CreateDevice使用D3DDEVTYPE_HAL参数 创建device.Reference DeviceD3D支持一种附加的设备类型, 叫ref.这种设备用来调试. 并且只在安装了DirectX SDK的机器上才能成功.因为这种设备 更注重 精度 而非 速度, 所以得到的程序不会很fast.ref设备 会在任何可能的时候 使用CPU instructions, 但不是为 阅读全文
posted @ 2011-09-01 19:55 oleeceo 阅读(373) 评论(0) 推荐(0)
摘要: WindowsXP display driver model(XPDM) or Windows Vista display driver model(WDDM). 依赖于操作系统安装。这两个驱动下, D3D API有些不同。安全桌面在安全桌面时,HAL不能使用。-------------------------------------------------------------------------------------| XPDM会丢失所有devic. || D3D9Ex 和 Direct3D 10 APIs 会成功创建de... 阅读全文
posted @ 2011-09-01 19:32 oleeceo 阅读(643) 评论(0) 推荐(0)
摘要: Direct3D Graphics Pipeline 内部处理流程 逻辑Direct3D System Integration应用程序和图像硬件 逻辑 阅读全文
posted @ 2011-09-01 18:51 oleeceo 阅读(163) 评论(0) 推荐(0)

2011年8月30日

摘要: Getting Started (Direct3D 9)ArchitectureDevicesResourcesCoordinate Systems and GeometryTransformsViewports and ClippingLights and MaterialsRenderingSurfacesTexturesD3DXX Files (Legacy)Coordinate Systems and Geometry (Direct3D 9)1, 2, 左(积极)右(消极)手坐标系 : x, y 都是固定的, y上正, x右正.z轴左右手判定 : 左右手, 4指顺x轴掏, 大拇指方向 阅读全文
posted @ 2011-08-30 08:08 oleeceo 阅读(265) 评论(0) 推荐(0)

2011年7月9日

摘要: Python(82317916)2011/7/98:54:18谁有靠谱点的VPN,我去买一个绿色的沙漠(14325034)2011/7/99:35:30win7下如何让程序以管理员权限运行,并且不弹出用户帐户控制对话框?Python(82317916)2011/7/99:39:51邪恶的UCA注入绿色的沙漠(14325034)2011/7/99:40:24这样会被杀毒软件报的Python(82317916)2011/7/99:40:36正常点的技术是利用服务搭桥绿色的沙漠(14325034)2011/7/99:41:28这个技术我不是很清楚,能不能说的再详细点呢Python(82317916. 阅读全文
posted @ 2011-07-09 10:06 oleeceo 阅读(710) 评论(0) 推荐(0)

2011年6月26日

摘要: while (TRUE) { Sleep(50); if (PeekMessage(&msg, progress->m_hWnd, 0, 0, PM_REMOVE) != 0) { if (msg.message == WM_QUIT) break ; TranslateMessage (&msg) ; DispatchMessage (&msg) ; } else{ //break; } }你可以在任何窗口内放置这么一个循环, 于是你会发现很多东西.1. MFC主线程有1个总消息循环, 所有窗口消息经由总循环分发到窗口做处理.2. 消息如何分发,,看情况了, 有 阅读全文
posted @ 2011-06-26 11:39 oleeceo 阅读(208) 评论(0) 推荐(0)

2011年5月8日

摘要: -----------------------------------------------------------------------------------------------------------------1. EnumWindow(hwnd_parent, Fun, lparam) EnumChildWindow SendMessage 可以做单向, 环路通知(最好不要环路, 只剩单向)2. FindWindow(class_name, window_name) 只找顶层的? FindWindowEx(hwnd_parent, xxx, class_name, windo 阅读全文
posted @ 2011-05-08 15:57 oleeceo 阅读(1258) 评论(0) 推荐(0)

2011年5月6日

摘要: ParametersPeriod[in] 线程组中的每个线程在 1个period时期中都会执行一次, 如果1个period没用完, 但所有线程都运行完了, 那么所有线程会等1个period用完位置, 期间什么也不做.Timeout 如果一个线程没有在指定的timeout时间运行完, 将被移出group, 如果是父线程没有在timeout时间运行完, 整个group将被销毁. 阅读全文
posted @ 2011-05-06 11:26 oleeceo 阅读(210) 评论(0) 推荐(0)
摘要: the thread ordering service 控制 一个或多个用户客户线程的执行. 它保证每个用户线程 能够在特定时期 根据相对顺序, 运行上一次. Windows Server2003 and WindowsXP/2000: 不支持the thread ordering service每个用户线程属于一个thread ordering group. 父线程创建一个或多个thread ordering group通过调用AvRtCreateThreadOrderingGroup功能. 父线程 使用 这个函数来 为thread ordering group 设置 period 和 ti 阅读全文
posted @ 2011-05-06 10:23 oleeceo 阅读(3865) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 14 下一页

导航