summaryrefslogtreecommitdiffstats
path: root/opengl/include/KHR
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-05-08 15:23:38 -0700
committerMathias Agopian <mathias@google.com>2009-05-08 15:23:38 -0700
commitcb29e6237d7f471a28f8e73116e131f257d9842f (patch)
treec27cbc44f6783ca09d8cc3a1881c229c1265dbcb /opengl/include/KHR
parented3b804f2cc61029cf2969cbfa499ea230c22bb0 (diff)
downloadframeworks_base-cb29e6237d7f471a28f8e73116e131f257d9842f.zip
frameworks_base-cb29e6237d7f471a28f8e73116e131f257d9842f.tar.gz
frameworks_base-cb29e6237d7f471a28f8e73116e131f257d9842f.tar.bz2
only export the GL entry-points, hide everything else.
Conflicts: opengl/libagl/Android.mk opengl/libs/Android.mk opengl/libs/egl_impl.h
Diffstat (limited to 'opengl/include/KHR')
-rw-r--r--opengl/include/KHR/khrplatform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/opengl/include/KHR/khrplatform.h b/opengl/include/KHR/khrplatform.h
index 4cc27c5..1660bd7 100644
--- a/opengl/include/KHR/khrplatform.h
+++ b/opengl/include/KHR/khrplatform.h
@@ -91,6 +91,8 @@
# define KHRONOS_APICALL __declspec(dllimport)
#elif defined (__SYMBIAN32__)
# define KHRONOS_APICALL IMPORT_C
+#elif defined(ANDROID)
+# define KHRONOS_APICALL __attribute__((visibility("default")))
#else
# define KHRONOS_APICALL
#endif