summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Derek Sollenberger <djsollen@google.com> 2011-09-08 15:01:35 -0400
committer Derek Sollenberger <djsollen@google.com> 2011-09-08 15:03:09 -0400
commit136593f2ea21b1a706d8ff0e6b9817ea42a93b58 (patch)
treec3eafd830611e868e92af54113ed1a42368e8ee8
parentbcb124929a5698e75df5f5859eec28942e437c70 (diff)
Added interface to SurfaceTexture needed by WebKit.
bug: 5239378 Change-Id: I2d84c95c481515621d2b24a36bc213f4ea5d721a
-rw-r--r--include/gui/SurfaceTexture.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gui/SurfaceTexture.h b/include/gui/SurfaceTexture.h
index 2e2c74c921..706ec99a5a 100644
--- a/include/gui/SurfaceTexture.h
+++ b/include/gui/SurfaceTexture.h
@@ -34,6 +34,7 @@ struct SurfaceTexture {
GLenum getCurrentTextureTarget() const { return 0; }
void setBufferCount(int bufferCount) {}
sp<GraphicBuffer> getCurrentBuffer() const { return NULL; }
+ int64_t getTimestamp() { return 0; }
};
static sp<SurfaceTexture> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz)