Bug 7377 - Quartz backend incompatible with 10.3.9
Summary: Quartz backend incompatible with 10.3.9
Status: RESOLVED DUPLICATE of bug 6697
Alias: None
Product: cairo
Classification: Unclassified
Component: quartz backend (show other bugs)
Version: 1.1.9
Hardware: PowerPC Mac OS X (All)
: high normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
: 7402 (view as bug list)
Depends on:
Blocks: 7446
  Show dependency treegraph
 
Reported: 2006-06-30 09:58 UTC by Andreas Vox
Modified: 2007-01-23 20:00 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.