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
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
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
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
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.
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
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
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
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
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