Texture now uses the new texture object api
Renderer now uses the new texture object api for its depth buffer