Skip to content

gl-renderer: Batch draw calls

Loïc Molinari requested to merge molinari/weston:batch_draw_calls into main

A paint node of n rects damaged by m quads emits n * m OpenGL draw calls. In order to reduce API overhead, this MR packs each clipped polygon into a mesh so that a single draw call can be emitted per paint node.

Edited by Loïc Molinari

Merge request reports

Loading