зеркало из https://github.com/mozilla/gecko-dev.git
f2b7a41716
The goal here is to make it so that we don't special case the device on Mac so that we can switch GPUs without needing to reset any state. There a couple of parts to this: 1. Disable texture storage so that we can use BGRA textures and don't need swizzling. 2. Use the recommended GL_UNSIGNED_INT_8_8_8_8_REV for BGRA on desktop GL. 3. Disable swizzling. 4. Always do the PBO workaround. Differential Revision: https://phabricator.services.mozilla.com/D82223 |
||
---|---|---|
.. | ||
doc | ||
res | ||
src | ||
tests | ||
Cargo.toml | ||
build.rs |