diff options
Diffstat (limited to 'opengl/system')
-rw-r--r-- | opengl/system/GLESv1_enc/gl_enc.cpp | 5 | ||||
-rw-r--r-- | opengl/system/GLESv1_enc/gl_enc.h | 3 | ||||
-rw-r--r-- | opengl/system/GLESv2_enc/gl2_enc.cpp | 7 | ||||
-rw-r--r-- | opengl/system/GLESv2_enc/gl2_enc.h | 3 |
4 files changed, 18 insertions, 0 deletions
diff --git a/opengl/system/GLESv1_enc/gl_enc.cpp b/opengl/system/GLESv1_enc/gl_enc.cpp index 0a343df..019c409 100644 --- a/opengl/system/GLESv1_enc/gl_enc.cpp +++ b/opengl/system/GLESv1_enc/gl_enc.cpp @@ -7,6 +7,7 @@ #include "gl_enc.h" +namespace glesv1_enc { #include <stdio.h> static void enc_unsupported() @@ -4885,6 +4886,10 @@ void glEndTilingQCOM_enc(void *self , GLbitfield preserveMask) memcpy(ptr, &preserveMask, 4); ptr += 4; } +} // namespace glesv1_enc + +using namespace glesv1_enc; + gl_encoder_context_t::gl_encoder_context_t(IOStream *stream) { m_stream = stream; diff --git a/opengl/system/GLESv1_enc/gl_enc.h b/opengl/system/GLESv1_enc/gl_enc.h index d8a23e4..768102c 100644 --- a/opengl/system/GLESv1_enc/gl_enc.h +++ b/opengl/system/GLESv1_enc/gl_enc.h @@ -20,6 +20,7 @@ struct gl_encoder_context_t : public gl_client_context_t { }; +#if 0 extern "C" { void glAlphaFunc_enc(void *self , GLenum func, GLclampf ref); void glClearColor_enc(void *self , GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); @@ -313,4 +314,6 @@ extern "C" { void glStartTilingQCOM_enc(void *self , GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); void glEndTilingQCOM_enc(void *self , GLbitfield preserveMask); }; +#endif // 0 + #endif
\ No newline at end of file diff --git a/opengl/system/GLESv2_enc/gl2_enc.cpp b/opengl/system/GLESv2_enc/gl2_enc.cpp index 5929697..9a5c1b4 100644 --- a/opengl/system/GLESv2_enc/gl2_enc.cpp +++ b/opengl/system/GLESv2_enc/gl2_enc.cpp @@ -9,6 +9,9 @@ #include <stdio.h> + +namespace glesv2_enc { + static void enc_unsupported() { ALOGE("Function is unsupported\n"); @@ -2914,6 +2917,10 @@ int glFinishRoundTrip_enc(void *self ) return retval; } +} // namespace glesv2_enc + +using namespace glesv2_enc; + gl2_encoder_context_t::gl2_encoder_context_t(IOStream *stream) { m_stream = stream; diff --git a/opengl/system/GLESv2_enc/gl2_enc.h b/opengl/system/GLESv2_enc/gl2_enc.h index b1b456a..4a5432b 100644 --- a/opengl/system/GLESv2_enc/gl2_enc.h +++ b/opengl/system/GLESv2_enc/gl2_enc.h @@ -21,6 +21,7 @@ struct gl2_encoder_context_t : public gl2_client_context_t { }; +#if 0 extern "C" { void glActiveTexture_enc(void *self , GLenum texture); void glAttachShader_enc(void *self , GLuint program, GLuint shader); @@ -231,4 +232,6 @@ extern "C" { void glShaderString_enc(void *self , GLuint shader, const GLchar* string, GLsizei len); int glFinishRoundTrip_enc(void *self ); }; +#endif // 0 + #endif |