FBA and Windows 7 Frameskip / Stuttering (Update)Recently I made a research of information and started doing lot of testing and found out that the Windows 7 problem is not FB Alpha problem.
It is a problem with the Desktop Window Manager Service (DWM), this service functions are located at DWMAPI.DLL and use functions from USER32.DLL and probably others. This DLL can be found only on Windows 7 operative system at the "System32\" directory and "SysWOW64\" respectively.
The DWM handle many drawing procedures for Windows 7 advanced UI system, and the Aero Themes depend on this service. So basically we cannot disable this service to solve the Frame Skipping / Stuttering problem.
After learning about all this I created a module on FB Alpha that will do the following:
- Detect Windows 7 (will specifically detect if running Windows 7)
- If Windows 7 is detected, Load "dwmapi.dll" handle, and import all needed functions.
- Set the FB Apha specific window parameters for DWM.
This will make DWM handle the FBA window without problems, and there is no more frame-skipping / stuttering.
This new module I created will consist of two main source files that should be on "src\burner\win32\" :
- dwmapi_core.cpp
- dwmapi_core.h
Files that will need to be modified at the FBA source will be:
- run.cpp
- burner_win32.h
At this moment I am trying to solve a problem with the FBA menu, because the menu / toolbar and its buttons are located on the main window Client Area, and DirectX uses the main window Client Area it will become completely black anytime DirectX is handling the main window Client Area. DWM displays the DirectX surface rectangle on top of anything drawn in the main window Client Area, so that means GDI drawing on the main Client Area while DirectX is using it will be problematic.
I am working on a solution and a improvement of FBA that will allow it to work as a MDI application, and instead of using the main window Client Area, use a Child Window client area to display DirectX graphics, this should solve the long standing problem with the menu and allow new UI features in the future.
So basically, if you didn't understand all the previous stuff, what it means is that the Frameskip / Stuttering problem has been solved
and FB Alpha is now working smoothly on Windows 7. There is a problem with the main menu but "should" be solved soon.
SeeYaa!