axmol/cocos/platform
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
..
android fix an Accelerometer second to microsecond convertion error in Android platform (#17519) 2017-03-16 12:00:58 +08:00
apple Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
desktop 17357: Better encapsulate the definition of mouse buttons (#17358) 2017-03-02 13:39:33 +08:00
ios Fixes cocos2d build for tvOS. (#17498) 2017-03-15 10:01:38 +08:00
linux Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
mac Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
tizen Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
win8.1-universal Fixed variable order in initializer lists (#17274) 2017-02-04 10:33:58 +08:00
win32 fixed #17497: Win32 performance is bad. (#17556) 2017-03-22 15:03:00 +08:00
winrt win10 uwp fix for new Mouse events (#17434) 2017-03-03 12:40:32 +08:00
CCApplication.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
CCApplicationProtocol.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
CCCommon.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
CCDevice.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
CCFileUtils.cpp Bindings fix and assets manger ex fix (#17115) 2017-03-15 16:09:02 +08:00
CCFileUtils.h Add utils::getMD5Hash (#17520) 2017-03-16 13:47:45 +08:00
CCGL.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
CCGLView.cpp Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
CCGLView.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
CCImage.cpp Fixes memory issues catched by Xcode Analyze Tool. (#17489) 2017-03-14 11:09:31 +08:00
CCImage.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
CCPlatformConfig.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
CCPlatformDefine.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
CCPlatformMacros.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
CCSAXParser.cpp No CC_UNUSED_PARAM (#16812) 2016-11-16 09:48:37 +08:00
CCSAXParser.h Fix implicit conversion warning (#16598) 2016-09-26 14:49:47 +08:00
CCStdC.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
CCThread.cpp Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
CCThread.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
CMakeLists.txt Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00