Skip to content

Implement batching for Line chart material

Arjen Hiemstra requested to merge work/ahiemstra/linechartbatch into master

This allows line chart segments and the respective material to be batched, by sending per-segment data as vertex attributes rather than uniforms.

Unfortunately, OpenGL 2.1/GLSL 1.10 doesn't support array vertex attributes, so instead this emulates an array by simply defining a bunch of vertex attributes and manually converting it to an output array.

Merge request reports