mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
canvas: Use OptimizeSpeed in vello_cpu (#38437)
According to my tests `OptimizeSpeed` slight improves performance and it does NOT affect WPT results in negative way. Testing: Tested by existing WPT tests. --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
fed1953198
commit
fe9341dd46
2 changed files with 4 additions and 2 deletions
|
@ -111,7 +111,7 @@ impl VelloCPUDrawTarget {
|
|||
self_.ctx.flush();
|
||||
self_
|
||||
.ctx
|
||||
.render_to_pixmap(&mut self_.pixmap, vello_cpu::RenderMode::OptimizeQuality);
|
||||
.render_to_pixmap(&mut self_.pixmap, vello_cpu::RenderMode::OptimizeSpeed);
|
||||
self_.ctx.reset();
|
||||
self_.state = State::Rendered;
|
||||
});
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
[colr-glyph-composition.html]
|
||||
expected: FAIL
|
||||
expected:
|
||||
if subsuite == "": FAIL
|
||||
if subsuite == "vello_canvas": FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue