зеркало из https://github.com/mozilla/gecko-dev.git
1be0f732d4
we only draw quads, and for quads we have a fixed vertex buffer with positions. If we get stop using instancing, we'll no longer have the luxury of 4 vertices there. Given that they are trivial to compute, it seems simpler to just do that in the shader today. So this PR is a required step on the way to instance-less rendering. It appears that we are hitting a driver bug with Intel on macOS, where scissored clears don't work properly if we render without per-vertex attributes. It doesn't make a ton of sense, but switching to quad clears appears to fix it for me. Added the corresponding entry to the wiki - https://github.com/servo/webrender/wiki/Driver-issues#bug-1652763---glitches-on-macos-intel-with-clears Differential Revision: https://phabricator.services.mozilla.com/D83391 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md | ||
build.rs |
README.md
swgl
Software OpenGL implementation for WebRender