aboutsummaryrefslogtreecommitdiffstats
path: root/emulator/opengl/host/libs/GLESv2_dec
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2014-07-21 16:22:38 +0000
committerandroid-build-merger <android-build-merger@google.com>2014-07-21 16:22:38 +0000
commitc245592b0d472437ade15a22076c2193441f0eea (patch)
tree889f16f76567054ea5fc085f274ceade0a09bd81 /emulator/opengl/host/libs/GLESv2_dec
parent245fae139423eb268ecb3eaa06f6ce8c7044c4f4 (diff)
parent4e4233679d4ef4e25d13fe3b56bd8cdaa3b822cc (diff)
downloadsdk-c245592b0d472437ade15a22076c2193441f0eea.zip
sdk-c245592b0d472437ade15a22076c2193441f0eea.tar.gz
sdk-c245592b0d472437ade15a22076c2193441f0eea.tar.bz2
Merge changes I551e0f3d,I26d84cf5,I27c993d1 into idea133
automerge: 4e42336 * commit '4e4233679d4ef4e25d13fe3b56bd8cdaa3b822cc': emulator/opengl: Remove out-of-process handling code. emulator/opengl: refactor Thread class. emulator/opengl: refactor shared library handling.
Diffstat (limited to 'emulator/opengl/host/libs/GLESv2_dec')
-rw-r--r--emulator/opengl/host/libs/GLESv2_dec/Android.mk4
-rw-r--r--emulator/opengl/host/libs/GLESv2_dec/GL2Decoder.cpp2
-rw-r--r--emulator/opengl/host/libs/GLESv2_dec/GL2Decoder.h5
3 files changed, 5 insertions, 6 deletions
diff --git a/emulator/opengl/host/libs/GLESv2_dec/Android.mk b/emulator/opengl/host/libs/GLESv2_dec/Android.mk
index bc04c25..f658f11 100644
--- a/emulator/opengl/host/libs/GLESv2_dec/Android.mk
+++ b/emulator/opengl/host/libs/GLESv2_dec/Android.mk
@@ -9,7 +9,7 @@ host_common_debug_CFLAGS :=
### host library ##########################################
$(call emugl-begin-host-static-library,libGLESv2_dec)
-$(call emugl-import, libOpenglCodecCommon libOpenglOsUtils)
+$(call emugl-import, libOpenglCodecCommon)
$(call emugl-gen-decoder,$(LOCAL_PATH),gl2)
# For gl2_types.h !
@@ -24,7 +24,7 @@ $(call emugl-end-module)
### host library, 64-bit ####################################
ifdef EMUGL_BUILD_64BITS
$(call emugl-begin-host64-static-library,lib64GLESv2_dec)
- $(call emugl-import, lib64OpenglCodecCommon lib64OpenglOsUtils)
+ $(call emugl-import, lib64OpenglCodecCommon)
$(call emugl-gen-decoder,$(LOCAL_PATH),gl2)
# For gl2_types.h !
diff --git a/emulator/opengl/host/libs/GLESv2_dec/GL2Decoder.cpp b/emulator/opengl/host/libs/GLESv2_dec/GL2Decoder.cpp
index ccf2f06..2ef306e 100644
--- a/emulator/opengl/host/libs/GLESv2_dec/GL2Decoder.cpp
+++ b/emulator/opengl/host/libs/GLESv2_dec/GL2Decoder.cpp
@@ -60,7 +60,7 @@ int GL2Decoder::initGL(get_proc_func_t getProcFunc, void *getProcFuncData)
libname = getenv(GLES2_LIBNAME_VAR);
}
- m_GL2library = osUtils::dynLibrary::open(libname);
+ m_GL2library = emugl::SharedLibrary::open(libname);
if (m_GL2library == NULL) {
fprintf(stderr, "%s: Couldn't find %s \n", __FUNCTION__, libname);
return -1;
diff --git a/emulator/opengl/host/libs/GLESv2_dec/GL2Decoder.h b/emulator/opengl/host/libs/GLESv2_dec/GL2Decoder.h
index dcf2c07..8910da9 100644
--- a/emulator/opengl/host/libs/GLESv2_dec/GL2Decoder.h
+++ b/emulator/opengl/host/libs/GLESv2_dec/GL2Decoder.h
@@ -21,9 +21,8 @@
#define GLES2_LIBNAME "libGLESv2.so"
#include "gl2_dec.h"
-#include "osDynLibrary.h"
#include "GLDecoderContextData.h"
-
+#include "emugl/common/shared_library.h"
class GL2Decoder : public gl2_decoder_context_t
{
@@ -35,7 +34,7 @@ public:
void setContextData(GLDecoderContextData *contextData) { m_contextData = contextData; }
private:
GLDecoderContextData *m_contextData;
- osUtils::dynLibrary * m_GL2library;
+ emugl::SharedLibrary* m_GL2library;
static void *s_getProc(const char *name, void *userData);
static void gl2_APIENTRY s_glGetCompressedTextureFormats(void *self, int count, GLint *formats);