maptalks / maptalks/maptalks.js
LineStringLayer进行线的模式填充在win7电脑,chrome90无法渲染
Open
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 4.5k
- Forks
- 511
- Avg merge
- 3d 58m
- Merged PRs (30d)
- 1
Description
LineStringLayer进行线的模式填充在win7电脑,chrome90版本无法渲染,提示WebGL:INVALID_OPERATION:useProgram:program not valid;经过排查发现应该是line.frag和line.vert 在低配版的电脑上应该是对着色器定义数量(varying等)有限制导致的
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting line.frag and line.vert, then reproduce the LineStringLayer pattern-fill failure on Windows 7 with Chrome 90 or an equivalent low-spec environment. Check the shader definitions against the reported varying limits and verify that the WebGL INVALID_OPERATION no longer occurs when the line pattern is rendered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100