f7a14ba0e7
A paint node with 'n' rects damaged by 'm' quads emits 'n*m' OpenGL draw calls. This commit batches the 'n*m' clipped polygons into an indexed triangle strip damage mesh using degenerate triangles. A single draw call per paint node is emitted to reduce API overhead. Fan debug mode is disabled for now and will be added back using batching in the next commits. Signed-off-by: Loïc Molinari <loic.molinari@collabora.com> |
||
---|---|---|
.. | ||
egl-glue.c | ||
fragment.glsl | ||
gl-renderer-internal.h | ||
gl-renderer.c | ||
gl-renderer.h | ||
gl-shader-config-color-transformation.c | ||
gl-shaders.c | ||
meson.build | ||
vertex.glsl |