Skip to content
  • Emmanuele Bassi's avatar
    shader-effect: Simplify setting the shader source · 0e9a1dee
    Emmanuele Bassi authored
    Sub-classes of ShaderEffect currently have to get the handle for the
    Cogl shader and call cogl_shader_source(); this makes it awkward to
    implement a ShaderEffect, and it exposes handles and Cogl API that we
    might want to change in the future.
    
    We should provide a ClutterShaderEffect method that allows to (safely)
    set the shader source at the right time for sub-classes to use.
    0e9a1dee