forked from mirrors/gecko-dev
Bug 1525314 - Disable tile markers on Android as they seem to crash a lot. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D36794 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
1e693768bf
commit
e997669828
1 changed files with 5 additions and 2 deletions
|
|
@ -4397,6 +4397,8 @@ impl Renderer {
|
|||
stats: &mut RendererStats,
|
||||
clear_framebuffer: bool,
|
||||
) {
|
||||
// These markers seem to crash a lot on Android, see bug 1559834
|
||||
#[cfg(not(target_os = "android"))]
|
||||
let _gm = self.gpu_profile.start_marker("tile frame draw");
|
||||
|
||||
if frame.passes.is_empty() {
|
||||
|
|
@ -4410,8 +4412,9 @@ impl Renderer {
|
|||
|
||||
self.bind_frame_data(frame);
|
||||
|
||||
for (pass_index, pass) in frame.passes.iter_mut().enumerate() {
|
||||
let _gm = self.gpu_profile.start_marker(&format!("pass {}", pass_index));
|
||||
for (_pass_index, pass) in frame.passes.iter_mut().enumerate() {
|
||||
#[cfg(not(target_os = "android"))]
|
||||
let _gm = self.gpu_profile.start_marker(&format!("pass {}", _pass_index));
|
||||
|
||||
self.texture_resolver.bind(
|
||||
&TextureSource::PrevPassAlpha,
|
||||
|
|
|
|||
Loading…
Reference in a new issue