Bug 85561 - cairo_image_surface_create() width/height limit
Summary: cairo_image_surface_create() width/height limit
Status: RESOLVED MOVED
Alias: None
Product: cairo
Classification: Unclassified
Component: image backend (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Chris Wilson
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-28 14:46 UTC by martinl
Modified: 2018-08-25 13:49 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description martinl 2014-10-28 14:46:12 UTC
With and height in `cairo_image_surface_create()` seems to have defined limit on 2^15 (32768) which is more then one billion cells. But unfortunately this limit doesn't allow to create a surface with `height = 1` and `width > 2^15`.

Why the limit is defined for width and height separately and not for a number of cells? And how to solve the example noted above?

Thanks in advance, Martin
Comment 1 GitLab Migration User 2018-08-25 13:49:55 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/217.


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.