diff options
| author | 2012-02-24 19:08:12 -0800 | |
|---|---|---|
| committer | 2012-02-24 19:08:12 -0800 | |
| commit | 018549e4bf60bb9c7e2b1bce8edae727122dc57f (patch) | |
| tree | fa63da0f8f28cab922d29ca5e90254de74facbe5 /opengl | |
| parent | 5265466e8a5453e738713869f61ca45482b85319 (diff) | |
| parent | af01feafc30152baf8e0a5cfddbf02bd14731fd2 (diff) | |
Merge "remove dependency on android_native{s_priv|buffer}.h"
Diffstat (limited to 'opengl')
| -rw-r--r-- | opengl/libagl/TextureObjectManager.cpp | 2 | ||||
| -rw-r--r-- | opengl/libagl/egl.cpp | 6 | ||||
| -rw-r--r-- | opengl/libagl/texture.cpp | 1 |
3 files changed, 3 insertions, 6 deletions
diff --git a/opengl/libagl/TextureObjectManager.cpp b/opengl/libagl/TextureObjectManager.cpp index 6a006aabfac1..06d45cc22e18 100644 --- a/opengl/libagl/TextureObjectManager.cpp +++ b/opengl/libagl/TextureObjectManager.cpp @@ -19,8 +19,6 @@ #include "context.h" #include "TextureObjectManager.h" -#include <private/ui/android_natives_priv.h> - namespace android { // ---------------------------------------------------------------------------- diff --git a/opengl/libagl/egl.cpp b/opengl/libagl/egl.cpp index eb55beefd9af..92d32a282b2e 100644 --- a/opengl/libagl/egl.cpp +++ b/opengl/libagl/egl.cpp @@ -30,6 +30,7 @@ #include <cutils/atomic.h> #include <utils/threads.h> +#include <ui/ANativeObjectBase.h> #include <EGL/egl.h> #include <EGL/eglext.h> @@ -39,8 +40,6 @@ #include <pixelflinger/format.h> #include <pixelflinger/pixelflinger.h> -#include <private/ui/android_natives_priv.h> - #include "context.h" #include "state.h" #include "texture.h" @@ -49,13 +48,14 @@ #undef NELEM #define NELEM(x) (sizeof(x)/sizeof(*(x))) +// ---------------------------------------------------------------------------- EGLBoolean EGLAPI eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw, EGLint left, EGLint top, EGLint width, EGLint height); - // ---------------------------------------------------------------------------- namespace android { + // ---------------------------------------------------------------------------- const unsigned int NUM_DISPLAYS = 1; diff --git a/opengl/libagl/texture.cpp b/opengl/libagl/texture.cpp index 88e865124ec7..08536dfd2589 100644 --- a/opengl/libagl/texture.cpp +++ b/opengl/libagl/texture.cpp @@ -23,7 +23,6 @@ #include "texture.h" #include "TextureObjectManager.h" -#include <private/ui/android_natives_priv.h> #include <ETC1/etc1.h> namespace android { |