diff options
Diffstat (limited to 'emulator/opengl/shared/OpenglCodecCommon')
-rw-r--r-- | emulator/opengl/shared/OpenglCodecCommon/GLSharedGroup.cpp | 4 | ||||
-rw-r--r-- | emulator/opengl/shared/OpenglCodecCommon/GLSharedGroup.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/emulator/opengl/shared/OpenglCodecCommon/GLSharedGroup.cpp b/emulator/opengl/shared/OpenglCodecCommon/GLSharedGroup.cpp index f317259..db7f418 100644 --- a/emulator/opengl/shared/OpenglCodecCommon/GLSharedGroup.cpp +++ b/emulator/opengl/shared/OpenglCodecCommon/GLSharedGroup.cpp @@ -16,6 +16,8 @@ #include "GLSharedGroup.h" +#include <string.h> + /**** BufferData ****/ BufferData::BufferData() : m_size(0) {}; @@ -325,6 +327,7 @@ void GLSharedGroup::setProgramIndexInfo(GLuint program, GLuint shaderId = pData->getShader(i); ShaderData* shader = m_shaders.get(shaderId); if (!shader) continue; +#if 0 // TODO(digit): Understand why samplerExternalNames is always empty? ShaderData::StringList::iterator nameIter = shader->samplerExternalNames.begin(); ShaderData::StringList::iterator nameEnd = @@ -338,6 +341,7 @@ void GLSharedGroup::setProgramIndexInfo(GLuint program, } ++nameIter; } +#endif } } } diff --git a/emulator/opengl/shared/OpenglCodecCommon/GLSharedGroup.h b/emulator/opengl/shared/OpenglCodecCommon/GLSharedGroup.h index 0daa3a8..f111f99 100644 --- a/emulator/opengl/shared/OpenglCodecCommon/GLSharedGroup.h +++ b/emulator/opengl/shared/OpenglCodecCommon/GLSharedGroup.h @@ -35,8 +35,6 @@ #include <stdio.h> #include <stdlib.h> #include "ErrorLog.h" -#include <utils/List.h> -#include <utils/String8.h> #include "FixedBuffer.h" struct BufferData { @@ -94,8 +92,10 @@ public: }; struct ShaderData { +#if 0 // TODO(digit): Undertand why this is never used? typedef android::List<android::String8> StringList; StringList samplerExternalNames; +#endif int refcount; }; |