issues Search Results · repo:antvis/g-device-api language:TypeScript
Filter by
33 results
(50 ms)33 results
inantvis/g-device-api (press backspace or delete to remove)不同于 WebGL,WebGPU 中并没有原生提供 generateMipmap 方法,需要在 GPU 侧手动生成:
https://webgpufundamentals.org/webgpu/lessons/webgpu-importing-textures.html
enhancement
xiaoiver
- 1
- Opened on Jun 7, 2024
- #200
需要支持压缩纹理的载入,期望用法如下:
const texture = device.createTexture({
format: Format.BC1, // 压缩格式
width,
height,
usage: TextureUsage.RENDER_TARGET,
});
texture.setImageData([data]);
目前 WebGL Device 实现默认已经尝试开启扩展 ...
enhancement
xiaoiver
- 3
- Opened on Jun 6, 2024
- #199
目前异步 readTexture 方法使用了 gl.fenceSync,按说是比较推荐的非阻塞做法(Babylon.js 也使用了该做法),但在 L7 中实测相比同步方法要慢很多。
https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/WebGL_best_practices#use_non-blocking_async_data_readback ...
bug
xiaoiver
- 1
- Opened on May 29, 2024
- #195
这个示例报错如下: http://localhost:8081/g-device-api/?name=NestedRenderPass
The current pipeline ([RenderPipeline (unlabeled)]) was created with a default layout, and is not compatible with the [BindGroup (unlabeled)] ...
bug
xiaoiver
- 1
- Opened on May 29, 2024
- #194
目前 polygonOffset 为 boolean,开启后设置固定值:
gl.polygonOffset(1, 1);
img width= 795 alt= 截屏2024-05-21 上午10 50 31 src=
https://github.com/antvis/g-device-api/assets/3608471/13c70d21-f99b-450b-8274-b04b4df7ff21 ...
enhancement
xiaoiver
- 2
- Opened on May 21, 2024
- #189
WebGL1 使用 gl.LUMINANCE 报错,from https://github.com/antvis/L7/blob/beta/packages/layers/src/raster/models/raster.ts#L97
createTexture2D({
data: new Float32Array(data),
width,
height,
/** ...
lvisei
- 1
- Opened on May 16, 2024
- #188
调用 setVertexInput 时存在冗余的 bindBuffer 命令,这会影响性能:
img width= 540 alt= 截屏2024-04-30 下午1 56 35 src=
https://github.com/antvis/g-device-api/assets/3608471/79d98a33-468d-490b-9fb6-4f61f446d121
xiaoiver
- Opened on Apr 30, 2024
- #179

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.