axmol/cocos/platform/win32
James Chen 85ded40a98 fixed #17497: Win32 performance is bad. (#17556)
* fixed #17497: Win32 performance is bad.
The 'Sleep(1)' in FPS controlling code isn't precise enough. Windows sets timer precision from 1ms to 15ms, we need to set the precision to the highest one (1ms). Although it's still not enough, we need to make some tricks in the FPS controlling code, that is, don't sleep if the interval is equal or less than 1 millisecond.

* Untabify code.
2017-03-22 15:03:00 +08:00
..
compat Fixes 1605 include path in 541 files 2016-03-20 21:53:44 +08:00
CCApplication-win32.cpp fixed #17497: Win32 performance is bad. (#17556) 2017-03-22 15:03:00 +08:00
CCApplication-win32.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
CCCommon-win32.cpp Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
CCDevice-win32.cpp Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
CCFileUtils-win32.cpp Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
CCFileUtils-win32.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
CCGL-win32.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
CCPlatformDefine-win32.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
CCStdC-win32.cpp Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
CCStdC-win32.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
CCUtils-win32.cpp Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
CCUtils-win32.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
inet_pton_mingw.cpp Fixes 1605 include path in 541 files 2016-03-20 21:53:44 +08:00
inet_pton_mingw.h MinGW build fix 2015-03-05 11:11:13 +03:00