Refactor the code. Improve the inheritance structure of Textures.

Change-Id: I72a78f97cf54a6505cd7bff98e1db1bdf5fa84c9
17 files changed