Commit Graph

38446 Commits

Author SHA1 Message Date
halx99 ae0c3eddef Fix #313
a. error: depthAttachment PixelFormat (MTLPixelFormatInvalid) and stencilAttachment PixelFormat (MTLPixelFormat Depth32Float_Stencil8) must match.
b. Because we only support D24S8(D32FS8) combined format, so needs check
TargetBuffferFlags::DEPTH_AND_STENCIL when setup depth and stencil
format, otherwise newRenderPipelineWithDescriptor will crash.
2021-01-16 00:01:21 +08:00
halx99 66bed7c037 Update yasio to 3.37.0 2021-01-14 15:30:18 +08:00
halx99 f771a92ca2 lua api compatible 2021-01-09 18:32:22 +08:00
HALX99 abc87f8cd5
Update README.md 2020-12-29 21:48:02 +08:00
HALX99 959c3fb19f
Update README.md 2020-12-29 20:55:12 +08:00
halx99 e6dacefdc0 Update c-ares version 2020-12-24 16:22:29 +08:00
halx99 b9cc48d9f1 Sync bullet to 3.08 [ci build] 2020-12-24 16:17:15 +08:00
halx99 ddb03ca44e Sync yasio 2020-12-23 19:23:48 +08:00
HALX99 9c855006a3
Merge pull request #311 from aismann/master
Update controller.cpp
2020-12-21 22:19:29 +08:00
halx99 aded15aac7 Sync yasio to 3.35.0 [ci build] 2020-12-21 18:12:13 +08:00
aismann 057642921b Update controller.cpp
"Node: Physics" using Chipmunk2D (hardcoded on e.g.: CCPhysicsBody.cpp)

Maybe a Wiki entry is also usefull?
2020-12-20 07:11:13 +01:00
halx99 208d07697f Fix next drawable maybe nil crash[ci build] (#310) 2020-12-17 15:31:16 +08:00
halx99 c44d94a2b2 Update lua bindings source [ci build]
cxx17::string_view support
2020-12-16 17:52:17 +08:00
halx99 2b7ca1b858 Merge branch 'master' of https://github.com/c4games/engine-x 2020-12-16 12:47:04 +08:00
halx99 d467b647e2 Sync luabinding config file 2020-12-16 12:46:37 +08:00
HALX99 29819491f7
Update README.md 2020-12-16 12:33:22 +08:00
halx99 03b605dcee Sync yasio [ci build] 2020-12-15 18:58:04 +08:00
HALX99 f91d9bb91e
Merge pull request #308 from c4games/refactor-android-run-on-gl-thread
Refactor android runOnGLThread
2020-12-10 16:56:14 +08:00
halx99 c3ad19df96 fix FUISprite gray to normal doesn't work 2020-12-10 16:54:59 +08:00
halx99 c95e0466e1 Refactor android runOnGLThread
Ensure the callback run engine core mainLoop,
This commit can solve any weird behaviors, such as:
a. text render maybe missing charactors when bring from back to frontend
b. some renderer objects alpha may present black at sdk callback call
c. some other things
All above behavior is caused gl state not ready when go back to game activity from sdk activity
2020-12-09 15:13:57 +08:00
halx99 e906b27039 Sync yasio to 3.34.1 2020-12-08 20:36:55 +08:00
halx99 1cf59a76fb Sync yasio 2020-12-08 19:10:58 +08:00
halx99 e273d77c96 Update bullet to 3.07 [ci build] 2020-12-08 14:22:07 +08:00
HALX99 a309ea3e98
Update README.md 2020-12-07 14:00:19 +08:00
HALX99 cee94a0580
Merge pull request #304 from c4games/halx99-patch-1
LUAI_USER_ALIGNMENT_T matching clang defination
2020-12-06 00:47:21 +08:00
HALX99 5992d10b57
LUAI_USER_ALIGNMENT_T matching clang defination 2020-12-05 23:02:59 +08:00
HALX99 48dd621d00
Merge pull request #303 from c4games/halx99-patch-1
Update CMakeLists.txt
2020-12-05 00:33:54 +08:00
HALX99 118504d3ff
Update CMakeLists.txt 2020-12-04 22:31:46 +08:00
halx99 c6c3eedb99 Sync yasio [ci build] 2020-12-04 18:24:55 +08:00
HALX99 15da26ea92
Merge pull request #300 from aismann/master
same/correct wording style
2020-12-04 09:30:36 +08:00
aismann 4ef25e25cf same/correct wording style 2020-12-03 21:33:52 +01:00
halx99 ac9884026e Update pugixml to 1.11 2020-12-03 22:04:33 +08:00
halx99 62fdacb849 Update jpeg version readme [ci build] 2020-12-03 16:16:18 +08:00
halx99 4bad52d007 fix android build for libjpeg-turbo [ci build] 2020-12-03 15:44:43 +08:00
halx99 82ee7e7c61 fix android build for libjpeg-turbo [ci build] 2020-12-03 15:30:44 +08:00
halx99 5056eb9ef2 fix link error on macOS Big Sur 11.01
Follow lib removed by Apple
1. /usr/lib/libz.dylib
2. /usr/lib/libiconv.dylib
2020-12-02 21:59:57 -08:00
halx99 b911741252 fix libjpeg-turbo can't build with combined archs 2020-12-02 21:18:13 -08:00
halx99 098ee5e06f fix README.md markdown syntax 2020-12-02 20:49:08 -08:00
halx99 57ca23ec25 fix libjpeg-turbo can't build with combined archs
such as (armv7,arm64)
2020-12-02 20:45:06 -08:00
HALX99 bb9b40689c
Merge pull request #295 from aismann/master
CCPhysicsSprite(Box2D/Chipmunk2D) cleanup, some other small improvements...
2020-12-02 08:39:58 -08:00
HALX99 3f4178cc27
Merge pull request #296 from halx99/nsgl-compat
Use cmake variable 'CC_COMPAT_GL' to control renderer backend
2020-12-02 04:09:01 -08:00
halx99 f713ca6baa fix ci 2020-12-02 03:33:53 -08:00
halx99 108399ede3 Unify CC_COMPAT_GL to control renderer backend
win32: google angle
mac: NSGL
ios: GLES
2020-12-02 03:03:05 -08:00
aismann dbf81d7511 Removed CC_ENABLE_CHIPMUNK_INTEGRATION from class CCPhysicsDebugNode
CCPhysicsDebugNode.cpp has only the Chipmunk2D implementation
2020-12-01 17:58:34 +01:00
aismann 72be372699 CCPhysicsSprite(Box2D/Chipmunk2D) cleanup, some other small improvements too
CCPhysicsSprite(Box2D/Chipmunk2D) cleanup and small improvements on PhysicsTest
2020-12-01 16:39:28 +01:00
HALX99 8b4b39bc7a
Merge pull request #294 from aismann/patch-1
Update README.md
2020-12-01 02:12:41 -08:00
HALX99 2c93318d37
Merge pull request #293 from aismann/master
Chipmunk2D and Box2D works together now (add two new classes) and FIX  ImGuiEXTTest window size problem
2020-12-01 01:52:47 -08:00
aismann 58ddd6e085
Update README.md
change wiki link:  https://github.com/c4games/engine-x-wiki
2020-12-01 10:32:09 +01:00
aismann 5e249bf6f8 Chipmunk2D and Box2D works together now (add two new classes)
add class PhysicsSpriteChipmunk2D
add class PhysicsSpriteBox2D

Improve window size problem with ImGuiEXTTest
2020-12-01 10:15:30 +01:00
halx99 079ecdbbec fix #291 [ci build] 2020-12-01 14:49:14 +08:00