servo: Merge #12782 - WR2 does not require the stencil buffer, so remove it from window pro… (from glennw:wr-stencil); r=pcwalton,emilio
authorGlenn Watson <github@intuitionlibrary.com>
Wed, 10 Aug 2016 02:55:49 -0500
changeset 339464 63a0345638db416f018aa0c7bac82a41e4e6e970
parent 339463 31aa4edcc2e4fd953f64d0cdb2fefa5f7894d871
child 339465 674050d1dcf963fb7f13ba4963505a452a1dd9ce
push id31307
push usergszorc@mozilla.com
push dateSat, 04 Feb 2017 00:59:06 +0000
treeherdermozilla-central@94079d43835f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspcwalton, emilio
servo: Merge #12782 - WR2 does not require the stencil buffer, so remove it from window pro… (from glennw:wr-stencil); r=pcwalton,emilio <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> …perties. Source-Repo: https://github.com/servo/servo Source-Revision: 2d54a2c30a5f7cb8a32eac561747582f47214e14
servo/ports/glutin/window.rs
--- a/servo/ports/glutin/window.rs
+++ b/servo/ports/glutin/window.rs
@@ -152,20 +152,16 @@ impl Window {
             icon_path.push("servo.png");
             builder = builder.with_icon(icon_path);
         }
 
         if opts::get().enable_vsync {
             builder = builder.with_vsync();
         }
 
-        if opts::get().use_webrender {
-            builder = builder.with_stencil_buffer(8);
-        }
-
         if opts::get().use_msaa {
             builder = builder.with_multisampling(MULTISAMPLES)
         }
 
         builder = builder_with_platform_options(builder);
 
         let mut glutin_window = builder.build().expect("Failed to create window.");