summaryrefslogtreecommitdiffstats
path: root/opengl/system/GLESv2_enc
diff options
context:
space:
mode:
Diffstat (limited to 'opengl/system/GLESv2_enc')
-rw-r--r--opengl/system/GLESv2_enc/gl2_enc.cpp7
-rw-r--r--opengl/system/GLESv2_enc/gl2_enc.h3
2 files changed, 10 insertions, 0 deletions
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