зеркало из 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:
Родитель
dae44fbfc2
Коммит
4f9e9c3750
|
@ -1474,10 +1474,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 {:?}",
|
||||
|
|
Загрузка…
Ссылка в новой задаче