Skip to content

Commit 311ffe3

Browse files
committed
added stub for getting buffer from surface texture
Change-Id: If61153cacdd8027848f40f8d9035f7c4aead0a98
1 parent 6f5a837 commit 311ffe3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/gui/SurfaceTexture.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ struct SurfaceTexture {
3131
void setSynchronousMode(bool) {}
3232
GLenum getCurrentTextureTarget() const { return 0; }
3333
void setBufferCount(int bufferCount) {}
34+
sp<GraphicBuffer> getCurrentBuffer() const { return NULL; }
3435
};
3536

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

0 commit comments

Comments
 (0)