Skip to content

Commit c962512

Browse files
Jean-Baptiste QueruAndroid Code Review
authored andcommitted
Merge "added stub for getting buffer from surface texture"
2 parents 6f5a837 + 311ffe3 commit c962512

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)