[OpenJDK 2D-Dev] RFR: 8265062: Remove duplication constant MaxTextureSize

Sergey Bylokhov serb at openjdk.java.net
Sat Apr 17 04:36:35 UTC 2021


On Thu, 15 Apr 2021 14:42:55 GMT, Denis Konoplev <dkonoplev at openjdk.org> wrote:

> I've removed MaxTextureSize and replaced its usages with MTL_GPU_FAMILY_MAC_TXT_SIZE

In a few places we have such pattern "sh = MIN(sh, MTL_GPU_FAMILY_MAC_TXT_SIZE);", in what cases we can use the data larger than MTL_GPU_FAMILY_MAC_TXT_SIZE since we should not create surfaces bigger than "MaxTextureSize"?

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

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


More information about the 2d-dev mailing list