mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Vendor the current version of WebRender
This is a step toward upgrading WebRender, which will be upgraded and patched in the `third_party` directory. This change vendors the current private branch of WebRender that we use and adds a `patches` directory which tracks the changes on top of the upstream WebRender commit described by third_party/webrender/patches/head.
This commit is contained in:
parent
c19eb800de
commit
49277f5c3f
1215 changed files with 185677 additions and 34 deletions
11
third_party/webrender/glsl-to-cxx/Cargo.toml
vendored
Normal file
11
third_party/webrender/glsl-to-cxx/Cargo.toml
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
[package]
|
||||
name = "glsl-to-cxx"
|
||||
version = "0.1.0"
|
||||
license = "MPL-2.0"
|
||||
authors = ["The Mozilla Project Developers"]
|
||||
edition = "2018"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
glsl = "4.0"
|
3
third_party/webrender/glsl-to-cxx/README.md
vendored
Normal file
3
third_party/webrender/glsl-to-cxx/README.md
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
A GLSL to C++ translator.
|
||||
|
||||
Translates GLSL to vectorized C++. Intended for use with WebRender software backend.
|
3856
third_party/webrender/glsl-to-cxx/src/hir.rs
vendored
Normal file
3856
third_party/webrender/glsl-to-cxx/src/hir.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
3706
third_party/webrender/glsl-to-cxx/src/lib.rs
vendored
Normal file
3706
third_party/webrender/glsl-to-cxx/src/lib.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
8
third_party/webrender/glsl-to-cxx/src/main.rs
vendored
Normal file
8
third_party/webrender/glsl-to-cxx/src/main.rs
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* 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/. */
|
||||
|
||||
use glsl_to_cxx::translate;
|
||||
fn main() {
|
||||
println!("{}", translate(&mut std::env::args()));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue