Commit Graph

2555 Commits

Author SHA1 Message Date
halx99 28eb9e1886 Take care lambda implicit capture std::string_view
refer to: #1002
2023-01-03 23:02:17 +08:00
halx99 59bc12dddf Improve base64 API
Move base64Encode/base64Decode to namespace `ax::utils`
2023-01-01 18:07:18 +08: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
aismann 4fb2e1aa65
Update DrawPrimitivesTest.cpp
fix #137 and try to "explain" the behavior of setLineWidth() om DrawNode object
2022-11-07 20:56:11 +01:00
halx99 6169dfdb3d Update spine runtime to v4.1-c9af18e 2022-11-07 15:48:19 +08:00
halx99 4f7ffa02fd Fix copyright notice [skip ci] 2022-11-01 20:02:56 +08:00
halx99 103334e251 Add effekseer test 2022-11-01 19:50:43 +08:00
RH b0c51f590d
Add support for centered horizontal layout (#946)
* Committing genbindings changes

* Add support for CENTER_HORIZONTAL layout type.
2022-11-01 19:02:04 +08:00
halx99 620b009286 Remove FileUtils::searchResolutionsOrderArray 2022-10-30 23:03:39 +08:00
halx99 06079a5369 Migrate 2022-10-18 19:17:36 +08:00
一线灵|Deal 39b57ae939
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 1d01e163e9 🔨Fix #887 2022-10-12 19:44:31 +08:00
halx99 046eef5cf0 Fix #873 2022-10-12 12:39:27 +08:00
aismann c206a1456f
/* axmol thread id */ (#924) 2022-10-12 07:04:36 +08:00
CHP d5635a2687
Update UIImageViewTest.cpp (#923)
Fix UIImageViewIssue12249Test
2022-10-12 07:04:21 +08: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
halx99 544c3919c3 Fix #908 2022-10-11 13:23:47 +08:00
RH ffef1ea55b
Enable ImGui for Android (#909)
* Add support for ImGui usage on Android
2022-10-10 03:53:24 +08:00
CHP 58c311f63d
precompile_headers all platforms (#901) 2022-10-10 03:52:04 +08:00
aismann f22148e80f
Improve MeshRenderer #879 thanks @solan-solan (#904)
* Update Physics3DTest.cpp

Improve #879  thanks @solan-solan

* Update CCMeshRenderer.cpp

#hope this is fixing #879
2022-10-08 06:15:03 +08:00
一线灵|Deal 92e5f465fa
Merge pull request #801 from theunwisewolf/dev-richtext-scale-support
RichElementImage - Add support for scaling
2022-10-04 11:08:49 +08:00
aismann af2de36066 Test adapt to #879 2022-10-02 11:56:38 +02:00
一线灵|Deal 5645bb241e
Final migrate (#876) 2022-10-01 16:24:52 +08:00
aismann 1a8c4fbd4f
Add test case for issue #861
Add 'obj' on:
Physics3DTerrainDemo
Physics3DCollisionCallbackDemo

Co-authored-by: 一线灵|Deal <halx99@live.com>
2022-09-24 14:00:00 +08:00
halx99 0e2194a247 Improve code style 2022-09-24 11:01:45 +08:00
halx99 d1efe584be Improve code style 2022-09-24 10:42:11 +08:00
halx99 72e6061557 Fix #861 2022-09-23 22:41:30 +08:00
aismann 3dddef1bc3
Clipper2 v1 04 (#856)
* Clipper2 v1.04 (and small fixes)

* Update README.md
2022-09-19 14:17:13 +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
aismann 38a2488966
Update Issue829Test (DrawPrimitiveTest) (#844)
* Update Issue829Test (DrawPrimitiveTest)

* Update DrawPrimitivesTest.cpp

* Update DrawPrimitivesTest.cpp
2022-09-05 13:48:28 +08:00
aismann 6dc1d48f14 Issue_829 2022-08-30 14:05:44 +02:00
一线灵|Deal 33b67fa0df
Migrate, use simple namespace ax (#818) 2022-08-29 20:51:22 +08:00
aismann 880ec7321e Update SpritePolygonTest.cpp 2022-08-28 07:17:10 +02:00
aismann 73e8740e82 Improve SpritePolygonTest 2022-08-28 06:34:20 +02:00
aismann 84b40f5dea Update SpritePolygonTest.cpp
Fix for issue #231
2022-08-24 19:44:53 +02:00
unknown c26ab44880 Add empty check 2022-08-16 15:12:45 +05:30
unknown 8a462d89c9 Add support for width & height in percentage for RichElementImage 2022-08-16 12:09:02 +05:30
unknown f5c7940418 RichElementImage - Add support for scaling 2022-08-12 03:58:36 +05:30
一线灵 13fc72c02c
Migrate axys (#782) 2022-08-08 18:02:17 +08:00
aismann 10530b1a19
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
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
aismann 73153ad614
Improve c++11 for-loop performance with Universal References (#760) 2022-07-21 19:19:08 +08:00
aismann 3e38cfdc6e Fix: #712 (mistake by me) 2022-07-19 20:05:19 +02:00
halx99 600fdd5962 Migrate macro COCOS2D_DEBUG, refer #751 2022-07-19 15:34:26 +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
一线灵 406f962cad
Migrate extension lua (#747) 2022-07-12 21:31:54 +08:00
halx99 8ca5f1cf0d Fix #742 2022-07-11 19:08:14 +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