0023544: Texture management in TKOpenGl should be redesigned