Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c962512c authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by Android Code Review
Browse files

Merge "added stub for getting buffer from surface texture"

parents 6f5a837c 311ffe37
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@ struct SurfaceTexture {
    void setSynchronousMode(bool) {}
    GLenum getCurrentTextureTarget() const { return 0; }
    void setBufferCount(int bufferCount) {}
    sp<GraphicBuffer> getCurrentBuffer() const { return NULL; }
};

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