JDK-8261650 : Add a comment with details for MTLVC_MAX_INDEX
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 17
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2021-02-12
  • Updated: 2022-05-12
  • Resolved: 2022-05-10
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 19
19 b22Fixed
Related Reports
Relates :  
Description
MTLVC_MAX_INDEX value is 250 in Metal because we use setVertexBytes for text encoder and it limits size to 4KB. Add comment mentioning that J2DVertex size is 16 bytes, so the value is 250 to allow max 4KB of data.
Comments
Changeset: ace42306 Author: Ajit Ghaisas <aghaisas@openjdk.org> Date: 2022-05-10 04:11:28 +0000 URL: https://git.openjdk.java.net/jdk/commit/ace42306345da21345d4d18931f879811615f9d9
10-05-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/8592 Date: 2022-05-09 07:02:51 +0000
09-05-2022

not a blocker to make Lanai to default, but this issue better to fix in JDK 19
05-05-2022