Added downsample method to g2d::pixmap.
Added downsample_scale to texture ctor.