Fix missing entries for eglGetProcAddress

bug: 117630404

GL_OES_vertex_array_object and
GL_OES_map_buffer

may be queried from user apps with eglGetProcAddress,
their entries were missing.

From the EGL 1.4 spec:

eglGetProcAddress may be queried for all of the following functions:

- All EGL and client API extension functions supported by the
implementation (whether those extensions are supported by the current
client API context or not). This includes any mandatory OpenGL ES
extensions.

+ Fixed a global buffer overflow where if GLES3 enabled, the client
major version is set to 3, and we index into the third table, which
doesn't exist (No idea how gles3 ever worked with this overflow; ASAN
also did not catch this)

Change-Id: I9639f5c912aee634457ff62bee9d79781bf2e2d4
2 files changed
tree: ec04319d63a1445a931c66962338e3c768263e99
  1. .vscode/
  2. host/
  3. shared/
  4. system/
  5. tests/
  6. Android.mk
  7. common.mk
  8. README