[cairo] Firefox/Gtk3 - possible cairo clipping bug
stransky at redhat.com
Wed Jul 17 07:18:12 PDT 2013
I work on Firefox Gtk3 port and there's a strange bug . It looks
like in some case cairo_clip() does not work. The code is from
_gtk_theming_background_paint_color()  and looks like:
_gtk_rounded_box_path (&clip_box, cr);
gdk_cairo_set_source_rgba (cr, &bg->bg_color);
_gtk_rounded_box_path creates a rounded box for gtk_entry element. When
the code is called from a simple testcase, cairo_clip() works and the
cairo_paint() is clipped by the area, i.e. gtkEntry background is rendered.
When tha same code is called from Firefox, cairo_clip() does not take
effect and whole surface is filled by the color.
Do you guys have an idea where should I look at? Any debugging hints?
More information about the cairo