mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Fix warnings in vendored WebRender
These show up every time one builds, so this adds a patch on top of our vendored copy of WebRender to fix these errors for now.
This commit is contained in:
parent
f11c6045e3
commit
4db0b5d9e3
30 changed files with 705 additions and 126 deletions
10
third_party/webrender/examples/alpha_perf.rs
vendored
10
third_party/webrender/examples/alpha_perf.rs
vendored
|
@ -2,11 +2,11 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
extern crate euclid;
|
||||
extern crate gleam;
|
||||
extern crate glutin;
|
||||
extern crate webrender;
|
||||
extern crate winit;
|
||||
use euclid;
|
||||
use gleam;
|
||||
use glutin;
|
||||
use webrender;
|
||||
use winit;
|
||||
|
||||
#[path = "common/boilerplate.rs"]
|
||||
mod boilerplate;
|
||||
|
|
10
third_party/webrender/examples/animation.rs
vendored
10
third_party/webrender/examples/animation.rs
vendored
|
@ -10,11 +10,11 @@
|
|||
//! rounded cornered rectangle, which is done automatically during the
|
||||
//! scene building for render optimization.
|
||||
|
||||
extern crate euclid;
|
||||
extern crate gleam;
|
||||
extern crate glutin;
|
||||
extern crate webrender;
|
||||
extern crate winit;
|
||||
use euclid;
|
||||
use gleam;
|
||||
use glutin;
|
||||
use webrender;
|
||||
use winit;
|
||||
|
||||
#[path = "common/boilerplate.rs"]
|
||||
mod boilerplate;
|
||||
|
|
10
third_party/webrender/examples/basic.rs
vendored
10
third_party/webrender/examples/basic.rs
vendored
|
@ -2,11 +2,11 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
extern crate euclid;
|
||||
extern crate gleam;
|
||||
extern crate glutin;
|
||||
extern crate webrender;
|
||||
extern crate winit;
|
||||
use euclid;
|
||||
use gleam;
|
||||
use glutin;
|
||||
use webrender;
|
||||
use winit;
|
||||
|
||||
#[path = "common/boilerplate.rs"]
|
||||
mod boilerplate;
|
||||
|
|
10
third_party/webrender/examples/blob.rs
vendored
10
third_party/webrender/examples/blob.rs
vendored
|
@ -2,11 +2,11 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
extern crate gleam;
|
||||
extern crate glutin;
|
||||
extern crate rayon;
|
||||
extern crate webrender;
|
||||
extern crate winit;
|
||||
use gleam;
|
||||
use glutin;
|
||||
use rayon;
|
||||
use webrender;
|
||||
use winit;
|
||||
|
||||
#[path = "common/boilerplate.rs"]
|
||||
mod boilerplate;
|
||||
|
|
10
third_party/webrender/examples/document.rs
vendored
10
third_party/webrender/examples/document.rs
vendored
|
@ -2,11 +2,11 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
extern crate euclid;
|
||||
extern crate gleam;
|
||||
extern crate glutin;
|
||||
extern crate webrender;
|
||||
extern crate winit;
|
||||
use euclid;
|
||||
use gleam;
|
||||
use glutin;
|
||||
use webrender;
|
||||
use winit;
|
||||
|
||||
#[path = "common/boilerplate.rs"]
|
||||
mod boilerplate;
|
||||
|
|
10
third_party/webrender/examples/frame_output.rs
vendored
10
third_party/webrender/examples/frame_output.rs
vendored
|
@ -2,11 +2,11 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
extern crate euclid;
|
||||
extern crate gleam;
|
||||
extern crate glutin;
|
||||
extern crate webrender;
|
||||
extern crate winit;
|
||||
use euclid;
|
||||
use gleam;
|
||||
use glutin;
|
||||
use webrender;
|
||||
use winit;
|
||||
|
||||
#[path = "common/boilerplate.rs"]
|
||||
mod boilerplate;
|
||||
|
|
8
third_party/webrender/examples/iframe.rs
vendored
8
third_party/webrender/examples/iframe.rs
vendored
|
@ -2,10 +2,10 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
extern crate gleam;
|
||||
extern crate glutin;
|
||||
extern crate webrender;
|
||||
extern crate winit;
|
||||
use gleam;
|
||||
use glutin;
|
||||
use webrender;
|
||||
use winit;
|
||||
|
||||
#[path = "common/boilerplate.rs"]
|
||||
mod boilerplate;
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
extern crate gleam;
|
||||
extern crate glutin;
|
||||
extern crate webrender;
|
||||
extern crate winit;
|
||||
use gleam;
|
||||
use glutin;
|
||||
use webrender;
|
||||
use winit;
|
||||
|
||||
#[path = "common/boilerplate.rs"]
|
||||
mod boilerplate;
|
||||
|
|
10
third_party/webrender/examples/multiwindow.rs
vendored
10
third_party/webrender/examples/multiwindow.rs
vendored
|
@ -2,11 +2,11 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
extern crate euclid;
|
||||
extern crate gleam;
|
||||
extern crate glutin;
|
||||
extern crate webrender;
|
||||
extern crate winit;
|
||||
use euclid;
|
||||
use gleam;
|
||||
use glutin;
|
||||
use webrender;
|
||||
use winit;
|
||||
|
||||
use gleam::gl;
|
||||
use glutin::NotCurrent;
|
||||
|
|
10
third_party/webrender/examples/scrolling.rs
vendored
10
third_party/webrender/examples/scrolling.rs
vendored
|
@ -2,11 +2,11 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
extern crate euclid;
|
||||
extern crate gleam;
|
||||
extern crate glutin;
|
||||
extern crate webrender;
|
||||
extern crate winit;
|
||||
use euclid;
|
||||
use gleam;
|
||||
use glutin;
|
||||
use webrender;
|
||||
use winit;
|
||||
|
||||
#[path = "common/boilerplate.rs"]
|
||||
mod boilerplate;
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
extern crate gleam;
|
||||
extern crate glutin;
|
||||
extern crate webrender;
|
||||
extern crate winit;
|
||||
use gleam;
|
||||
use glutin;
|
||||
use webrender;
|
||||
use winit;
|
||||
|
||||
#[path = "common/boilerplate.rs"]
|
||||
mod boilerplate;
|
||||
|
|
8
third_party/webrender/examples/yuv.rs
vendored
8
third_party/webrender/examples/yuv.rs
vendored
|
@ -2,10 +2,10 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
extern crate gleam;
|
||||
extern crate glutin;
|
||||
extern crate webrender;
|
||||
extern crate winit;
|
||||
use gleam;
|
||||
use glutin;
|
||||
use webrender;
|
||||
use winit;
|
||||
|
||||
#[path = "common/boilerplate.rs"]
|
||||
mod boilerplate;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue