commit | d6ae8b74de3b5b8e0b7a12eccf27300c755e9672 | [log] [tgz] |
---|---|---|
author | Eric Williams <ericwill@redhat.com> | Tue Jul 02 15:58:51 2019 -0400 |
committer | Eric Williams <ericwill@redhat.com> | Thu Jul 04 13:49:00 2019 -0400 |
tree | 60e1b24b7abd22f622299ff2347e6e4d9993570f | |
parent | 29744c3324413c8033adbd500c84ae08d6a211fb [diff] |
Bug 545032: [GTK] Implement native ImageLoader Most ImageData's created on GTK have an RGB byte order, however some exceptions do exist. Specifically, ImageData's created from JFace's CompositeImageDescriptor can have a BGR byte order. Because of this, it's necessary to check the PaletteData in ImageLoader.save(). If the PaletteData indicates a negative blue shift, we are dealing with BGR byte ordering and must adjust the offsets accordingly. Revert some smaller changes from the original ImageLoader patch, as they are not needed (causes the white background on breadcrumb icons). Verified with the relevant bug snippets, JUnits, and with the JDT icons in a child Eclipse. Change-Id: I8d6e1cea4c1559689e42dedf334c550435cd7533 Signed-off-by: Eric Williams <ericwill@redhat.com>
Thanks for your interest in this project.
See the following description for how to contribute a feature or a bug fix to SWT.
Information regarding source code management, builds, coding standards, and more and be found under the following link.
Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).
Contact the project developers via the project's “dev” list.
This project uses Bugzilla to track ongoing development and issues.
Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!