Commit Graph

1953 Commits

Author SHA1 Message Date
halx99 e943d5d24e Committing genbindings changes 2022-11-28 00:44:15 +00:00
RH 7dba255a1d
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 8fa2d738a6
Fix warnings (implicit conversion loses and use of deprecated function) 2022-11-20 09:58:34 +09:00
halx99 ef93570405 Fix ci 2022-11-15 14:34:18 +08:00
halx99 6abf0897a9 Fix ci 2022-11-15 12:28:57 +08:00
halx99 1670b5a393 Fix ci 2022-11-15 12:21:50 +08:00
halx99 a3405298db Improve cmake 2022-11-15 12:08:14 +08:00
一线灵|Deal 4811b9768e
Update init.lua 2022-11-12 20:34:48 +08:00
halx99 fbb40dd47f Fix ci 2022-11-10 22:03:40 +08:00
halx99 19e2a77bb4 Fix #958 2022-11-10 21:22:55 +08:00
halx99 4d9ec2ac36 Committing genbindings changes 2022-11-07 08:04:54 +00:00
halx99 5e62a14751 Add missing source files 2022-11-07 15:55:05 +08:00
halx99 6169dfdb3d Update spine runtime to v4.1-c9af18e 2022-11-07 15:48:19 +08:00
halx99 e39d3de685 Fix spine RotateTimeline 2022-11-03 18:00:48 +08:00
halx99 14754d5e81 All gl APIs from glad 2022-11-01 19:49:57 +08:00
halx99 e84982f86d Fix ci 2022-11-01 16:02:13 +08:00
halx99 7f77a5e9f4 Committing genbindings changes 2022-11-01 04:19:28 +00:00
halx99 35876ef6c1 Fix ci 2022-11-01 12:12:13 +08:00
halx99 28d9fdb6d1 Fix ci 2022-11-01 11:40:06 +08:00
halx99 14bf3b776a Committing genbindings changes 2022-11-01 01:34:53 +00:00
一线灵|Deal 3a06a6438f
Fix ci [skip ci] 2022-11-01 09:22:19 +08:00
halx99 9558360df1 Committing genbindings changes 2022-10-31 22:56:01 +00:00
一线灵|Deal 482303d78e
Merge pull request #942 from axmolengine/remove-search-resolutions-support
Remove  FileUtils::searchResolutionsOrderArray
2022-11-01 06:48:57 +08:00
一线灵|Deal f1a2c04672
Update CMakeLists.txt 2022-11-01 06:47:36 +08:00
halx99 551e0746d8 Fix ci 2022-10-31 14:45:07 +08:00
halx99 28c8e34782 Fix effekseer compiling [skip ci] 2022-10-31 14:30:33 +08:00
halx99 620b009286 Remove FileUtils::searchResolutionsOrderArray 2022-10-30 23:03:39 +08:00
halx99 f8a549e33d Update extensions/CMakeLists.txt 2022-10-30 23:00:33 +08:00
halx99 aa390a2557 Update readme for extensions 2022-10-30 22:53:58 +08:00
halx99 616cd217b0 Add particle effect extension 'Effekseer' support
- By default, OFF
- Use cmake option AX_ENABLE_EXT_EFFEKSEER=TRUE to enable it
2022-10-30 22:52:39 +08:00
halx99 4732d7c073 Committing genbindings changes 2022-10-20 12:52:19 +00:00
tkzcfc 5345d9eb38
Fix downloader crash in the lua coroutine (#927) 2022-10-18 17:42:19 +08:00
一线灵|Deal 0b0f0fcc99
Create README.md 2022-10-17 22:15:27 +08:00
halx99 760aa0d42b Update Dear ImGui to v1.88, refer to #895 2022-10-17 21:46:16 +08:00
halx99 8ea5342cca Committing genbindings changes 2022-10-13 14:08:14 +00:00
halx99 8e5a378f1c Luabinding: Add std:🧵:id support 2022-10-12 14:22:45 +08:00
halx99 16c592367d Committing genbindings changes 2022-10-11 23:33:16 +00:00
aismann a5810457f1
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
RH c131bda9c0
Fix to UI touch location and add keyboard support for ImGui on Android (#910)
* Committing genbindings changes

* Fix for X position calculation not factoring in X origin.
Reduce code duplication.

* Add keyboard input support
2022-10-10 10:16:19 +08:00
RH ffef1ea55b
Enable ImGui for Android (#909)
* Add support for ImGui usage on Android
2022-10-10 03:53:24 +08:00
halx99 29d4e3209e Migrate lua scripts, remove deprecated files 2022-10-07 21:24:11 +08:00
halx99 4602a67c8a Improve code style
Also fix compile error on c++23
2022-10-06 21:32:20 +08:00
halx99 b9f79ac07a Committing genbindings changes 2022-10-04 03:15:52 +00:00
一线灵|Deal 5645bb241e
Final migrate (#876) 2022-10-01 16:24:52 +08:00
tkzcfc c01af9d338
export 'setAttachment' function to lua (#868)
* export: sp.SkeletonAnimation:findBone sp.SkeletonAnimation:getBoundingBox

* export 'setAttachment' function to lua

Co-authored-by: tkzcfc <tkzcfc@users.noreply.github.com>
2022-09-27 19:15:11 +08:00
halx99 f8c3d95176 Committing genbindings changes 2022-09-26 16:13:15 +00:00
halx99 57a76fb2f9 Remove unnecessary APIs 2022-09-26 23:20:54 +08:00
halx99 670e1a606f Migrate ImGui source files name 2022-09-26 22:56:47 +08:00
halx99 7cf191f516 Fix ci warning 2022-09-24 12:58:28 +08:00
halx99 a5d7781455 Committing genbindings changes 2022-09-24 04:39:58 +00:00
halx99 72e6061557 Fix #861 2022-09-23 22:41:30 +08:00
halx99 fad9afbc9a 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
tkzcfc bed737864a
Support Lua to call cc.utils: capturenode (#848) 2022-09-06 21:23:44 +08:00
Paulo Coutinho 8c359917f7
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 33b67fa0df
Migrate, use simple namespace ax (#818) 2022-08-29 20:51:22 +08:00
halx99 6de08175bb Migrte lua script files 2022-08-15 16:28:32 +08:00
halx99 9150b9db83 Migrate cmake files 2022-08-11 15:41:10 +08:00
halx99 2c07233232 Committing genbindings changes 2022-08-11 03:03:29 +00:00
halx99 e2918ad924 Migrate extension 'ImGUI' 2022-08-11 10:02:30 +08:00
halx99 2b1770bdc7 Committing genbindings changes 2022-08-11 01:57:48 +00:00
一线灵 a5b1f8efaa
Improve performance with std::move 2022-08-09 13:21:53 +08:00
aismann 8b408b2cde rename push_back vs emplace_back (fine tuning and remove on Live2D (too much)) 2022-08-09 05:51:07 +02:00
aismann 28dd328eda
replace push_back() vs emplace_back() on extension (#785) 2022-08-09 09:54:53 +08:00
一线灵 13fc72c02c
Migrate axys (#782) 2022-08-08 18:02:17 +08:00
halx99 7a7c8fe2ae Committing genbindings changes 2022-08-06 12:11:55 +00:00
Turky Mohammed 399dac7478
[PROPOSAL] Add wireframe rendering and function classification improvements. (#778)
* Add wireframe rendering and function classification improvements.

* Fix platform compilation.

* Update CommandBufferGL.cpp

GL_LINE and GL_FILL are no present in mobile devices, so the raw value has been used instead.

* Update CommandBufferGL.cpp

* Try fix IOS compilation

* Update CommandBufferMTL.h [skip ci]

* GLES & D3D11 wireframe

Added crude but okay wireframe mode for GLES and D3D11 devices.
2022-08-06 16:17:55 +08:00
halx99 c21408cd73 Fix #776 2022-08-04 21:05:48 +08:00
tkzcfc 8178ce87e1
Support spine binary files (#777) 2022-08-04 20:11:11 +08:00
unknown 6c08914f74 Replace getSpriteFrameByName() with findFrame() in cocos-studio 2022-08-02 20:01:44 +05:30
halx99 cc8692b6f6 Fix live2d_tests android build 2022-08-02 17:55:42 +08:00
halx99 6fda3c6e57 Committing genbindings changes 2022-08-02 00:29:11 +00:00
halx99 a9b101809f Sync spine=3.8 latest 2022-07-26 21:04:27 +08:00
tkzcfc 9791189fd3
[Lua Binding] Support return type 'ResourceData' (#763) 2022-07-22 13:13:22 +08:00
aismann 73153ad614
Improve c++11 for-loop performance with Universal References (#760) 2022-07-21 19:19:08 +08:00
halx99 5391557c09 Fix #758 2022-07-20 18:41:33 +08:00
halx99 c3558448c2 Committing genbindings changes 2022-07-20 00:57:28 +00:00
halx99 5b98fa33a2 Committing genbindings changes 2022-07-19 10:58:12 +00:00
halx99 600fdd5962 Migrate macro COCOS2D_DEBUG, refer #751 2022-07-19 15:34:26 +08:00
halx99 47db7aff28 Remove check since axis allways enable string-pooling 2022-07-16 17:53:01 +08:00
一线灵 ee8877615d
Merge pull request #750 from axis-project/migrate-macros
Migrate macros 'CC_' to 'AX_'
2022-07-16 12:45:47 +08:00
halx99 4974d1181c Sync platform macros [skip ci] 2022-07-16 10:53:30 +08:00
halx99 c0a4371879 Migrate more macors 2022-07-16 10:43:05 +08:00
一线灵 2e0ac94240
Remove unnecessary check [skip ci]
refer to #748
2022-07-15 19:44:31 +08:00
halx99 f3ac6ea871 Migrate macros 'CC_' to 'AX_' 2022-07-15 19:17:01 +08:00
halx99 dc0670cbd8 Sync docs for namespace migrate 2022-07-15 18:40:42 +08:00
halx99 85e9ae3fa5 Fix lua templte 2022-07-12 23:21:04 +08:00
一线灵 406f962cad
Migrate extension lua (#747) 2022-07-12 21:31:54 +08:00
一线灵 279337f17f
Migrate engine namespace to `axis`(abbv: `ax`) (#743) 2022-07-11 17:50:21 +08:00
halx99 9ee4181976 Migrate tests, extensions and configs ReSquash for unexpected changes +2 2022-07-09 22:23:34 +08:00
halx99 fff2bd59ed Fix setup cmake files and some relative sources 2022-07-08 14:20:41 +08:00
DelinWorks e73b2492c5 Replace CC_ with AX_ 2022-07-08 02:17:41 +03:00
DelinWorks 49b6dda016 Fix CMAKE 2022-07-08 02:10:35 +03:00
halx99 cabb87a6ca Fix ci 2022-07-05 23:47:25 +08:00
halx99 9d2ed962e6 Committing genbindings changes 2022-07-05 07:53:11 +00:00
Turky Mohammed fb4e263b8b
[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 8d7f133e7c [spine] Use currentState to setup shader stubs 2022-07-05 14:40:18 +08:00
halx99 0f9a79899b [Spine] Use backend shader definations 2022-07-05 14:36:04 +08:00
halx99 91e57e7dd3 Spine runtime can use official code 2022-07-05 14:13:15 +08:00
halx99 4d5f644518 Committing genbindings changes 2022-07-04 16:47:16 +00:00
一线灵 b51e50a498
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