зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1612941 - force immediate upload method for SWGL since PBOs are slower there. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D65613 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
a82ed1dd00
Коммит
8d077bf1f7
|
@ -1477,10 +1477,10 @@ impl Device {
|
|||
),
|
||||
};
|
||||
|
||||
let depth_format = if renderer_name.starts_with("Software WebRender") {
|
||||
gl::DEPTH_COMPONENT16
|
||||
let (depth_format, upload_method) = if renderer_name.starts_with("Software WebRender") {
|
||||
(gl::DEPTH_COMPONENT16, UploadMethod::Immediate)
|
||||
} else {
|
||||
gl::DEPTH_COMPONENT24
|
||||
(gl::DEPTH_COMPONENT24, upload_method)
|
||||
};
|
||||
|
||||
info!("GL texture cache {:?}, bgra {:?} swizzle {:?}, texture storage {:?}, depth {:?}",
|
||||
|
|
Загрузка…
Ссылка в новой задаче