-
Notifications
You must be signed in to change notification settings - Fork 541
8196079: Remove obsolete Pisces rasterizer #268
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
8196079: Remove obsolete Pisces rasterizer #268
Conversation
|
👋 Welcome back kcr! A progress list of the required criteria for merging this PR into |
|
/reviewers 2 |
|
@kevinrushforth |
|
Mailing list message from Michael Paus on openjfx-dev: Am 18.07.20 um 17:10 schrieb Kevin Rushforth:
Just out of curiosity - why is this still needed? Wouldn't it be nice to Michael |
|
Mailing list message from Kevin Rushforth on openjfx-dev: On 7/18/2020 8:50 AM, Michael Paus wrote:
We still fall back to the SW pipeline for a few cases, such as virtual -- Kevin |
|
Mailing list message from Michael Paus on openjfx-dev: Am 18.07.20 um 17:57 schrieb Kevin Rushforth:
I think you misunderstood my question. Of course I know that JavaFX has Michael |
|
That's the case, michael. See https://github.com/openjdk/jfx/pull/268/files#diff-28f93b00dc9cba7197f0a6c2fef022ed |
|
I think you are conflating the rasterization step with the rendering step. In Prism the rasterization mainly includes clipping the shape and generating the mask data for the filled and/or stroked shape (the latter possibly being a wide and/or dashed stroke). The rasterized shape is then sent to the Prism GraphicsPipeline for drawing into the render target. This latter step is either done using shaders + D3D or OpenGL, or via the SW pipeline (or the J2D pipeline for printing). In the case of the SW pipeline, the renderer is based on code that was originally derived from Pisces, but it is distinct from the rasterization step that OpenPisces used to perform and Marlin now does perform. Take a look at the SW pipeline classes, the Java PiscesRendering classes, and the prism-sw native code. |
|
@kevinrushforth I asked skara JBS to associate my github account with my openjdk role... Good job, 10k LOC removed. I wonder if I should also deprecate the Float-precision Marlin renderer to remove 10k lines too. Laurent |
|
That's a good question about removing the single-precision float Marlin rasterizer. For desktop platforms, I see no reason to keep it. Perhaps Johan could weigh in as to whether there might be value in keeping it for some embedded platforms. |
bourgesl
left a comment
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.
Loiks good to me.
|
@kevinrushforth This change now passes all automated pre-integration checks. When the change also fulfills all project specific requirements, type
Since the source branch of this PR was last updated there have been 14 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 automatic rebasing, please merge ➡️ To integrate this PR with the above commit message to the |
|
/integrate |
|
@kevinrushforth The following commits have been pushed to master since your change was applied:
Your commit was automatically rebased without conflicts. Pushed as commit 5c596b1. |
This removes the obsolete OpenPiscesRasterizer (Java-based) and NativePiscesRasterizer implementations. The Marlin rasterizer was added in FX 9 and was made the default in FX 10. Marlin both outperforms Pisces and is more robust. There is no reason to keep the Pisces rasterizer(s) any more.
Note that the SW pipeline still has a Pisces-based renderer for the actual rendering of primitives. This is separate from the rasterizer and is not affected by this proposed fix.
I have tested this on Mac, Windows, and Linux.
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jfx pull/268/head:pull/268$ git checkout pull/268