remove dependency of EGL on ndk header

Change-Id: Ia6e489b5b4f028864bdf54923e81f604710dd8ad
This commit is contained in:
Mathias Agopian 2012-03-23 14:15:44 -07:00
parent 82dd490410
commit b0e76f456a
4 changed files with 8 additions and 2 deletions

View File

@ -27,6 +27,8 @@
#include <utils/RefBase.h>
#include <utils/threads.h>
struct ANativeWindow_Buffer;
namespace android {
class Surface;

View File

@ -21,6 +21,8 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <android/native_window.h>
#include <utils/CallStack.h>
#include <utils/Errors.h>
#include <utils/Log.h>

View File

@ -18,11 +18,14 @@
#define ATRACE_TAG ATRACE_TAG_GRAPHICS
//#define LOG_NDEBUG 0
#include <android/native_window.h>
#include <utils/Log.h>
#include <utils/Trace.h>
#include <gui/ISurfaceComposer.h>
#include <gui/SurfaceComposerClient.h>
#include <gui/SurfaceTexture.h>
#include <gui/SurfaceTextureClient.h>
#include <private/gui/ComposerService.h>

View File

@ -80,8 +80,7 @@ typedef void *EGLNativePixmapType;
#elif defined(__ANDROID__) || defined(ANDROID)
#include <android/native_window.h>
struct ANativeWindow;
struct egl_native_pixmap_t;
typedef struct ANativeWindow* EGLNativeWindowType;