Fastest average color for HDR using hardware mipmap generation