Add libGLES_CM to the Code::Blocks project.

Change-Id: Id69512842d9a863b110f8c8bf5244c117d96fae7
Reviewed-on: https://swiftshader-review.googlesource.com/1464
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Tested-by: Nicolas Capens <nicolascapens@google.com>
diff --git a/src/OpenGL/libGLES_CM/exports.map b/src/OpenGL/libGLES_CM/exports.map
index 7d08ed0..565d1bc 100644
--- a/src/OpenGL/libGLES_CM/exports.map
+++ b/src/OpenGL/libGLES_CM/exports.map
@@ -1,184 +1,219 @@
 {
 global:
+	eglBindTexImage;
+    eglChooseConfig;
+    eglCopyBuffers;
+    eglCreateContext;
+    eglCreatePbufferSurface;
+    eglCreatePixmapSurface;
+    eglCreateWindowSurface;
+    eglDestroyContext;
+    eglDestroySurface;
+    eglGetConfigAttrib;
+    eglGetConfigs;
+    eglGetCurrentContext;
+    eglGetCurrentDisplay;
+    eglGetCurrentSurface;
+    eglGetDisplay;
+    eglGetError;
+    eglGetProcAddress;
+    eglInitialize;
+    eglMakeCurrent;
+    eglQueryContext;
+    eglQueryString;
+    eglQuerySurface;
+    eglReleaseTexImage;
+    eglSurfaceAttrib;
+    eglSwapBuffers;
+    eglSwapInterval;
+    eglTerminate;
+    eglWaitGL;
+    eglWaitNative;
     glActiveTexture;
-    glAttachShader;
-    glBindAttribLocation;
+    glAlphaFunc;
+    glAlphaFuncx;
     glBindBuffer;
-    glBindFramebuffer;
-    glBindRenderbuffer;
     glBindTexture;
-    glBlendColor;
-    glBlendEquation;
-    glBlendEquationSeparate;
     glBlendFunc;
-    glBlendFuncSeparate;
     glBufferData;
     glBufferSubData;
-    glCheckFramebufferStatus;
     glClear;
     glClearColor;
+    glClearColorx;
     glClearDepthf;
+    glClearDepthx;
     glClearStencil;
+    glClientActiveTexture;
+    glClipPlanef;
+    glClipPlanex;
+    glColor4f;
+    glColor4ub;
+    glColor4x;
     glColorMask;
-    glCompileShader;
+    glColorPointer;
     glCompressedTexImage2D;
     glCompressedTexSubImage2D;
     glCopyTexImage2D;
     glCopyTexSubImage2D;
-    glCreateProgram;
-    glCreateShader;
     glCullFace;
     glDeleteBuffers;
-    glDeleteFramebuffers;
-    glDeleteProgram;
-    glDeleteRenderbuffers;
-    glDeleteShader;
     glDeleteTextures;
     glDepthFunc;
     glDepthMask;
     glDepthRangef;
-    glDetachShader;
+    glDepthRangex;
     glDisable;
-    glDisableVertexAttribArray;
+    glDisableClientState;
     glDrawArrays;
     glDrawElements;
     glEnable;
-    glEnableVertexAttribArray;
+    glEnableClientState;
     glFinish;
     glFlush;
-    glFramebufferRenderbuffer;
-    glFramebufferTexture2D;
+    glFogf;
+    glFogfv;
+    glFogx;
+    glFogxv;
     glFrontFace;
+    glFrustumf;
+    glFrustumx;
     glGenBuffers;
-    glGenFramebuffers;
-    glGenRenderbuffers;
     glGenTextures;
-    glGenerateMipmap;
-    glGetActiveAttrib;
-    glGetActiveUniform;
-    glGetAttachedShaders;
-    glGetAttribLocation;
     glGetBooleanv;
     glGetBufferParameteriv;
+    glGetClipPlanef;
+    glGetClipPlanex;
     glGetError;
+    glGetFixedv;
     glGetFloatv;
-    glGetFramebufferAttachmentParameteriv;
     glGetIntegerv;
-    glGetProgramInfoLog;
-    glGetProgramiv;
-    glGetRenderbufferParameteriv;
-    glGetShaderInfoLog;
-    glGetShaderPrecisionFormat;
-    glGetShaderSource;
-    glGetShaderiv;
+    glGetLightfv;
+    glGetLightxv;
+    glGetMaterialfv;
+    glGetMaterialxv;
+    glGetPointerv;
     glGetString;
+    glGetTexEnvfv;
+    glGetTexEnviv;
+    glGetTexEnvxv;
     glGetTexParameterfv;
     glGetTexParameteriv;
-    glGetUniformLocation;
-    glGetUniformfv;
-    glGetUniformiv;
-    glGetVertexAttribPointerv;
-    glGetVertexAttribfv;
-    glGetVertexAttribiv;
+    glGetTexParameterxv;
     glHint;
     glIsBuffer;
     glIsEnabled;
-    glIsFramebuffer;
-    glIsProgram;
-    glIsRenderbuffer;
-    glIsShader;
     glIsTexture;
+    glLightModelf;
+    glLightModelfv;
+    glLightModelx;
+    glLightModelxv;
+    glLightf;
+    glLightfv;
+    glLightx;
+    glLightxv;
     glLineWidth;
-    glLinkProgram;
+    glLineWidthx;
+    glLoadIdentity;
+    glLoadMatrixf;
+    glLoadMatrixx;
+    glLogicOp;
+    glMaterialf;
+    glMaterialfv;
+    glMaterialx;
+    glMaterialxv;
+    glMatrixMode;
+    glMultMatrixf;
+    glMultMatrixx;
+    glMultiTexCoord4f;
+    glMultiTexCoord4x;
+    glNormal3f;
+    glNormal3x;
+    glNormalPointer;
+    glOrthof;
+    glOrthox;
     glPixelStorei;
+    glPointParameterf;
+    glPointParameterfv;
+    glPointParameterx;
+    glPointParameterxv;
+    glPointSize;
+    glPointSizex;
     glPolygonOffset;
+    glPolygonOffsetx;
+    glPopMatrix;
+    glPushMatrix;
     glReadPixels;
-    glReleaseShaderCompiler;
-    glRenderbufferStorage;
+    glRotatef;
+    glRotatex;
     glSampleCoverage;
+    glSampleCoveragex;
+    glScalef;
+    glScalex;
     glScissor;
-    glShaderBinary;
-    glShaderSource;
+    glShadeModel;
     glStencilFunc;
-    glStencilFuncSeparate;
     glStencilMask;
-    glStencilMaskSeparate;
     glStencilOp;
-    glStencilOpSeparate;
+    glTexCoordPointer;
+    glTexEnvf;
+    glTexEnvfv;
+    glTexEnvi;
+    glTexEnviv;
+    glTexEnvx;
+    glTexEnvxv;
     glTexImage2D;
     glTexParameterf;
     glTexParameterfv;
     glTexParameteri;
     glTexParameteriv;
+    glTexParameterx;
+    glTexParameterxv;
     glTexSubImage2D;
-    glUniform1f;
-    glUniform1fv;
-    glUniform1i;
-    glUniform1iv;
-    glUniform2f;
-    glUniform2fv;
-    glUniform2i;
-    glUniform2iv;
-    glUniform3f;
-    glUniform3fv;
-    glUniform3i;
-    glUniform3iv;
-    glUniform4f;
-    glUniform4fv;
-    glUniform4i;
-    glUniform4iv;
-    glUniformMatrix2fv;
-    glUniformMatrix3fv;
-    glUniformMatrix4fv;
-    glUseProgram;
-    glValidateProgram;
-    glVertexAttrib1f;
-    glVertexAttrib1fv;
-    glVertexAttrib2f;
-    glVertexAttrib2fv;
-    glVertexAttrib3f;
-    glVertexAttrib3fv;
-    glVertexAttrib4f;
-    glVertexAttrib4fv;
-    glVertexAttribPointer;
+    glTranslatef;
+    glTranslatex;
+    glVertexPointer;
     glViewport;
 
-    # Extensions
-    glTexImage3DOES;
-    glBlitFramebufferANGLE;
-    glRenderbufferStorageMultisampleANGLE;
-    glDeleteFencesNV;
-    glFinishFenceNV;
-    glGenFencesNV;
-    glGetFenceivNV;
-    glIsFenceNV;
-    glSetFenceNV;
-    glTestFenceNV;
-    glGetGraphicsResetStatusEXT;
-    glReadnPixelsEXT;
-    glGetnUniformfvEXT;
-    glGetnUniformivEXT;
-    glGenQueriesEXT;
-    glDeleteQueriesEXT;
-    glIsQueryEXT;
-    glBeginQueryEXT;
-    glEndQueryEXT;
-    glGetQueryivEXT;
-    glGetQueryObjectuivEXT;
+	# Extensions
+	glPointSizePointerOES;
+    glEGLImageTargetTexture2DOES;
+    glEGLImageTargetRenderbufferStorageOES;
+    glIsRenderbufferOES;
+    glBindRenderbufferOES;
+    glDeleteRenderbuffersOES;
+    glGenRenderbuffersOES;
+    glRenderbufferStorageOES;
+    glGetRenderbufferParameterivOES;
+    glIsFramebufferOES;
+    glBindFramebufferOES;
+    glDeleteFramebuffersOES;
+    glGenFramebuffersOES;
+    glCheckFramebufferStatusOES;
+    glFramebufferRenderbufferOES;
+    glFramebufferTexture2DOES;
+    glGetFramebufferAttachmentParameterivOES;
+    glGenerateMipmapOES;
+    glBlendEquationOES;
+    glBlendEquationSeparateOES;
+    glBlendFuncSeparateOES;
+    glDrawTexsOES;
+    glDrawTexiOES;
+    glDrawTexxOES;
+    glDrawTexsvOES;
+    glDrawTexivOES;
+    glDrawTexxvOES;
+    glDrawTexfOES;
+    glDrawTexfvOES;
 
     # EGL dependencies
     glCreateContext;
-    glDestroyContext;
-    glMakeCurrent;
-    glGetCurrentContext;
     glGetProcAddress;
-    glBindTexImage;
 
-    createFrameBuffer;
-    createBackBuffer;
-    createDevice;
+	createFrameBuffer;
+	createBackBuffer;
+	createDepthStencil;
 
-    Register;
+	Register;
 
 local:
     *;