Commit Graph

78 Commits

Author SHA1 Message Date
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