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:
Kartikaya Gupta 2019-07-04 21:35:06 +00:00
parent 1e693768bf
commit e997669828

View file

@ -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,