halx99
bb2e0e372a
[FEATURE] Add new API GLView::queueOperation
...
- Queue a priority operation in render thread, even through app in background
- Please do logic in callback, don't update ui or any other render state
usage
```
Director::getInstance()->getOpenGLView()->queueOperation([](void* param){
// do somethings for logic only(Don't update render state or UI)
});
```
2023-05-31 20:42:39 +08:00
Deal(一线灵)
1f02b92cdc
[Refine] Improve exit flow ( #1213 )
2023-05-25 15:45:00 +08:00
Vincent Lee
0508dca83f
Replace use of deprecated sprintf with snprintf
2022-11-14 16:02:16 +09:00
halx99
1d01e163e9
🔨 Fix #887
2022-10-12 19:44:31 +08:00
aismann
c206a1456f
/* axmol thread id */ ( #924 )
2022-10-12 07:04:36 +08:00
一线灵|Deal
5645bb241e
Final migrate ( #876 )
2022-10-01 16:24:52 +08:00
aismann
baceccbb2f
#825
2022-09-01 13:51:19 +02:00
一线灵
13fc72c02c
Migrate axys ( #782 )
2022-08-08 18:02:17 +08:00
halx99
c0a4371879
Migrate more macors
2022-07-16 10:43:05 +08:00
halx99
f3ac6ea871
Migrate macros 'CC_' to 'AX_'
2022-07-15 19:17:01 +08:00
一线灵
279337f17f
Migrate engine namespace to `axis`(abbv: `ax`) ( #743 )
2022-07-11 17:50:21 +08:00
Turky Mohammed
8517d0ee7f
Replace everything under `core` ( #735 )
...
Co-authored-by: deal <halx99@live.com>
2022-07-09 01:23:11 +08:00
aismann
b28e6d5aa6
Rename internal variable '_displayStats' to '_statsDisplay'
...
fix #709
2022-07-06 06:58:24 +02:00
DelinWorks
9009228ef4
[skip ci]
2022-07-03 20:50:02 +03:00
DelinWorks
166ebd2ce6
Move global enums to their own file.
2022-07-03 20:43:55 +03:00
aismann
6c702daa3b
Cleanup, last fixes, rename enum FPSPosition
2022-07-02 08:17:24 +02:00
aismann
8f5cc3ff2c
fix typo
2022-07-02 06:19:47 +02:00
aismann
88fe2d7666
add 'no change' check.
2022-07-02 06:02:22 +02:00
aismann
97d7b793f7
FPS display set position should be set by API #695
2022-07-01 17:15:20 +02:00
DelinWorks
4997f613de
Fix overriding position when applying custom properties. [skip ci]
2022-07-01 05:58:42 +03:00
DelinWorks
8d3c2b0cdb
Use CCASSERT instead.
2022-07-01 05:54:20 +03:00
一线灵
9bdc6232ac
Update CCDirector.cpp
2022-06-30 21:06:39 +08:00
一线灵
bfe12be7b6
Revert "Unify frame rate control logical to director mainLoop"
2022-06-30 21:04:00 +08:00
halx99
752d3150eb
Improve code style
2022-06-30 12:05:28 +08:00
halx99
3f00332d3d
Improve frame rate control
2022-06-29 17:26:22 +08:00
一线灵
884a4c3b1d
Delete unused comment [skip ci]
2022-06-28 17:14:35 +08:00
halx99
498747aeea
Improve frame rate control precision
2022-06-28 16:33:50 +08:00
halx99
e2a9a5204d
Unify fps control logical to director mainLoop
2022-06-28 12:39:05 +08:00
halx99
21fe8df12b
Fix lua template duplicate res error on mac
...
Fix typo
Fix cmdline fail on new macos
2022-05-15 16:36:06 +08:00
halx99
30a164c31a
Improvements and bug fixes
...
Improve ResizableBufferAdapter style
Improve extesnion adxelua
Improve code quality
Fix lua-tests BillBoardTest
Sync texture pixel format enum values for adxelua
Fix luaval_to_vec2 parameter location
Improve windows workflow
Improve cmake scripts
Take care Texture2D::setDefaultAlphaPixelFormat use
2022-05-13 21:06:29 +08:00
halx99
4db3ba63b7
Match compression test images PMA with engine settings
2022-04-26 16:38:59 +08:00
halx99
024253df0a
Delete DEPRECATED code
2022-04-23 17:49:42 +08:00
halx99
7d7a1f3f2c
All compressed image should do PMA at texture convert tools or GPU fragment shader
...
such as astcenc-2.3+(https://github.com/ARM-software/astc-encoder/releases ) with -pp-premultiply
2022-04-23 17:45:07 +08:00
halx99
2a6e749ad4
Fix ci & update project url in sources
2022-01-04 12:36:20 +08:00
halx99
a651879ee6
Tidy audio folder
2022-01-03 11:34:58 +08:00
halx99
e534dd66c0
Rename core folder name
2021-12-31 14:39:08 +08:00