Skip to content
  • Neil Roberts's avatar
    cogl-gles2-wrapper: Add support for the layer combine operations · eba07020
    Neil Roberts authored
    The texture layer combine functions are now hard coded to GL_COMBINE
    instead of GL_MODULATE. The combine function can be customized with
    all the parameters of GL_COMBINE. A shader is generated to implement
    the given parameters.
    
    Currently it will try to generate code for the constant color but it
    will use a uniform which does not exist.
    eba07020