重构整个项目,将std::shared_ptr替换为自定义的IntrusivePtr实现: 1. 新增RefCounted基类,提供引用计数功能 2. 实现IntrusivePtr智能指针模板类 3. 修改所有资源管理类使用IntrusivePtr 4. 更新Node类继承自RefCounted 5. 移除types.h中的shared_ptr相关定义 6. 统一使用makeRef替代shared创建对象 |
||
|---|---|---|
| .. | ||
| color.h | ||
| intrusive_ptr.h | ||
| rect.h | ||
| ref_counted.h | ||
| size.h | ||
| transform.h | ||
| types.h | ||
| vec2.h | ||
| vec3.h | ||