We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2939553 commit ace4230Copy full SHA for ace4230
src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLVertexCache.h
@@ -30,7 +30,14 @@
30
#include "fontscalerdefs.h"
31
32
/**
33
- * Constants that control the size of the vertex cache.
+ * The max size of the vertex cache.
34
+ *
35
+ * Note:
36
+ * This is the max number of vertices (of struct J2DVertex - 16 bytes)
37
+ * that can be accommodated in 4KB.
38
39
+ * [MTLRenderCommandEncoder setVertexBytes] expects the data size
40
+ * to be less than or equal to 4KB.
41
*/
42
#define MTLVC_MAX_INDEX 250
43
0 commit comments