Commit Graph

73 Commits

Author SHA1 Message Date
solan-solan 64034df2ad
GL_RGBA32F GL backend support (#1034)
* Added GL_RGBA32F_EXT for GL backend to support floating point textures.

* Committing genbindings changes

* Added fp texture constant to mtl.

Co-authored-by: solan-solan <solan-solan@users.noreply.github.com>
2023-01-19 22:10:41 +08:00
Turky Mohammed 54eb339f5f
Update positionColorLengthTexture.vert (#1021) 2023-01-08 09:36:14 +08:00
一线灵|Deal 8ab4be0123
fix typo 2023-01-07 20:24:49 +08:00
一线灵|Deal 25934b84f2
Fix typo 2023-01-07 19:46:20 +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
Vincent Lee 8fa2d738a6
Fix warnings (implicit conversion loses and use of deprecated function) 2022-11-20 09:58:34 +09:00
joilnen 79ee13376f fixing some warnings compilation in linux gcc 12.2.0 2022-11-14 15:46:27 -03:00
halx99 fbb40dd47f Fix ci 2022-11-10 22:03:40 +08:00
halx99 e84982f86d Fix ci 2022-11-01 16:02:13 +08:00
一线灵|Deal 1bb6439d5f
Update CCRenderer.h 2022-11-01 09:27:50 +08:00
halx99 03d8945362 Fix ci warnings 2022-10-27 13:01:18 +08:00
halx99 cebba41a1e Validate shared VertexLayout from Shader Program 2022-10-20 20:19:56 +08:00
halx99 4228b658af Fix memory leak 2022-10-20 20:18:32 +08:00
halx99 9c7c80aafa Migrate [skip ci] 2022-10-18 19:13:40 +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
一线灵|Deal f1d31a15b6
Update Device.h 2022-10-12 20:37:56 +08:00
halx99 1d01e163e9 🔨Fix #887 2022-10-12 19:44:31 +08:00
一线灵|Deal 5645bb241e
Final migrate (#876) 2022-10-01 16:24:52 +08:00
halx99 c312a9c157 Change Program::getActiveAttributes retun type to reference 2022-09-24 11:38:41 +08:00
halx99 d1efe584be Improve code style 2022-09-24 10:42:11 +08:00
一线灵|Deal c63b8f2134
Fix ci 2022-09-23 23:25:01 +08:00
halx99 72e6061557 Fix #861 2022-09-23 22:41:30 +08:00
aismann baceccbb2f #825 2022-09-01 13:51:19 +02:00
一线灵|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