direct3d fullscreen mode

Started by
2 comments, last by fproto 20 years, 10 months ago
hey guys. i need a good setting for the direct3d display mode so the fullscreen will run just as fast as the windowed. currently it is a 100 times slower, and i find it annoying. please help. thank you.
function(prototype);
Advertisement
"a good setting" depends on what graphics hardware you''re running and the modes that it supports.

Aside from that: Try displaying some text on the screen showing what device mode you''re using. Maybe you''re not using hardware vertex processing, but software?
Hmm, full-screen is usually faster than windowed. Of course if you''re comparing 1600x1200 full-screen to a 640x480 window, that''s another story.

When profiling, make sure you use D3DPRESENT_INTERVAL_IMMEDIATE so that it''s not syncing to the monitor refresh rate. And don''t use D3DSWAPEFFECT_COPY unless you need to pass source and destination rectangles to Present. D3DSWAPEFFECT_DISCARD is preferable, as long as you don''t need the back buffer to persist after calling Present.
Donavon KeithleyNo, Inky Death Vole!
i''ll try that thanks.
function(prototype);

This topic is closed to new replies.

Advertisement