Skip to content

egl: simplify client/platform extension handling

Emil Velikov requested to merge xexaxo/mesa:egl-glvnd-ext-str into master

For GLVND reasons the client/platform extensions strings should be split. While in the non GLVND case they're one big string.

Currently we handle this distinction at run-time for not obvious reason. Adding additional code and complexity.

Swap those with a few well placed #if USE_LIBGLVND guards.

As a side result this removes a minor memory leak due to the concatenation in the non GLVND case.

Signed-off-by: Emil Velikov emil.velikov@collabora.com

/cc @kbrenneman (original author) @eric (tinkering with GLVND)

Merge request reports