In MTLBlitLoops.copyArea() we use standalone encoder which has no clip state information because of which we ignore clip parameters set in rect clip and shape clip. We need to query and use encoders from EncoderManager to honour clip states in copyArea.
------------- Commit messages: - 8264475: CopyArea ignores clip state in metal rendering pipeline Changes: https://git.openjdk.java.net/jdk/pull/3283/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3283&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8264475 Stats: 56 lines in 2 files changed: 39 ins; 0 del; 17 mod Patch: https://git.openjdk.java.net/jdk/pull/3283.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/3283/head:pull/3283 PR: https://git.openjdk.java.net/jdk/pull/3283