opengl: Regenerate GPU emulation encoder sources.
This patch updates the encoder sources to match the auto-generated
output of the latest 'emugen' tools from sdk/emulator/opengl/
Generated by using external/qemu/distrib/update-emugl-source.sh
This shall only results in minor changes:
- Minor indentation fixes.
- Using 'const' to define constant tables.
- Using anonymous namespaces in the encoders.
Change-Id: Ib282b31c4c05da897157ef90e5a9deb914a08bda
diff --git a/system/GLESv2_enc/gl2_ftable.h b/system/GLESv2_enc/gl2_ftable.h
index 4cbda78..25df4f0 100644
--- a/system/GLESv2_enc/gl2_ftable.h
+++ b/system/GLESv2_enc/gl2_ftable.h
@@ -4,7 +4,7 @@
#define __gl2_client_ftable_t_h
-static struct _gl2_funcs_by_name {
+static const struct _gl2_funcs_by_name {
const char *name;
void *proc;
} gl2_funcs_by_name[] = {
@@ -210,7 +210,7 @@
{"glStartTilingQCOM", (void*)glStartTilingQCOM},
{"glEndTilingQCOM", (void*)glEndTilingQCOM},
};
-static int gl2_num_funcs = sizeof(gl2_funcs_by_name) / sizeof(struct _gl2_funcs_by_name);
+static const int gl2_num_funcs = sizeof(gl2_funcs_by_name) / sizeof(struct _gl2_funcs_by_name);
#endif