mirror of
https://github.com/servo/servo.git
synced 2025-09-23 05:10:09 +01:00
Upgrade vello, vello_cpu, skrifa, and read-fonts (#38860)
Bumps `vello`, `vello_cpu`,`skrifa`, and `read-fonts` dependencies. Notes: - The primary motivation for this is so that our version of `read-fonts` matches the version used by current releases of `harfrust` - `vello_cpu` now defaults to `RenderMode::OptimizeSpeed` so we don't need to pass this explicitly. Signed-off-by: Nico Burns <nico@nicoburns.com>
This commit is contained in:
parent
bf5da330e1
commit
4082f57003
3 changed files with 14 additions and 16 deletions
|
@ -111,9 +111,7 @@ impl VelloCPUDrawTarget {
|
|||
if self.state == State::Drawing {
|
||||
self.ignore_clips(|self_| {
|
||||
self_.ctx.flush();
|
||||
self_
|
||||
.ctx
|
||||
.render_to_pixmap(&mut self_.pixmap, vello_cpu::RenderMode::OptimizeSpeed);
|
||||
self_.ctx.render_to_pixmap(&mut self_.pixmap);
|
||||
self_.ctx.reset();
|
||||
self_.state = State::Rendered;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue