Bug 30822

Summary: add image format support to set memory alignment in image data
Product: libspectre Reporter: Vincent Torri <vincent.torri>
Component: generalAssignee: Carlos Garcia Campos <carlosgc>
Status: RESOLVED MOVED QA Contact: Carlos Garcia Campos <carlosgc>
Severity: enhancement    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: add image format support

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.