leda
4ddd2aee0d
close audio device properly ( #1552 )
2018-10-19 17:03:06 +08:00
leda
dada2eb244
move "cocos2d::experimental::" to "cocos2d::" on Audio ( #1549 )
...
* remove “experimental” in audio dir
* update audio bindings
* fix "{" match error
* no need "experimental" for thread pool
* remove both out-of-date js api files
2018-10-18 13:34:12 +08:00
Arnold
9a1f054471
change field Application::_scheduler to static ( #1536 )
...
* make Applicatino::_scheduler static
* fix mac projfile
* keep scheduler permanent
* remove commented code
2018-10-11 11:22:08 +08:00
leda
09985f002b
adapt to fps in the main loop on mac ( #1489 )
2018-08-30 12:48:34 +08:00
leda
463e37e4d8
fix no sleep in main loop on mac ( #1472 )
2018-08-23 16:25:10 +08:00
leda
3873d01bdd
fix depend error on application.h ( #1458 )
...
* correct event type
* move isDisplayStats Impl from header to source file
* correct header file depend for application-ios
* same header changes on win32
2018-08-16 13:34:36 +08:00
leda
86122c859a
close audio device when destruct Application ( #1442 )
...
* close audio device when destruct Application
* added android
* correct header include
* remove TODO: destroy DeviceGraphics
2018-08-08 08:55:26 +08:00
minggo
b3122ea9e5
add a function to terminate application ( #1434 )
2018-08-02 10:46:35 +08:00
James Chen
1bb1806099
Supports Compressed Textures. ( #1260 )
...
* Updates CCConfiguration.h/.cpp.
* Supports Compressed Textures.
* Constructs Configuration singleton in Application constructor.
* Move Configuration::getInstance after createView.
2018-05-23 19:10:49 +08:00
James Chen
442c149053
Implements Application::restart and some fixes. ( #1253 )
...
* Implements Application::restart.
* SAFE_DEC_REF should reset pointer to nullptr.
* Class::cleanup should be after of JSGlobalContextRelease.
* WebGLObject needs to be released if ScriptEngine is in cleanup process.
* Fixes memory leak in JSB_glGetActiveAttrib
2018-05-21 18:46:12 +08:00
minggo
8a76997242
adapt mac resolution ( #1248 )
2018-05-18 11:57:12 +08:00
minggo
4a13d0e15e
Downsample ( #1245 )
...
* support render texture
* use texture unit 0
* add functions to set device pixel ratio
* add ccDeleteBuffers again
* fix according comments
2018-05-17 14:05:05 +08:00
James Chen
07cc734c8c
setAnimationInterval -> setPreferredFramesPerSecond and binds setPreferredFramesPerSeconds. ( #1244 )
...
* setAnimationInterval -> setPreferredFramesPerSecond.
* Binds setPreferredFramesPerSeconds.
* typo fix in CCApplication-win32.cpp
2018-05-16 18:06:26 +08:00
James Chen
727a4911d4
[runtime] Adds jsb.openURL, __getOSVersion, __getCurrentLanguage interfaces. ( #1238 )
2018-05-11 16:03:17 +08:00
minggo
d98484654f
Optimize ( #1202 )
...
* fix some bugs
* fix binding codes of Texture2D::updateSubImage()
2018-04-20 14:31:52 +08:00
James Chen
b34b517435
DeviceGraphics::getInstance fix.
2018-04-19 13:41:08 +08:00
James Chen
1fa4ea0e6f
Merge branch 'new-renderer' of git://github.com/cocos-creator/cocos2d-x-lite into runtime
...
# Conflicts:
# cocos/renderer/gfx/IndexBuffer.cpp
# cocos/renderer/gfx/VertexBuffer.cpp
2018-04-19 11:23:36 +08:00
James Chen
58310293f2
more cache fix.
2018-04-14 15:59:18 +08:00
James Chen
a668496b8e
Comments initializing DeviceGraphics and textAlign supports middle. ( #1171 )
...
* Comments initializing DeviceGraphics since runtime doesn't need renderer stuff temporarily.
* textAlign supports middle.
* reverts.
2018-03-28 21:26:08 +08:00
James Chen
9b2aaf1cd0
getImageInfo is async method now. Clear autoreleasepool at the end of frame. ( #1150 )
2018-03-17 09:48:32 +08:00
James Chen
26e8259389
Merge branch 'new-renderer' of git://github.com/cocos-creator/cocos2d-x-lite into new-renderer
2018-03-12 15:34:45 +08:00
minggo
0d483a9b07
add back network ( #1141 )
...
* add back network
* add network back on windows
2018-03-09 16:20:48 +08:00
James Chen
15370e52db
ios label works.TODO: outline, bold, underline.
2018-03-09 12:37:57 +08:00
James Chen
1cd2166684
continue.
2018-03-06 10:41:10 +08:00
James Chen
88123dbb7b
Updates opengl binding and module fix.
2018-03-05 11:00:02 +08:00
minggo
6f54248b7f
fix iOS scale issue ( #1134 )
2018-02-28 16:07:20 +08:00
minggo
a3dc57d9b7
js sample work on iOS ( #1132 )
...
* js sample work on iOS
* beautify codes
2018-02-26 16:58:10 +08:00
minggo
e99f2401fd
fix viewport issue on retina displays ( #1130 )
...
* fix viewport issue on retina displays
* remove include file
2018-02-24 18:13:03 +08:00
James Chen
f001d1135d
Adds swapBuffer to GLView, bunny test works again on Mac. ( #1129 )
2018-02-24 14:22:06 +08:00
minggo
93090fea87
can run js on iOS and Mac ( #1124 )
2018-02-24 10:27:31 +08:00
minggo
c01325313d
refactor ios gl context setting process ( #1123 )
2018-02-23 11:18:16 +08:00
minggo
fee7afc74a
mac main loop work ( #1112 )
...
* mac main loop work
* fix some issue
2018-02-11 14:25:14 +08:00
minggo
802e48080e
New renderer ( #1097 )
...
* build work on mac
* build ok on iOS
* fix compiling error on android
* fix android link error
2018-02-08 10:40:29 +08:00
Jare Guo
d9bd3d763c
update license ( #1089 )
...
* updating license
* update license
2018-02-01 15:20:01 +08:00
pandamicro
1dd701936b
Fix compilation issues on Mac
2016-08-11 13:57:51 +08:00
pandamicro
fe85f150d9
Upgrade cocos/platform to v3.13
2016-08-05 18:13:48 +08:00
Wenhai Lin
ec1a1d65b7
Remove unnecessary 'void' modifier
2016-04-07 23:13:19 +08:00
Wenhai Lin
94c95d5838
Withespaces does matter.
2016-03-31 23:50:02 +08:00
Wenhai Lin
a6dbf31dcf
cocos 2d lite version
2016-03-29 17:55:48 +08:00