am 5b98d3a7: am e91c8d04: Added interface to SurfaceTexture needed by WebKit.

* commit '5b98d3a70d64c46b8d925415a30a7a7d8453d866':
  Added interface to SurfaceTexture needed by WebKit.
This commit is contained in:
Derek Sollenberger
2011-09-11 07:41:37 -07:00
committed by Android Git Automerger

View File

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