halx99
1ec408812f
Fix cmake setup
2023-08-09 14:37:43 +08:00
Deal
969baf94d4
Update CHANGELOG [skip ci]
2023-08-09 13:52:28 +08:00
halx99
d2dda873c4
Improve code style
2023-07-29 15:46:04 +08:00
halx99
2191b51499
[WIP] Not convert mat3 to mat3x4 in engine
...
Because both metal and GLSL3/ESSL3 mat3 is identical to mat3x4, so provide a
class Mat3 to handle GPU mat3x3
2023-07-27 22:36:51 +08:00
halx99
76f00b4456
Make renderer works on opengl core profile mode
2023-07-20 20:23:56 +08:00
halx99
02616bb774
Merge: ac073ee8c1
4753270d77
...
Merge branch 'main' into dev
2023-07-19 23:45:36 +08:00
halx99
1b4c9bbec8
Auto compile app/Sources/shaders to axslc/custom
2023-07-19 23:41:16 +08:00
halx99
7bd3b57809
Improve code style
2023-07-19 21:12:25 +08:00
halx99
04c5505fa2
Fix glDisable state guard
2023-07-19 18:35:05 +08:00
Deal
eae07123dc
Refer to #1278
2023-07-19 09:10:46 +08:00
Turky Mohammed
7759ad562f
Optimize `OpenGL` State Management ( #1269 )
...
Co-authored-by: halx99 <halx99@live.com>
2023-07-18 21:16:21 +08:00
j-jorge
c2d7bdcb45
Allow unity builds on a subset of the sources. ( #1266 )
...
In order to allow unity builds we need to avoiding "using namespace"
at file scope, #undef our file-specific #defines, and avoid having
static functions with identical name and signature.
2023-07-15 19:06:54 +08:00
j-jorge
fcdbd9968e
Add missing include guards. ( #1265 )
2023-07-10 08:47:20 +08:00
j-jorge
0af6db6345
Add missing include guard in NinePatchImageParser.h ( #1248 )
2023-07-01 08:53:09 +08:00
j-jorge
049db01a8a
UserDefault: check the result of posix_ftruncate. ( #1249 )
2023-07-01 08:51:29 +08:00
halx99
c06d5af3f8
Move queueOperation from GLView to Director
2023-06-25 01:17:29 +08:00
halx99
3eac3abecf
Sync yasio to latest
2023-06-24 21:18:27 +08:00
Deal(涓€绾跨伒)
feffe4095c
Update 3rd sources ( #1240 )
...
- llhttp: 8.1.1
- yasio: latest
- recast 1.6.0
- openal-soft: latest for official UWP support
- glad 2.0.4
- libpng 1.6.40
- astcenc 4.5.0
- Add fastlz: latest
- Disable lz4 by default
2023-06-24 09:17:14 +08:00
halx99
63175a193e
Move win32 _ftruncate impl to base/posix_io.cpp
2023-06-11 19:19:12 +08:00
halx99
2cd3f8c6c9
Move posix io macros to base/posix_io.h
2023-06-11 14:39:19 +08:00
Deal(涓€绾跨伒)
abd8029f64
Remove CC prefix from code file name ( #1230 )
...
* Add migrate sources tool
* Fix include replace regex
* Fix compile
* Migrate maually
* Disable sources-migrate tool by default
* Fix ci
* Fix ci
* Improve source migrate
* Fix ios/tvos ci
* Fix ios/tvos ci
* Fix
2023-06-11 13:08:08 +08:00
RH
978648e5a9
Factor in protected nodes when creating global Z node priority map for event dispatcher ( #1224 )
2023-06-05 17:09:50 +08:00
halx99
f0db2648fe
[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(涓€绾跨伒)
cd123d7a15
[REFINE] Use ipv4 address preferred for console command server ( #1216 )
2023-05-26 22:13:47 +08:00
Deal(涓€绾跨伒)
dca6c87c4a
[Refine] Improve exit flow ( #1213 )
2023-05-25 15:45:00 +08:00
halx99
5c459de11c
Update yasio to latest
2023-05-15 16:57:02 +08:00
halx99
233d2d8ada
Fix ci
2023-05-14 22:52:40 +08:00
halx99
50b9249e28
Update yasio to latest
2023-05-14 22:39:05 +08:00
halx99
86242db115
Fix ci
2023-05-14 18:24:41 +08:00
halx99
cdf65a5ef1
Fix ci
2023-05-14 18:16:24 +08:00
halx99
7220abdb6f
Fix ci
2023-05-03 20:34:45 +08:00
Turky Mohammed
90bc5108cd
Refactor HSV/HSL ( #1187 )
...
* Refactor HSV/HSL
some code in `CCParticleSystemQuad.cpp` depends on changes made in `HSV/HSL` classes.
* remove incorrect const&
2023-04-26 17:44:32 +08:00
Turky Mohammed
aed837b0ae
Update ccTypes.cpp ( #1184 )
2023-04-25 10:39:52 +08:00
Deal(涓€绾跨伒)
1e6e9d4a8d
Media engine video texture ( #1133 )
...
* VideoPlayer based on new MediaEngine[Win32/UWP]
* Improve MediaEngine interface
* Update readme
* Improve pixel format
* Improve MediaEngine interface
* Ready for PR UWP/Win32
* Ready for PR UWP,Win32
* Update reademe files
* Update readme files
* Update UIVideoPlayer-android.cpp [skip ci]
* Update UIVideoPlayer-ios.mm
* Update MFUtils.cpp
* Fix ci
2023-03-25 08:37:51 +08:00
Deal(涓€绾跨伒)
277bcd44ce
Windows Store UWP apps support ( #1108 )
...
* [BIG FEATURE] Windows Store UWP apps support
* Fix ci, add uwp for pr-ci
* Fix ci
* Improve ci script
* Fix ci
* Fix ci
* Fix ci
* Fix ci
* Upload uwp appx package artifacts [skip ci]
* Use d2d draw system font text
* Fix ci
* Improve code style
2023-03-11 22:10:18 +08:00
halx99
f452a3d173
Remove range-v3 which is not compatible UWP c++17
2023-03-10 13:20:45 +08:00
halx99
8bf4817ff7
Fix compile errors in c++17
2023-03-08 08:34:17 +08:00
halx99
ed9c2d161c
Improve UserDefault code style
2023-02-23 21:59:27 +08:00
halx99
e6a3aedff0
Working on c++23
...
There are many more efficient features on future c++23 standard
2023-02-18 11:39:31 +08:00
halx99
ae14727dc7
Fix #1032
2023-01-17 10:06:09 +08:00
halx99
fa9f663e3a
Don't use deprecated function
2023-01-11 23:28:22 +08:00
halx99
98efcfe193
Update yasio to latest
2023-01-04 23:20:07 +08:00
halx99
a8916dfd50
Preferred use ax::print for engine log output
2023-01-04 22:52:40 +08:00
halx99
2522b1ef45
Fix feature check for MSVC
2023-01-03 18:01:40 +08:00
halx99
b644220459
Fix ci
2023-01-01 18:41:48 +08:00
halx99
319aaf3a49
Renaming performFunctionInCocosThread to runOnAxmolThread
2023-01-01 18:08:25 +08:00
halx99
0f97e3fa3a
Improve base64 API
...
Move base64Encode/base64Decode to namespace `ax::utils`
2023-01-01 18:07:18 +08:00
halx99
ad83c5e95f
Move SIMD detection to AXConfigDefine.cmake
2022-12-17 11:56:48 +08:00
RH
2e30b51ab7
Add a pool for GroupCommand rendering commands ( #969 )
...
* Committing genbindings changes
* Use a pool of GroupCommand entries to avoid multiple entries of the same group in the render queue in certain scenarios
* Ensure captureNode works as expected.
* Set member variables to default values when init method is called on the GroupCommand
* Explicitly reset the command state when retrieving a GroupCommand from the pool
2022-11-28 08:37:22 +08:00
Vincent Lee
5f6e1cd42d
Fix warnings (implicit conversion loses and use of deprecated function)
2022-11-20 09:58:34 +09:00
joilnen
5214ea1eb1
fixing some warnings compilation in linux gcc 12.2.0
2022-11-14 15:46:27 -03:00
Vincent Lee
97f8a8d544
Replace use of deprecated sprintf with snprintf
2022-11-14 16:02:16 +09:00
halx99
df91bc9d69
Improve ftruncate
2022-11-10 13:45:51 +08:00
涓€绾跨伒|Deal
6ddd6f0e05
Update CMakeLists.txt
2022-11-01 06:47:36 +08:00
halx99
a87bf2ee4b
Fix effekseer compiling [skip ci]
2022-10-31 14:30:33 +08:00
halx99
56d66aba67
Remove FileUtils::searchResolutionsOrderArray
2022-10-30 23:03:39 +08:00
halx99
9afa4a0255
Improve ax::Vector compiler compatible, also fix #933
2022-10-26 23:17:48 +08:00
halx99
376941da91
Migrate
2022-10-18 19:17:36 +08:00
halx99
abd9338a7a
Migrate [skip ci]
2022-10-18 19:13:40 +08:00
涓€绾跨伒|Deal
25d93bd509
Improve code quality (stage1.Oct) ( #916 )
...
* Improve code quality
* Add env PULL_REQUEST [skip ci]
* Update build.ps1
* Fix ci [skip ci]
* Update ZipUtils.cpp
* Update build.ps1
* Resolve reviews
* Improve
* Improve code style
* Resolve reviews
* Use pod_vector
* Improve resize growth
* Update CCAnimation3D.cpp
* Update axstd.h [skip ci]
2022-10-13 21:44:42 +08:00
halx99
8c18f962d5
馃敤Fix #887
2022-10-12 19:44:31 +08:00
aismann
eb5058e6d0
/* axmol thread id */ ( #924 )
2022-10-12 07:04:36 +08:00
aismann
3ef8ac63f2
rename cocos2d to axmol ( #920 )
...
* rename cocos2d to axmol
* rename cocos2d.h to axmol.h
* Update Physics3DTest.cpp
replace Sprite3D -> MeshRenderer
2022-10-12 00:15:09 +08:00
涓€绾跨伒|Deal
48a7da97d6
Final migrate ( #876 )
2022-10-01 16:24:52 +08:00
halx99
3a9a26c743
Fix #861
2022-09-23 22:41:30 +08:00
halx99
ea1b70288d
Update thirdparty libs
...
fmt: 9.0.0 --> 9.1.0
llhttp: 6.0.7 --> 6.0.9
astc-encoder: 4.0.0 --> 4.1.0
webp: 1.2.2 --> 1.2.4
flatbuffers: 2.0.0 --> 2.0.8
2022-09-15 20:15:28 +08:00
Paulo Coutinho
f5aeb5a8c2
Add apple tvos support ( #846 )
...
* support tvos
* support tvos and fix run command
* support tvos, fix run script and fix windows files
* support tvos on ci
* support tvos on ci and fix windows zlib
* support tvos on ci
* support tvos
* support tvos and tvos tests
2022-09-05 14:13:52 +08:00
涓€绾跨伒|Deal
e0e083aa3b
Merge: 6df48e9f8b
baceccbb2f
...
Merge pull request #837 from aismann/ISSUE_#825
#825
2022-09-02 11:59:46 +08:00
halx99
ec1a06afe8
Fix typo
2022-09-02 10:36:25 +08:00
aismann
68f8a2b0c7
#825
2022-09-01 13:51:19 +02:00
涓€绾跨伒|Deal
e37761260a
Migrate, use simple namespace ax ( #818 )
2022-08-29 20:51:22 +08:00
涓€绾跨伒
c6fc93abbc
Update README.md
2022-08-18 09:13:09 +08:00
unknown
9a9025aede
Add empty check
2022-08-16 15:12:45 +05:30
halx99
a9933f877c
Improve code style
2022-08-16 17:15:56 +08:00
halx99
6d5e50ded9
Avoid unnecessary double lookup
2022-08-16 17:14:06 +08:00
halx99
1cd4bd42d3
Fix ci
2022-08-11 22:05:23 +08:00
halx99
b1287b8cc5
Migrate cmake files
2022-08-11 15:41:10 +08:00
涓€绾跨伒
9892aa3d1c
Migrate axys ( #782 )
2022-08-08 18:02:17 +08:00
aismann
376c80dd2d
Replace push_back() vs emplace_back() on axis/tests/cpp-tests and axis/core ( #781 )
...
* Replace push_back() vs emplace_back() on axis\tests\cpp-tests\
D:\______\GitHub\aismann\axis\tests\cpp-tests\Classes
Replace Vector push_back() vs emplace_back() #762
* Replace push_back() vs emplace_back() on axis\core\ #781
* Update CCConsole.cpp
* Update UIWebViewImpl-android.cpp
* Update UIWebViewImpl-android.cpp
2022-08-08 13:18:33 +08:00
涓€绾跨伒
4dc1c53da8
Merge: df2cfe1490
797a41b469
...
Merge pull request #769 from askamn/dev
Crashfix in UserDefault
2022-08-02 21:11:33 +08:00
halx99
ce2494ea35
Fix android ci
2022-08-02 18:49:19 +08:00
unknown
8610fe4b7e
Missed edge case when resizing the memorymapped file in UserDefault that could cause a crash
2022-08-02 16:13:12 +05:30
aismann
2a2e8a1e95
Improve c++11 for-loop performance with Universal References ( #760 )
2022-07-21 19:19:08 +08:00
halx99
c16a33e347
Migrate more macors
2022-07-16 10:43:05 +08:00
涓€绾跨伒
ac1872494c
Remove unnecessary check [skip ci]
...
refer to #748
2022-07-15 19:44:31 +08:00
halx99
41d2c44308
Migrate macros 'CC_' to 'AX_'
2022-07-15 19:17:01 +08:00
涓€绾跨伒
bf77f46dce
Migrate engine namespace to `axis`(abbv: `ax`) ( #743 )
2022-07-11 17:50:21 +08:00
halx99
c2acb3a744
Migrate tests, extensions and configs ReSquash for unexpected changes +2
2022-07-09 22:23:34 +08:00
DESKTOP-16GC0B8\813658
07bffb5df1
operator[] changed for better usage
2022-07-09 02:07:01 +03:00
Turky Mohammed
59c6611e71
Replace everything under `core` ( #735 )
...
Co-authored-by: deal <halx99@live.com>
2022-07-09 01:23:11 +08:00
halx99
906c60e40e
Fix setup cmake files and some relative sources
2022-07-08 14:20:41 +08:00
涓€绾跨伒
cb2b15896f
Merge: 2457f80090
b28e6d5aa6
...
Merge pull request #715 from aismann/dev
Rename internal variable '_displayStats' to '_statsDisplay'
2022-07-06 13:44:55 +08:00
涓€绾跨伒
94673d72ce
Merge: 1c02999878
9951bbe820
...
Merge pull request #714 from DelinWorks/improve-engine-types
[IMPROVMENT] Fix & improve `FastRNG.h`
2022-07-06 13:23:44 +08:00
aismann
cabf2086e4
Rename internal variable '_displayStats' to '_statsDisplay'
...
fix #709
2022-07-06 06:58:24 +02:00
halx99
f4e524f7a2
Merge: fb4e263b8b
4f1212e655
...
Merge branch 'improve-3d-renderer' of https://github.com/DelinWorks/adxe into dev
2022-07-05 15:42:38 +08:00
Turky Mohammed
656babac78
[IMPROVMENT] Change class name `Sprite3D` to `MeshRenderer` ( #705 )
...
* First draft [skip ci]
* Improve comments [skip ci]
* Rename MeshRendererMaterial to MeshMaterial [skip ci]
* Update dependent classes.
* Replace occurrences of Sprite3D with MeshRenderer.
* Update cpp-tests and extensions.
* Fix compilation.
* Try fixing lua-bindings
* Try fixing lua-bindings
* Update lua_cocos2dx_3d_manual.cpp [skip ci]
* Create RENAMED_TYPES.md
2022-07-05 14:48:46 +08:00
halx99
ba582903fc
Spine runtime can use official code
2022-07-05 14:13:15 +08:00
DelinWorks
d50d34ea3b
Separate renderer enums to their own file.
2022-07-04 19:52:17 +03:00
涓€绾跨伒
e6ae7c44b3
Merge: 555f847c1f
6dd8b2c74a
...
Merge pull request #702 from DelinWorks/improve-engine-types
[PROPOSAL] Move global enums to their own file.
2022-07-05 00:39:20 +08:00
DelinWorks
96158090db
Add stride functions and remove unneeded UNSPEC value.
2022-07-04 19:20:04 +03:00