antvis / antvis/L7

「Tracker」渲染引擎完全移除 regl 默认替换升级至 G-Device

Open
#2,431 4 comments 0 reactions 4 assignees Claimed by @lzxue View on GitHub
Dominant language
TypeScript
Stars
4.1k
Forks
656
PR merge metrics
No merged PRs in 30d

Description

## G-Device 发现问题跟踪

1. G-device setdata 时不生效

- https://github.com/antvis/L7/issues/2361

2. device WebGL 模式下开启抗锯齿报错

- https://github.com/antvis/g-device-api/issues/178
- 优先级低

默认不开启下区别:


devise

regl

![image](https://github.com/antvis/L7/assets/26923747/e1968b52-b3a6-4829-aa83-2d92023116de)

![image](https://github.com/antvis/L7/assets/26923747/e121e68e-eb9c-4ba9-a3c2-58ffb9efe35e)

3. device WebGPU 模式下不支持淹没
- https://github.com/antvis/g-device-api/issues/164
- 优先级低

4. WebGPU 渲染模式下多处报错问题

- https://github.com/antvis/L7/pull/2450
- 问题出现在后处理、拾取 #2526

![image](https://github.com/antvis/L7/assets/26923747/43c13136-27af-4960-8514-e53c7c9fda76)

5. 风场图层 device 模式下渲染报错

![image](https://github.com/antvis/L7/assets/26923747/d2a05208-4f56-4629-b889-88044428a7f1)

![image](https://github.com/antvis/L7/assets/26923747/fc4fc3b3-75c6-4f21-ba43-303d13a57d42)

6. 多淹没图层不生效

- https://github.com/antvis/L7/issues/2350


regl

device

![image](https://github.com/antvis/L7/assets/26923747/f0c5744f-0166-4e26-bc19-c18fbfc39511)

![image](https://github.com/antvis/L7/assets/26923747/766f26dc-1d2d-4be8-b7c2-57801f04f6ef)

7. 取消 inputLayout 缓存,改变图层为空数据,导致其他图层也消失

- #2483

## 渲染引擎完全切换

- [x] 设置默认的渲染引擎为 g-device,优先使用 WebGL2 #2477
- [x] 完全移除 regl 渲染逻辑与代码 #2507

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.