direct3d
How do I improve Direct3D streaming texture performance?
I\'m trying to accelerate the drawing of a full-screen texture which changes every frame.On my system, I can get around 1000 FPS using GDI and BitBlt(), but I thought I could improve performance by us[详细]
2023-02-08 15:47 分类:问答Detecting .png alpha channel in Windows/D3D
I\'m loading a texture from .png using D3DXCreateTextureFromFile(). How can my program kn开发者_StackOverflow社区ow if the image file contains an alpha channel?This isn\'t too hard to do by simply exa[详细]
2023-02-07 19:29 分类:问答Irritating Text Wrapping with GDI & Direct3D
If I use Direct3D\'s DrawText, which behaves like the GDI counterpart, and I e开发者_开发问答nable the DT_WORDBREAK formatting flag, it\'ll cut the text on apostrophes whenever the situation arises, w[详细]
2023-02-06 21:17 分类:问答Direct3D app screws up XULRunner
I have an app using a render engine which can switch between D3D and OpenGL (on Windows at least!) We also use XULRunner for embedded web-browser functionality. XULRunner also appears to use D3D and w[详细]
2023-02-06 04:11 分类:问答Minimal code to create a Direct3D9 Device
This isn\'t for stable release code, I just need to get a windowed D3D9 device created in a C++ app from a HWND on my dev PC for testing something... it can default on loads of options.[详细]
2023-02-06 01:30 分类:问答Direct3D hook overlay
I am trying to achieve an effect like the program Fraps does, which is an overlay on top of a game, and to do this I am hooking the IDirect3DDevice9::EndScene function and rendering stuff before calli[详细]
2023-02-05 08:54 分类:问答Performance issue between builds
I\'ve been developing a small indie game in my spare time and have run across an inexplicable issue开发者_高级运维. Some builds of the game will randomly run several hundred frames per second slower t[详细]
2023-02-05 07:11 分类:问答Queuing data into swapchain of IDirect3DDevice9
I am new to direct开发者_如何学编程3D . I am trying to write an image on direct3ddevice and get the same image in xrgb from it. I create a texture and get the surface from GetSurfaceLevel(). I use a i[详细]
2023-02-05 04:09 分类:问答Several Direct3D devices and Intel GMA945
I have created 16 Direct3D devices with size approximately 320x200 pixel开发者_开发百科s. I invoke IDirect3DDevice9::Present for each device in a separate thread every 40 ms. On laptops with Windows X[详细]
2023-02-04 09:08 分类:问答What sort of things can cause a whole system to appear to hang for 100s-1000s of milliseconds?
I am working on a Windows game and while rendering, some computers will experience intermittent pauses (\"hitches\" for lack of a better term). When profiled they appear in seemingly random places in[详细]
2023-02-04 01:22 分类:问答