mirror of
https://github.com/brl/mutter.git
synced 2025-02-18 22:24:10 +00:00

ClutterShader contains a lot of duplication, as the vertex and fragment shader code paths are mostly the same. The code should be simplified by adding new internal functions that can be called with a value from the already present ClutterShaderType enumeration. In the future it'll also be possible to deprecate the current split API and expose the generic accessors instead.