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 | cb29e6237d7f471a28f8e73116e131f257d9842f (patch) | |
tree | c27cbc44f6783ca09d8cc3a1881c229c1265dbcb /opengl/include | |
parent | ed3b804f2cc61029cf2969cbfa499ea230c22bb0 (diff) | |
download | frameworks_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')
-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 |