-
HWA extension
Hi,
I wanted to use the HWA features of MMF in my extension (based on Edif SDK). Since I do not find lots of documentation about it, I tried to use the Perspective extension from Andos as a start point. I noticed that I need another dll to compile it.
I had contact with Yves and he sent me the mmf2.dll to compile it but it seems that all his private message were deleted between old and new forum.
Can I get this dll back?
Can someone with HWA experience give me some tips and a first overview of what is available for HWA: for example, GetRenderTargetSurface(), BeginRendering(,), etc?
-
The latest version of EDIF and the version on my fork are both HWA supported. You don't need to do anything special by changing linker settings with various DLLs or anything, you just need to code it for HWA. Just as with building for Unicode, there are two equally redundant ways to check if you are in HWA: you can use #ifdef to detect at compile time, or you can use the Runtime.IsHWA() function.
Also, you should mark this thread as English so other people can actually see it.
-
Ok thanks LB. I need to check this. I did not manage to compile my project last time I tried with those particular functions with EDIF.
Newbie question: how do you mark a thread as English?
EDIT: Ok, I found that I have a conditional compilation #ifdef HWABETA in this EDIF version. It makes sense now.
But I still need to add a reference to another mmfs2.lib in Linker. Otherwise I have unresolved external symbols.
-
How old is that version of EDIF you have?
You can try downloading the latest lib files from the EDIF repository (download the whole repo as a zip):
https://github.com/ClickteamLLC/wind...ree/master/Lib
-
I have downloaded it for six months on github (same link). The library that Yves sent me is bigger (291Kb) and seems to work. I did not try the linker with the mmf2su library but it should not make a difference for HWA.
EDIT: I confirmed by editing quickly both library files: there is no BeginRendering function in the mmfs2.lib. In my HWA version, it is available.
-
I don't know then, Looki is using EDIF for Surface and he has had HWA working. At this point, I'd say just ask Yves again about this issue, perhaps link him to this thread. It would be nice to update EDIF to support that.
-
I will check with him. Thanks for the support.
-
I took a look on the source code of Looki's extension Surface on github and all the code regarding HWA is commented. Is there any reason to do so (bug, stability) or is this code working properly?
-
Huh, well I know he had had HWA working - I think he had to drop support for some reason, to update the extension, etc. I know for sure older versions of the extension worked in HWA.
-
Ok, thanks. I will try to see directly with him if I haven't already received support from Yves in the meantime.