diff options
author | Mathias Agopian <mathias@google.com> | 2009-05-08 15:23:38 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2009-05-08 15:23:38 -0700 |
commit | 48685c45bb333c3564596158e2e67267110c9277 (patch) | |
tree | 6b919a6ae0ba8123fb5c493e7d0e8ffc900fedbd /opengl/include | |
parent | 4047ff2ca078cab7af541f6bf8a9718db7ffe975 (diff) | |
download | frameworks_native-48685c45bb333c3564596158e2e67267110c9277.zip frameworks_native-48685c45bb333c3564596158e2e67267110c9277.tar.gz frameworks_native-48685c45bb333c3564596158e2e67267110c9277.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')
-rw-r--r-- | opengl/include/GLES/glext.h | 8 | ||||
-rw-r--r-- | opengl/include/KHR/khrplatform.h | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/opengl/include/GLES/glext.h b/opengl/include/GLES/glext.h index 4c01871..3984333 100644 --- a/opengl/include/GLES/glext.h +++ b/opengl/include/GLES/glext.h @@ -603,13 +603,13 @@ typedef void (GL_APIENTRYP PFNGLGETTEXGENXVOESPROC) (GLenum coord, GLenum pname, * dalvik extension functions *------------------------------------------------------------------------*/ #ifdef ANDROID -void glColorPointerBounds(GLint size, GLenum type, GLsizei stride, +GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr, GLsizei count); -void glNormalPointerBounds(GLenum type, GLsizei stride, +GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count); -void glTexCoordPointerBounds(GLint size, GLenum type, +GL_API void GL_APIENTRY glTexCoordPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count); -void glVertexPointerBounds(GLint size, GLenum type, +GL_API void GL_APIENTRY glVertexPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count); #endif 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 |