[OpenJDK 2D-Dev] RFR: 8260931: Implement JEP 382: New macOS Rendering Pipeline [v10]

Alexey Ushakov avu at openjdk.java.net
Tue Mar 9 22:21:44 UTC 2021


On Tue, 9 Mar 2021 17:59:26 GMT, Alexey Ushakov <avu at openjdk.org> wrote:

>> In fact, we don't have any scratch surfaces. SET_SCRATCH_SURFACE effectively sets the new context. For better readability, we should add the new op SET_CONTEXT in BufferedOpCodes
>
> Probably it's enough to set the context in SET_SURFACES, I'll double-check it.

Looks like it works even without SET_SCRATCH_SURFACE (I did some limited testing) but I don't think we should do such a huge change at this moment.

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

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


More information about the 2d-dev mailing list