Bug 7377

Summary: Quartz backend incompatible with 10.3.9
Product: cairo Reporter: Andreas Vox <avox>
Component: quartz backendAssignee: Carl Worth <cworth>
Status: RESOLVED DUPLICATE QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: high CC: mschamschula
Version: 1.1.9   
Hardware: PowerPC   
OS: Mac OS X (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 7446    

Description Andreas Vox 2006-06-30 09:58:34 UTC
In cairo-quartz-surface I find this code:

static cairo_status_t
_cairo_quartz_surface_acquire_source_image(void *abstract_surface,
                                           cairo_image_surface_t **image_out,
                                           void **image_extra)
{
  cairo_quartz_surface_t *surface = abstract_surface;

  if (CGBitmapContextGetBitmapInfo (surface->context) != 0) {
    /* XXX: We can create an image out of the bitmap here */
  }

  return CAIRO_INT_STATUS_UNSUPPORTED;
}


The call to CGBitmapContextGetBitmapInfo() makes the build fail since that 
function only was introduced in 10.4.

Currently this is the only place and it's easy to comment it out.

In the future it would be nice to put such in #ifdefs so cairo can also be
compiled on OSX 10.3.
Comment 1 Marius Schamschula 2006-07-03 18:48:05 UTC
*** Bug 7402 has been marked as a duplicate of this bug. ***
Comment 2 Dom Lachowicz 2006-08-22 11:27:19 UTC
Thanks for the bug report.

*** This bug has been marked as a duplicate of 6697 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.