test possible 'flickering' with nvidia
This commit is contained in:
parent
f382aef5ac
commit
ab60429efc
@ -235,13 +235,13 @@ XFadeCurve::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) co
|
|||||||
context->begin_new_path ();
|
context->begin_new_path ();
|
||||||
context->append_path (IS ? *path_in : *path_out);
|
context->append_path (IS ? *path_in : *path_out);
|
||||||
close_path(draw, context, IS ? _in : _out, true);
|
close_path(draw, context, IS ? _in : _out, true);
|
||||||
//context->set_fill_rule (Cairo::FILL_RULE_EVEN_ODD);
|
context->set_fill_rule (Cairo::FILL_RULE_EVEN_ODD);
|
||||||
context->clip ();
|
context->clip ();
|
||||||
context->begin_new_path ();
|
context->begin_new_path ();
|
||||||
context->append_path (IS ? *path_out: *path_in);
|
context->append_path (IS ? *path_out: *path_in);
|
||||||
close_path(draw, context, IS ? _out : _in, true);
|
close_path(draw, context, IS ? _out : _in, true);
|
||||||
set_source_rgba (context, fill_shaded);
|
set_source_rgba (context, fill_shaded);
|
||||||
//context->set_fill_rule (Cairo::FILL_RULE_WINDING);
|
context->set_fill_rule (Cairo::FILL_RULE_WINDING);
|
||||||
context->fill ();
|
context->fill ();
|
||||||
context->restore ();
|
context->restore ();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user