summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)