Skip to content

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)

目前 WebGPU 下,如果在 Vertex Shader 中使用 uniform sampler2D,转译后会报错。
bug
  • xiaoiver
  • 1
  • Opened 
    on Jun 7, 2024
  • #201

不同于 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

#178 之前尝试修复 antialias 问题时引入,导致 L7 拾取 bug
bug
  • xiaoiver
  • 1
  • Opened 
    on May 28, 2024
  • #193

目前 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

https://github.com/antvis/L7/issues/2350
bug
  • xiaoiver
  • 1
  • Opened 
    on May 15, 2024
  • #184

调用 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
Issue origami icon

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 Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

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 Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub