Problem:
If i run my app at 1280x1024 resolution in windowed mode, performance is excellent. However, if i switch to full screen (on the same desktop display that is 1280x1024), performance is very bad.
Analysis shows that the performance problems are exclusively in the gapidraw library calls: SetPixel(), GetPixel(), BltFast() and AlphaBlt*().
All I am doing to set full screen mode is:
1. pass the GDDISPLAY_FULLSCREEN option to OpenDisplay().
2. set dwDisplayHz = 75.
Any idea why this may occur? It does not seem to happen when using the plasma sample app and I do not see any differences between my app and the sample.
Thank you for any advise.
If i run my app at 1280x1024 resolution in windowed mode, performance is excellent. However, if i switch to full screen (on the same desktop display that is 1280x1024), performance is very bad.
Analysis shows that the performance problems are exclusively in the gapidraw library calls: SetPixel(), GetPixel(), BltFast() and AlphaBlt*().
All I am doing to set full screen mode is:
1. pass the GDDISPLAY_FULLSCREEN option to OpenDisplay().
2. set dwDisplayHz = 75.
Any idea why this may occur? It does not seem to happen when using the plasma sample app and I do not see any differences between my app and the sample.
Thank you for any advise.