Bug 30822 - add image format support to set memory alignment in image data
Summary: add image format support to set memory alignment in image data
Status: RESOLVED MOVED
Alias: None
Product: libspectre
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: Carlos Garcia Campos
QA Contact: Carlos Garcia Campos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-13 01:39 UTC by Vincent Torri
Modified: 2018-10-12 21:35 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
add image format support (4.26 KB, patch)
2010-10-13 01:39 UTC, Vincent Torri
Details | Splinter Review

Description Vincent Torri 2010-10-13 01:39:44 UTC
Created attachment 39407 [details] [review]
add image format support

This patch adds image format support to set memory alignment of the image data that libgs create. By default, it is DISPLAY_ROW_ALIGN_32 so that the current use is not changed. ABI should not break, API added:

spectre_render_context_set_image_format
spectre_render_context_get_image_format

Some remarks:
 * I'm not sure that the enumaration name is good enough (quite long...)
 * I'm not sure that switch/case indentation is correct. Indentation in spectre-render-context.h is not good, but it depends on the name of the enum...
 * no doc (i can do that once the 2 points above are corrected)

Ideas and remarks are welcome
Comment 1 GitLab Migration User 2018-10-12 21:35:42 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/libspectre/libspectre/issues/4.


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.