Rename raw_* fields from x & y to w & h
Change texture constructor to take reference