mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 16:52:43 +08:00
gfx: swapchain refactor (#3751)
* gfx: swapchain * acquire/release/surface on swapchain * fix swapchain texture creation * acquire/present back on device * formats are swapchain-specific * swapchain: vk works * enable device agent * format fix * update gfxdef * fix enum decl * pipeline adapt * minor * vk: compress attr locations directly in SPIR-V * gles3 adjust * InputAssembler owns an DrawInfo * gles2 adapt * texture keep track of its hash * device cached states * format * glslang finalize * buffer view adapt * fg: subpass support * minor * 3.4 adapt * profiler adapt * buffer update frequency detection * minor * base commit * swapchain works on metal * spirv * mtltexture issue * remote test code * depthtexture * revert ifdef USE_METAL * ios swapchain header * fix some triple buffer issues * resize accept surface transform Co-authored-by: Zeqiang Li <Zeqiang-li@outlook.com>
This commit is contained in:
@@ -4826,18 +4826,18 @@ bool register_all_physics(se::Object* obj)
|
||||
}
|
||||
se::Object* ns = nsVal.toObject();
|
||||
|
||||
js_register_physics_World(ns);
|
||||
js_register_physics_RigidBody(ns);
|
||||
js_register_physics_SphereShape(ns);
|
||||
js_register_physics_CylinderShape(ns);
|
||||
js_register_physics_TrimeshShape(ns);
|
||||
js_register_physics_PlaneShape(ns);
|
||||
js_register_physics_DistanceJoint(ns);
|
||||
js_register_physics_RevoluteJoint(ns);
|
||||
js_register_physics_CapsuleShape(ns);
|
||||
js_register_physics_BoxShape(ns);
|
||||
js_register_physics_World(ns);
|
||||
js_register_physics_CapsuleShape(ns);
|
||||
js_register_physics_PlaneShape(ns);
|
||||
js_register_physics_TrimeshShape(ns);
|
||||
js_register_physics_CylinderShape(ns);
|
||||
js_register_physics_ConeShape(ns);
|
||||
js_register_physics_TerrainShape(ns);
|
||||
js_register_physics_RevoluteJoint(ns);
|
||||
js_register_physics_DistanceJoint(ns);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user