Commit Graph

50 Commits

Author SHA1 Message Date
一线灵|Deal 33b67fa0df
Migrate, use simple namespace ax (#818) 2022-08-29 20:51:22 +08:00
halx99 9150b9db83 Migrate cmake files 2022-08-11 15:41:10 +08:00
一线灵 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
一线灵 5f099c56ac
Fix #771 2022-08-02 21:48:16 +08:00
aismann 73153ad614
Improve c++11 for-loop performance with Universal References (#760) 2022-07-21 19:19:08 +08:00
DelinWorks 1791579fda Add primitive type support for mesh materials. 2022-07-20 02:33:45 +03:00
DelinWorks a0e6d4a045 Fix quad vertex shader compilation. 2022-07-19 08:20:13 +03: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
DelinWorks d1d8873964 Fix shader matrix multiplication. 2022-07-07 05:38:28 +03:00
一线灵 8ff01d47c4
Fix ci 2022-07-07 09:59:21 +08:00
halx99 62b356a107 Improve code style 2022-07-07 09:30:48 +08:00
DelinWorks 15f43941e8 Update quad.frag [skip ci] 2022-07-04 21:13:29 +03:00
Turky Mohammed 995a6469d1
Update quad.frag [skip ci]
Co-authored-by: 一线灵 <halx99@live.com>
2022-07-04 21:12:17 +03:00
DelinWorks 1ed03a41ad Separate renderer enums to their own file. 2022-07-04 19:52:17 +03:00
Turky Mohammed 94dcf63300
Merge branch 'adxeproject:dev' into improve-3d-renderer 2022-07-04 19:40:56 +03:00
DelinWorks 399bd7e89f Add stride functions and remove unneeded UNSPEC value. 2022-07-04 19:20:04 +03:00
halx99 768a8bd5e1 Refator sampler name in shader 2022-07-04 21:26:48 +08:00
DelinWorks 7a8b123548 Fix mobile compilation.
Treat `CC_ENABLE_CACHE_TEXTURE_DATA` portion of code accordingly.
2022-07-03 22:50:19 +03:00
halx99 0e99b4ece0 Improve class IndexArray 2022-07-03 21:17:49 +08:00
DelinWorks cb7bd4118b Improve type naming. 2022-07-02 19:46:41 +03:00
DelinWorks a7a022c48d Remove buffers stat and add quad mesh shaders.
Remove drawn buffers label and Add a simple position_texture_color shader for simple primitives like quads to implement static sprite batching in the future.
2022-07-02 18:22:31 +03:00
Turky Mohammed 66598df93f
Merge branch 'adxeproject:dev' into improve-3d-renderer 2022-07-01 13:46:04 +03:00
一线灵 03b01cd414
Merge pull request #690 from DelinWorks/engine-bug-fixes
[BUG] Fix `getDefaultCamera()` returning nullptr on scene initialization.
2022-07-01 12:17:08 +08:00
halx99 9b1edadb2f Fix #689 2022-07-01 12:14:44 +08:00
DelinWorks 79d228d007 Update CCRenderer.cpp 2022-07-01 04:06:26 +03:00
DelinWorks 4a0622cb3f Update BufferGL.h 2022-06-30 22:43:56 +03:00
DelinWorks 0c3f7400b0 Update BufferGL.h 2022-06-30 22:26:02 +03:00
DelinWorks 5dd0ce5d8e Add UINT mesh index format support. 2022-06-30 21:44:37 +03:00
halx99 ab7fafea6b Improve GPUTextureFormat info enums 2022-06-27 15:37:55 +08:00
halx99 57ab6c184f Improve code style 2022-06-25 00:36:50 +08:00
halx99 1889180a75 Improve renderer 2022-06-24 14:18:48 +08:00
一线灵 0b19d999e9
glGetTexImage only supported by Natvie GL 2022-06-22 19:09:45 +08:00
halx99 2e412ee29f Take care glGetTexImage func pointer check 2022-06-14 15:33:42 +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 fbde97c360 Rename source file name match with class name 2022-04-27 18:24:33 +08:00
halx99 ef56d0d335 Update copyright notices 2022-04-25 19:15:46 +08:00
halx99 aef5450056 Reindent code [skip ci] 2022-04-24 21:44:41 +08:00
halx99 36fa5ad84e Remove CC_CONSTRUCTOR_ACCESS, refer to #603 2022-03-18 21:46:07 +08:00
halx99 6ce9dc0b8d Fix leak 2022-03-13 12:05:22 +08:00
halx99 818e563e51 Finish #578 2022-02-17 17:11:17 +08:00
halx99 25653e1d7c Fix #580 2022-02-08 12:41:18 +08:00
halx99 0867240fe9 Fix ci 2022-02-06 13:18:27 +08:00
halx99 64e678c84a Remove unnecessary parameter 2022-02-06 13:06:49 +08:00
halx99 2a6e749ad4 Fix ci & update project url in sources 2022-01-04 12:36:20 +08:00
halx99 e534dd66c0 Rename core folder name 2021-12-31 14:39:08 +08:00