Changeset View
Changeset View
Standalone View
Standalone View
www/firefox/files/patch-bug1448770
Disable GL_EXT_debug_marker due to crashes on x86 with Mesa drivers. | Disable GL_EXT_debug_marker due to crashes on x86 with Mesa drivers. | ||||
diff --git gfx/webrender/src/query.rs gfx/webrender/src/query.rs | diff --git gfx/webrender/src/device/query_gl.rs gfx/webrender/src/device/query_gl.rs | ||||
index 999abc749115..68850ef025e4 100644 | index 999abc749115..68850ef025e4 100644 | ||||
--- gfx/webrender/src/query.rs | --- gfx/webrender/src/device/query_gl.rs | ||||
+++ gfx/webrender/src/query.rs | +++ gfx/webrender/src/device/query_gl.rs | ||||
@@ -274,17 +274,20 @@ pub struct GpuMarker { | @@ -278,17 +278,20 @@ pub struct GpuMarker { | ||||
impl GpuMarker { | impl GpuMarker { | ||||
fn new(gl: &Rc<gl::Gl>, message: &str) -> Self { | fn new(gl: &Rc<gl::Gl>, message: &str) -> Self { | ||||
+#[cfg(not(target_arch = "x86"))] | +#[cfg(not(target_arch = "x86"))] | ||||
gl.push_group_marker_ext(message); | gl.push_group_marker_ext(message); | ||||
GpuMarker { gl: Rc::clone(gl) } | GpuMarker { gl: Rc::clone(gl) } | ||||
} | } | ||||
Show All 12 Lines |