Skip to content
  • Emmanuele Bassi's avatar
    image: Do not put large textures in the atlas · 8afb499c
    Emmanuele Bassi authored
    Atlasing is fine for smaller textures, but once they get too large its
    downsides outweight the benefits. At worst, the larger texture will end
    up inside its own atlas, but at worst it will require copying and/or
    resizing of an existing atlas.
    
    The cut-off at 512x512 pixels is a bit arbitrary, and we can change it
    at any point; it would be nice if we could get the texture limit from
    Cogl, and then use a fraction of that size as the cut-off limit. Sadly,
    that's not portable, and it's not guaranteed to work either.
    8afb499c