Use ErrorStream everywhere

Eliminates one more usage of FormatString and its static initializer.

Add more ErrorStream types
and replace gl::Error and egl::Error with them.

BUG=angleproject:1644

Change-Id: Ib498d0ae4b81a332ec71aed7cf709993b154e6bb
Reviewed-on: https://chromium-review.googlesource.com/505429
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
diff --git a/src/libANGLE/renderer/gl/VertexArrayGL.cpp b/src/libANGLE/renderer/gl/VertexArrayGL.cpp
index 358223b..e4cf43d 100644
--- a/src/libANGLE/renderer/gl/VertexArrayGL.cpp
+++ b/src/libANGLE/renderer/gl/VertexArrayGL.cpp
@@ -173,7 +173,7 @@
         }
     }
 
-    return NoError();
+    return gl::NoError();
 }
 
 gl::Error VertexArrayGL::syncIndexData(GLsizei count,
@@ -257,7 +257,7 @@
         *outIndices = nullptr;
     }
 
-    return NoError();
+    return gl::NoError();
 }
 
 void VertexArrayGL::computeStreamingAttributeSizes(const gl::AttributesMask &activeAttributesMask,
@@ -396,10 +396,10 @@
 
     if (unmapResult != GL_TRUE)
     {
-        return Error(GL_OUT_OF_MEMORY, "Failed to unmap the client data streaming buffer.");
+        return gl::OutOfMemory() << "Failed to unmap the client data streaming buffer.";
     }
 
-    return NoError();
+    return gl::NoError();
 }
 
 GLuint VertexArrayGL::getVertexArrayID() const