Bug 1527807 - Disable subpixel AA on Android. r=Gankro
authorKartikaya Gupta <kgupta@mozilla.com>
Tue, 26 Feb 2019 21:39:07 +0000
changeset 519137 0b6224482132b58b0984a94a5733f7c85542e178
parent 519136 cfbfd4a35ce02c18b52c869c4006a984aa7262ed
child 519138 f67d5891bef8d40fdce3c1ad266ff787cd19a4d2
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGankro
bugs1527807
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1527807 - Disable subpixel AA on Android. r=Gankro Differential Revision: https://phabricator.services.mozilla.com/D21269
gfx/webrender_bindings/src/bindings.rs
--- a/gfx/webrender_bindings/src/bindings.rs
+++ b/gfx/webrender_bindings/src/bindings.rs
@@ -1121,17 +1121,17 @@ pub extern "C" fn wr_window_new(window_i
 
     let cached_programs = match program_cache {
         Some(program_cache) => Some(Rc::clone(&program_cache.rc_get())),
         None => None,
     };
 
     let opts = RendererOptions {
         enable_aa: true,
-        enable_subpixel_aa: true,
+        enable_subpixel_aa: cfg!(not(target_os = "android")),
         support_low_priority_transactions,
         recorder: recorder,
         blob_image_handler: Some(Box::new(Moz2dBlobImageHandler::new(workers.clone()))),
         workers: Some(workers.clone()),
         thread_listener: Some(Box::new(GeckoProfilerThreadListener::new())),
         size_of_op: Some(size_of_op),
         enclosing_size_of_op: Some(enclosing_size_of_op),
         cached_programs,