Adding texture dumping and pluggin it in drawing dumping