qyli Posted June 29, 2011 Posted June 29, 2011 I build the project use visual studio 2010, source is the same as source/app/main.cpp, but the program run very slow when init. After debug the program, I found AppWindow::create_context spend lot of time(about 3s in dx11, over 10s in opengl), however the program compiled with scons havn't this problem, realy strange, anyone occured this problem? ps, the system is windows7 64, build target is x86.
frustum Posted July 21, 2011 Posted July 21, 2011 The engine is built for Windows with the following flags: CPPFLAGS: /EHsc /W3 /wd4355 /wd4250 /Osixy /fp:fast CPPDEFINES: _CRT_SECURE_NO_DEPRECATE HAVE_XML HAVE_IMAGE HAVE_REGEXP HAVE_SOCKET HAVE_VORBIS HAVE_THEORA USE_ASSERT USE_MEMORY USE_SHADER_CACHE USE_OPENGL USE_GL_WRAPPER USE_DIRECT3D9 USE_D3D9_WRAPPER USE_DIRECT3D10 USE_D3D10_WRAPPER USE_DIRECT3D11 USE_D3D11_WRAPPER USE_OPENAL USE_AL_WRAPPER USE_XPAD360 USE_JOYSTICK USE_EDITOR We can't reproduce the performance problem.
qyli Posted July 22, 2011 Author Posted July 22, 2011 strange, just rename the compiled program from game to game2 or something else, the problem gone, rename main_x86.exe to game.exe come with sdk have this problem also, I will try on my home machine later
Recommended Posts