Skip to content
  • Andrea Canciani's avatar
    test: Workaround pixman limits in large-source-roi · 67cfb20b
    Andrea Canciani authored
    Since 1cc750ed92a936d84b47cac696aaffd226e1c02e pixman won't perform
    the compositing if it can't prove that this the computations it has to
    perform will fit within the size of the variables it uses.
    
    It looks like in this case it cannot prove that no overflow will
    happen unless surface_width <= 30582. Instead of this size (discovered
    by bisection), a safer looking 30000 was chosen. It should still
    trigger the problems the original test was looking for, because
    backends which support 30000xheight surfaces will likely support
    32767xheight as well.
    67cfb20b