Discussion area about developing or extending OGRE, adding plugins for it or building applications on it. No newbie questions please, use the Help forum for that.
D3DPERF_BeginEvent, _EndEvent, etc. are part of the deprecated D3DX library from DX9!
2>C:\ogre\RenderSystems\Direct3D11\src\OgreD3D11RenderSystem.cpp(2932): error C3861: 'D3DPERF_BeginEvent': identifier not found
2>C:\ogre\RenderSystems\Direct3D11\src\OgreD3D11RenderSystem.cpp(2932): error C3861: 'D3DCOLOR_ARGB': identifier not found
2>C:\ogre\RenderSystems\Direct3D11\src\OgreD3D11RenderSystem.cpp(2938): error C3861: 'D3DPERF_EndEvent': identifier not found
2>C:\ogre\RenderSystems\Direct3D11\src\OgreD3D11RenderSystem.cpp(2949): error C3861: 'D3DPERF_SetMarker': identifier not found
2>C:\ogre\RenderSystems\Direct3D11\src\OgreD3D11RenderSystem.cpp(2949): error C3861: 'D3DCOLOR_ARGB': identifier not found
Transporter wrote:If you like to use this functions instead of the ID3DUserDefinedAnnotation interface (http://msdn.microsoft.com/en-us/library/hh446881.aspx) you have to add DX9 header and lib to the DX11 renderer
Atm the moment i guarded them inside Ogre_profile for 1.8.1 so its optional but in the future we should use the dx11 specific functions which target win8 and above.
But i also do not know how much useable the dx11 rs in 1.8 is.
Wolfmanfx wrote:Atm the moment i guarded them inside Ogre_profile for 1.8.1 so its optional but in the future we should use the dx11 specific functions which target win8 and above.
But i also do not know how much useable the dx11 rs in 1.8 is.
The current DX11 code is instable. You should remove the whole profiling part from 1.8.0 and add it with the fix to 1.8.1. The new functions should be used after 1.8.1 release.