Compiling issue fix since SurfTex header changed.

Change-Id: I7790626d287d4b44cd9d9fc9f902237b6d059678
This commit is contained in:
Teng-Hui Zhu 2011-09-30 16:09:22 -07:00
parent 7a5b4f30a0
commit 9ec4757b17

View File

@ -17,6 +17,7 @@
#ifndef ANDROID_GUI_SURFACETEXTURE_H #ifndef ANDROID_GUI_SURFACETEXTURE_H
#define ANDROID_GUI_SURFACETEXTURE_H #define ANDROID_GUI_SURFACETEXTURE_H
#include <GLES2/gl2ext.h>
#include <ui/GraphicBuffer.h> #include <ui/GraphicBuffer.h>
namespace android { namespace android {
@ -24,7 +25,8 @@ namespace android {
struct SurfaceTexture { struct SurfaceTexture {
struct FrameAvailableListener : public virtual RefBase {}; struct FrameAvailableListener : public virtual RefBase {};
SurfaceTexture(GLuint, bool allowSynchronousMode = true) {} SurfaceTexture(GLuint, bool allowSynchronousMode = true,
GLenum texTarget = GL_TEXTURE_EXTERNAL_OES) {}
void updateTexImage() {} void updateTexImage() {}
void decStrong(android::sp<android::SurfaceTexture>* const) {} void decStrong(android::sp<android::SurfaceTexture>* const) {}
void incStrong(android::sp<android::SurfaceTexture>* const) {} void incStrong(android::sp<android::SurfaceTexture>* const) {}