Added interface to SurfaceTexture needed by WebKit.
bug: 5239378 Change-Id: I2d84c95c481515621d2b24a36bc213f4ea5d721a
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user