Add GLES1 targets and stub entry points.

 * Create a new libGLESv1_CM target.
 * Merge all autogenerated extension entry points into one file.
 * Allow creation of ES1 contexts.

BUG=angleproject:2306

Change-Id: I446258363a96a3c37d657089dd7c1cff0fa3cf78
Reviewed-on: https://chromium-review.googlesource.com/865718
Commit-Queue: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
diff --git a/src/libANGLE/Context.cpp b/src/libANGLE/Context.cpp
index a661924..65252e8 100644
--- a/src/libANGLE/Context.cpp
+++ b/src/libANGLE/Context.cpp
@@ -5818,4 +5818,510 @@
     UNIMPLEMENTED();
 }
 
+void Context::alphaFunc(GLenum func, GLfloat ref)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::alphaFuncx(GLenum func, GLfixed ref)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::clearColorx(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::clearDepthx(GLfixed depth)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::clientActiveTexture(GLenum texture)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::clipPlanef(GLenum p, const GLfloat *eqn)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::clipPlanex(GLenum plane, const GLfixed *equation)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::color4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::color4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::color4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::colorPointer(GLint size, GLenum type, GLsizei stride, const void *pointer)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::cullFace(GLenum mode)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::depthRangex(GLfixed n, GLfixed f)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::disableClientState(GLenum array)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::enableClientState(GLenum array)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::fogf(GLenum pname, GLfloat param)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::fogfv(GLenum pname, const GLfloat *params)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::fogx(GLenum pname, GLfixed param)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::fogxv(GLenum pname, const GLfixed *param)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::frustumf(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::frustumx(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::getBufferParameteriv(GLenum target, GLenum pname, GLint *params)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::getClipPlanef(GLenum plane, GLfloat *equation)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::getClipPlanex(GLenum plane, GLfixed *equation)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::getFixedv(GLenum pname, GLfixed *params)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::getLightfv(GLenum light, GLenum pname, GLfloat *params)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::getLightxv(GLenum light, GLenum pname, GLfixed *params)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::getMaterialfv(GLenum face, GLenum pname, GLfloat *params)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::getMaterialxv(GLenum face, GLenum pname, GLfixed *params)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::getTexEnvfv(GLenum target, GLenum pname, GLfloat *params)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::getTexEnviv(GLenum target, GLenum pname, GLint *params)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::getTexEnvxv(GLenum target, GLenum pname, GLfixed *params)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::getTexParameterxv(GLenum target, GLenum pname, GLfixed *params)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::lightModelf(GLenum pname, GLfloat param)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::lightModelfv(GLenum pname, const GLfloat *params)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::lightModelx(GLenum pname, GLfixed param)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::lightModelxv(GLenum pname, const GLfixed *param)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::lightf(GLenum light, GLenum pname, GLfloat param)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::lightfv(GLenum light, GLenum pname, const GLfloat *params)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::lightx(GLenum light, GLenum pname, GLfixed param)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::lightxv(GLenum light, GLenum pname, const GLfixed *params)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::lineWidthx(GLfixed width)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::loadIdentity()
+{
+    UNIMPLEMENTED();
+}
+
+void Context::loadMatrixf(const GLfloat *m)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::loadMatrixx(const GLfixed *m)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::logicOp(GLenum opcode)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::materialf(GLenum face, GLenum pname, GLfloat param)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::materialfv(GLenum face, GLenum pname, const GLfloat *params)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::materialx(GLenum face, GLenum pname, GLfixed param)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::materialxv(GLenum face, GLenum pname, const GLfixed *param)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::matrixMode(GLenum mode)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::multMatrixf(const GLfloat *m)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::multMatrixx(const GLfixed *m)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::multiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::multiTexCoord4x(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::normal3f(GLfloat nx, GLfloat ny, GLfloat nz)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::normal3x(GLfixed nx, GLfixed ny, GLfixed nz)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::normalPointer(GLenum type, GLsizei stride, const void *pointer)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::orthof(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::orthox(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::pointParameterf(GLenum pname, GLfloat param)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::pointParameterfv(GLenum pname, const GLfloat *params)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::pointParameterx(GLenum pname, GLfixed param)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::pointParameterxv(GLenum pname, const GLfixed *params)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::pointSize(GLfloat size)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::pointSizex(GLfixed size)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::polygonOffsetx(GLfixed factor, GLfixed units)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::popMatrix()
+{
+    UNIMPLEMENTED();
+}
+
+void Context::pushMatrix()
+{
+    UNIMPLEMENTED();
+}
+
+void Context::rotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::rotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::sampleCoveragex(GLclampx value, GLboolean invert)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::scalef(GLfloat x, GLfloat y, GLfloat z)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::scalex(GLfixed x, GLfixed y, GLfixed z)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::shadeModel(GLenum mode)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::texCoordPointer(GLint size, GLenum type, GLsizei stride, const void *pointer)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::texEnvf(GLenum target, GLenum pname, GLfloat param)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::texEnvfv(GLenum target, GLenum pname, const GLfloat *params)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::texEnvi(GLenum target, GLenum pname, GLint param)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::texEnviv(GLenum target, GLenum pname, const GLint *params)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::texEnvx(GLenum target, GLenum pname, GLfixed param)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::texEnvxv(GLenum target, GLenum pname, const GLfixed *params)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::texParameterx(GLenum target, GLenum pname, GLfixed param)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::texParameterxv(GLenum target, GLenum pname, const GLfixed *params)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::translatef(GLfloat x, GLfloat y, GLfloat z)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::translatex(GLfixed x, GLfixed y, GLfixed z)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::vertexPointer(GLint size, GLenum type, GLsizei stride, const void *pointer)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::drawTexf(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::drawTexfv(const GLfloat *coords)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::drawTexi(GLint x, GLint y, GLint z, GLint width, GLint height)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::drawTexiv(const GLint *coords)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::drawTexs(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::drawTexsv(const GLshort *coords)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::drawTexx(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::drawTexxv(const GLfixed *coords)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::currentPaletteMatrix(GLuint matrixpaletteindex)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::loadPaletteFromModelViewMatrix()
+{
+    UNIMPLEMENTED();
+}
+
+void Context::matrixIndexPointer(GLint size, GLenum type, GLsizei stride, const void *pointer)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::weightPointer(GLint size, GLenum type, GLsizei stride, const void *pointer)
+{
+    UNIMPLEMENTED();
+}
+
+void Context::pointSizePointer(GLenum type, GLsizei stride, const void *pointer)
+{
+    UNIMPLEMENTED();
+}
+
+GLbitfield Context::queryMatrixx(GLfixed *mantissa, GLint *exponent)
+{
+    UNIMPLEMENTED();
+    return 0;
+}
+
 }  // namespace gl