-
Notifications
You must be signed in to change notification settings - Fork 5.8k
8279216: Investigate implementation of premultiplied alpha in the Little-CMS 2.13 #13095
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
👋 Welcome back serb! A progress list of the required criteria for merging this PR into |
Webrevs
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Results look good. This passes all my testing.
@mrserb This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 465 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wait a moment. It looked all green but I didn't look close enough.
The UI of our testing dashboard showed all green but it lied.
There are 2 closed CMM tests that fail on all platforms. I'll need to understand why.
Sad, does it catches the difference between slow/fast implementations or some issues related to the alpha_pre support? |
I think the test failures are somewhat spurious,
|
Done. The new test is added to prove that this issue could be reproduced before the current patch. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
re-ran all tests including your new one. This time everything definitely passes.
/integrate |
Going to push as commit 117c5b1.
Your commit was automatically rebased without conflicts. |
Support of premultiplied alpha is added to the "accelerated" code path of the CMM. It is implemented on top of the new feature added to the littlecms library in 2.13 and 2.15.
The next formats are now "supported": TYPE_INT_ARGB_PRE, TYPE_4BYTE_ABGR_PRE, and any custom images which use the ComponentColorModel+8-bit-precision like RGBApre or ApreBGR.
After this patch, we will fully support all our standard types(8-bit precision), and mostly any combinations of blits between them, having two exceptions:
Both of them are "features", so we probably need to implement a workaround someday, but for now we will use our generic/slow code.
Performance results for the ColorConvertOp.filter() for images with premultiplied alpha.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/13095/head:pull/13095
$ git checkout pull/13095
Update a local copy of the PR:
$ git checkout pull/13095
$ git pull https://git.openjdk.org/jdk.git pull/13095/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 13095
View PR using the GUI difftool:
$ git pr show -t 13095
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/13095.diff
Webrev
Link to Webrev Comment