mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Imlplement get_composition_op
This commit is contained in:
parent
a28d00013c
commit
4c73e4bb3f
2 changed files with 3 additions and 3 deletions
|
@ -16,8 +16,8 @@ use std::marker::PhantomData;
|
|||
pub struct RaqoteBackend;
|
||||
|
||||
impl Backend for RaqoteBackend {
|
||||
fn get_composition_op(&self, _opts: &DrawOptions) -> CompositionOp {
|
||||
unimplemented!()
|
||||
fn get_composition_op(&self, opts: &DrawOptions) -> CompositionOp {
|
||||
CompositionOp::Raqote(opts.as_raqote().blend_mode)
|
||||
}
|
||||
|
||||
fn need_to_draw_shadow(&self, color: &Color) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue