Skip to content

Commit e91c8d0

Browse files
committed
Added interface to SurfaceTexture needed by WebKit.
bug: 5239378 Change-Id: I2d84c95c481515621d2b24a36bc213f4ea5d721a
1 parent 21e6e2d commit e91c8d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/gui/SurfaceTexture.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ struct SurfaceTexture {
3434
GLenum getCurrentTextureTarget() const { return 0; }
3535
void setBufferCount(int bufferCount) {}
3636
sp<GraphicBuffer> getCurrentBuffer() const { return NULL; }
37+
int64_t getTimestamp() { return 0; }
3738
};
3839

3940
static sp<SurfaceTexture> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz)

0 commit comments

Comments
 (0)