[cairo-bugs] [Bug 16564] New: _surfaces_compatible can return true for different picture formats

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jun 29 17:42:18 PDT 2008


           Summary: _surfaces_compatible can return true for different
                    picture formats
           Product: cairo
           Version: 1.6.5
          Platform: All
        OS/Version: Linux (All)
            Status: NEW
          Severity: minor
          Priority: medium
         Component: xlib backend
        AssignedTo: cworth at cworth.org
        ReportedBy: bugs.freedesktop at karlt.net
         QAContact: cairo-bugs at cairographics.org

Created an attachment (id=17453)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=17453)

_surfaces_compatible in cairo-xlib-surface returns true for surfaces with
different xrender_format when each has the same depth and no (NULL) visual.

Common picture formats will not have the same depth, but
it is possible to create a surface with a non-standard xrender_format having
the same depth as another xrender_format with

Both cairo_xlib_surface_create_with_xrender_format and
_cairo_xlib_surface_create_similar_with_format create surfaces with no visual.

The same issue exists in the xcb backend.

Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the cairo-bugs mailing list