[OpenJDK 2D-Dev] RFR: 8264475: CopyArea ignores clip state in metal rendering pipeline

Jayathirth D V jdv at openjdk.java.net
Wed Mar 31 15:06:27 UTC 2021


On Wed, 31 Mar 2021 12:39:49 GMT, Ajit Ghaisas <aghaisas at openjdk.org> wrote:

> I tested this fix. No regressions were observed.
> 
> Using MTLBlitCommandEncoder is intuitive when metal resource copying needs to be done.
> I suggest to add a comment (may be as a method description or in code where we do the actual copy) to mention why we use MTLRenderCommandEncoder and not MTLBlitCommandEncoder.

Thanks Ajit for testing the fix. I have added comment mentioning why we use MTLRenderCommandEncoder and not MTLBlitCommandEncoder.

-------------

PR: https://git.openjdk.java.net/jdk/pull/3283


More information about the 2d-dev mailing list