-
Sub-task
-
Resolution: Fixed
-
P3
-
internal
-
javafx-sandbox:metal branch
-
os_x
Prism sends two buffers when rendering the 2D shapes.
one buffer with vertex position, texture coordinates and another with color data.
Currently we collate these two separate buffers into a single buffer in MetalContext.fillVB native method.
BeforeJDK-8341599, we passed 6 vertices per quad, But after JDK-8341599 we pass the buffers as is, but only by collating them into one. This can be avoided by passing the buffers directly to shader.
one buffer with vertex position, texture coordinates and another with color data.
Currently we collate these two separate buffers into a single buffer in MetalContext.fillVB native method.
Before