added stub for getting buffer from surface texture

Change-Id: If61153cacdd8027848f40f8d9035f7c4aead0a98
This commit is contained in:
Chris Craik 2011-08-11 11:56:59 -07:00
parent c6d6863c9b
commit f81c168a7a

View File

@ -31,6 +31,7 @@ struct SurfaceTexture {
void setSynchronousMode(bool) {} void setSynchronousMode(bool) {}
GLenum getCurrentTextureTarget() const { return 0; } GLenum getCurrentTextureTarget() const { return 0; }
void setBufferCount(int bufferCount) {} void setBufferCount(int bufferCount) {}
sp<GraphicBuffer> getCurrentBuffer() const { return NULL; }
}; };
static sp<SurfaceTexture> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz) static sp<SurfaceTexture> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz)