halx99
c2e55c4cdc
Merge console-next from dev into 1.x
2023-08-31 17:48:39 +08:00
halx99
e6a48e8f86
Update ImGui to 1.89.8
2023-08-26 11:24:11 +08:00
halx99
5183995a36
Merge: f9b6553e57
94be720d3f
...
Merge branch '1.x' into dev
2023-08-25 16:57:54 +08:00
halx99
2bf41d7d31
Fix ci
2023-08-25 16:57:38 +08:00
halx99
46f668b01b
Remove render backend setLineWidth [skip ci]
...
Due to not all of GL and Metal support it, so remove it unify behavior
developers shouldn't relay on it
2023-08-25 16:49:08 +08:00
halx99
f525d6c726
Update docs
2023-08-25 16:46:32 +08:00
halx99
66d68707f1
Improve GLES2 compatibility
2023-08-22 19:34:28 +08:00
halx99
bfe167121e
Add cmake option AX_GLES_PROFILE
...
Valid value of AX_GLES_PROFILE: 0, 200, 300
By default, the AX_GLES_PROFILE is:
- android: 200, allow axmol apps runs on: API 17 Android 4.2+ devices
- winuwp: 300
- Win32/linux/osx/ios/tvos: 0
For ios/tvos, will forcing AX_GLES_PROFILE to 300 if AX_GLES_PROFILE not 0
2023-08-14 20:40:05 +08:00
Deal
9dc9e9adc7
Update android.yml
2023-08-13 23:58:18 +08:00
halx99
bd0e1fef4b
Fix compile error
2023-08-13 22:09:02 +08:00
Deal
572bb2f700
Test use glad on android
2023-08-13 00:24:35 +08:00
halx99
cc9cbcbff9
Merge: eba7fc17ba
6bbdc273f8
...
Merge branch 'main' into dev
2023-08-10 18:53:35 +08:00
halx99
46ed10dac3
Update yasio to v4.1.0
2023-08-10 18:36:45 +08:00
halx99
1ec408812f
Fix cmake setup
2023-08-09 14:37:43 +08:00
Deal
969baf94d4
Update CHANGELOG [skip ci]
2023-08-09 13:52:28 +08:00
halx99
51cbc84aaf
Fix android imgui
2023-07-28 15:22:07 +08:00
halx99
cf69428746
Use macro for shader location binding
2023-07-25 19:06:12 +08:00
halx99
c37af4c38e
Improve shader managment
...
1. Rename uniformId to batchId, refine batch draw check logic, not use xxhash to compute uniforms id
2. Material works, not check all cpp-tests, but some 2d/3d material works fine
3. Shader load/cache API improvements.
4. BREAK compatibliity: Node::setProgramState change parameter needsRetain to ownPS and value inverted.
5. custom vertexLayout setup: add new API ProgramState::getMutableVertexLayout, mark ProgramState::setVertexAttrib deprecated.
6. ProgramManager registerCustomProgram change to gen progId by vsName, fsName
with xxhash64, if register succed, user can load it by progId with `loadProgram`
7. Add API ProgramManager::loadProgram for loading builtin by progType or
loding a custom program by id
8. Add API ProgramManager::loadProgram to load program by vsName, fsName
immediately without register as CUSTOM_PROGRAM
9. Add API Node::setProgramStateByProgramId(progTypeOrId); for set programState with
programType or programId explicit.
10. Migrate material load logic
2023-07-25 09:40:05 +08:00
halx99
756e860794
Fix state for multi gl context
...
Solve imgui multi-viewport afterimage problem
2023-07-21 19:32:44 +08:00
halx99
76f00b4456
Make renderer works on opengl core profile mode
2023-07-20 20:23:56 +08:00
halx99
94b5705bd3
Improve cmake script
...
- glslcc helper function
- Rename ax_add_shader to ax_target_compile_shaders
- Provide argument FILES for specify single or multi shader
source files support, i.e.
ax_target_compile_shaders(target_name FILES 1.frag 1.vert)
- Rename all _AX_ROOT_PATH to _AX_ROOT
2023-07-06 19:21:36 +08:00
Deal(涓€绾跨伒)
abd8029f64
Remove CC prefix from code file name ( #1230 )
...
* Add migrate sources tool
* Fix include replace regex
* Fix compile
* Migrate maually
* Disable sources-migrate tool by default
* Fix ci
* Fix ci
* Improve source migrate
* Fix ios/tvos ci
* Fix ios/tvos ci
* Fix
2023-06-11 13:08:08 +08:00
halx99
ed9e539a85
Fix ci
2023-01-24 18:27:40 +08:00
halx99
e5cc37cd40
Fix ci
2023-01-24 17:44:54 +08:00
halx99
a46581532e
Update ImGui
2023-01-24 17:20:31 +08:00
halx99
22d3f93864
Improve code style
2023-01-24 15:01:06 +08:00
halx99
3d1bf684a4
Fix ci
2022-11-10 22:03:40 +08:00
halx99
8b674f73ba
Update Dear ImGui to v1.88, refer to #895
2022-10-17 21:46:16 +08:00
RH
461e7cfee6
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
34094038d5
Enable ImGui for Android ( #909 )
...
* Add support for ImGui usage on Android
2022-10-10 03:53:24 +08:00
涓€绾跨伒|Deal
48a7da97d6
Final migrate ( #876 )
2022-10-01 16:24:52 +08:00
halx99
823e6e406f
Migrate ImGui source files name
2022-09-26 22:56:47 +08:00
halx99
3a9a26c743
Fix #861
2022-09-23 22:41:30 +08:00
涓€绾跨伒|Deal
e37761260a
Migrate, use simple namespace ax ( #818 )
2022-08-29 20:51:22 +08:00
halx99
b1287b8cc5
Migrate cmake files
2022-08-11 15:41:10 +08:00
halx99
fc401343d8
Migrate extension 'ImGUI'
2022-08-11 10:02:30 +08:00
涓€绾跨伒
9892aa3d1c
Migrate axys ( #782 )
2022-08-08 18:02:17 +08:00
halx99
c16a33e347
Migrate more macors
2022-07-16 10:43:05 +08:00
涓€绾跨伒
ac1872494c
Remove unnecessary check [skip ci]
...
refer to #748
2022-07-15 19:44:31 +08:00
halx99
41d2c44308
Migrate macros 'CC_' to 'AX_'
2022-07-15 19:17:01 +08:00
halx99
05805987d5
Sync docs for namespace migrate
2022-07-15 18:40:42 +08:00
涓€绾跨伒
bf77f46dce
Migrate engine namespace to `axis`(abbv: `ax`) ( #743 )
2022-07-11 17:50:21 +08:00
涓€绾跨伒
9b4a7b1446
Merge: 04ca16125b
9ee4181976
...
Merge pull request #739 from axis-project/migrate-engine-test-extension-config
Migrate tests, extensions and configs
2022-07-10 09:47:41 +08:00
涓€绾跨伒
d4c4d395a5
Merge: 18076d09f0
2f8d5dd2f6
...
Merge pull request #738 from solan-solan/index_array_to_stl
IndexArray to stl
2022-07-10 09:47:27 +08:00
halx99
c2acb3a744
Migrate tests, extensions and configs ReSquash for unexpected changes +2
2022-07-09 22:23:34 +08:00
halx99
906c60e40e
Fix setup cmake files and some relative sources
2022-07-08 14:20:41 +08:00
DelinWorks
70cd6095cc
Fix CMAKE
2022-07-08 02:10:35 +03:00
涓€绾跨伒
e6ae7c44b3
Merge: 555f847c1f
6dd8b2c74a
...
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
DelinWorks
49508bd13c
Improve function naming.
2022-07-04 17:45:23 +03:00
halx99
0b4363bfc0
Refator sampler name in shader
2022-07-04 21:26:48 +08:00