mirror of
https://github.com/servo/servo.git
synced 2025-07-30 18:50:36 +01:00
parent
145c89a2d4
commit
430a65be07
17 changed files with 12 additions and 927 deletions
|
@ -841,7 +841,6 @@ install them, let us know by filing a bug!")
|
|||
action='store_true',
|
||||
help='Build with frame pointer enabled, used by the background hang monitor.',
|
||||
),
|
||||
CommandArgument('--with-raqote', default=None, action='store_true'),
|
||||
CommandArgument('--with-layout-2020', default=None, action='store_true'),
|
||||
CommandArgument('--with-layout-2013', default=None, action='store_true'),
|
||||
CommandArgument('--without-wgl', default=None, action='store_true'),
|
||||
|
@ -882,7 +881,7 @@ install them, let us know by filing a bug!")
|
|||
env=None, verbose=False,
|
||||
target=None, android=False, magicleap=False, libsimpleservo=False,
|
||||
features=None, debug_mozjs=False, with_debug_assertions=False,
|
||||
with_frame_pointer=False, with_raqote=False, without_wgl=False,
|
||||
with_frame_pointer=False, without_wgl=False,
|
||||
with_layout_2020=False, with_layout_2013=False,
|
||||
uwp=False, media_stack=None,
|
||||
):
|
||||
|
@ -913,16 +912,11 @@ install them, let us know by filing a bug!")
|
|||
if not magicleap:
|
||||
features.append("native-bluetooth")
|
||||
if uwp:
|
||||
features.append("canvas2d-raqote")
|
||||
features.append("no-wgl")
|
||||
features.append("uwp")
|
||||
else:
|
||||
# Non-UWP builds provide their own libEGL via mozangle.
|
||||
features.append("egl")
|
||||
if with_raqote and "canvas2d-azure" not in features:
|
||||
features.append("canvas2d-raqote")
|
||||
elif "canvas2d-azure" not in features:
|
||||
features.append("canvas2d-raqote")
|
||||
if with_layout_2020 or (self.config["build"]["layout-2020"] and not with_layout_2013):
|
||||
features.append("layout-2020")
|
||||
elif "layout-2020" not in features:
|
||||
|
|
|
@ -64,7 +64,6 @@ licenses_dep_toml = [
|
|||
'name = "dylib"',
|
||||
'name = "ipc-channel"',
|
||||
'name = "mozjs_sys"',
|
||||
'name = "azure"',
|
||||
'name = "freetype"',
|
||||
'name = "js"',
|
||||
'name = "servo-freetype-sys"',
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use app_units::Au;
|
||||
use azure::azure_hl::{ AntialiasMode, Color, ColorPattern, CompositionOp };
|
||||
use azure::azure_hl::{AntialiasMode, Color,
|
||||
use raqote::{GradientStop, Source, SolidSource};
|
||||
use raqote::{Source, SolidSource},
|
||||
ColorPattern, CompositionOp};
|
||||
use euclid::Size2D;
|
||||
use azure::azure::AzIntSize;
|
||||
use azure::azure::{AzIntSize};
|
||||
use raqote::Gradient;
|
||||
use raqote::{Gradient};
|
||||
|
||||
|
||||
mod paint_context;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue