Hello. My company (www.belightsoft.com) begin porting our product (Live Interior 3D) from Mac to Win8 Metro style. As many Win32 API are not available for such applications, Ogre must be tweaked to work in such environment, or it will not pass validation process for Windows Store.
Here http://www.ogre3d.org/forums/viewtopic.php?f=1&t=67913&p=447694#p447694 is related topic, but I repeat my action plan here:
1. Build Ogre with #define WINAPI_FAMILY 2 using subset of Win32 that is allowed for Metro-style apps. Fix/re-implement/exclude from build Timer, ErrorDialog, ConfigDialog, WindowEventUtilities, DynLib.
2. Tweak RenderSystem_Direct3D11 to work over ICoreWindow as well as over HWND. This must be made via #ifdefs to avoid unavailable API usage, but in all other aspects Direct3D11.1 is similar to Direct3D11.
3. Rebuild Ogre`s dependencies with #define WINAPI_FAMILY 2, build simple sample application and check with Windows App Cert Kit that nobody uses forbidden API and sample application is "Windows Store clean".
4. After Win8 beta1 in late Feb 2012 investigate and add support for Direct3D/XAML mixed mode, i.e. not fullscreen applications.
Patch with modifications for first step (OgreMain) is attached. Would you mind making me the part of the team with commit rights to move through this schedule?
With best regards,