Adding an optional param to the SurfaceTexture constructor.

Change-Id: I0fdbccf483a16af8039b85c0562f19a34ebce536
This commit is contained in:
Derek Sollenberger 2011-07-29 11:04:51 -04:00
parent 7c95ffbbcc
commit 77c988cf4e

View File

@ -22,7 +22,7 @@ namespace android {
struct SurfaceTexture {
struct FrameAvailableListener : public virtual RefBase {};
SurfaceTexture(GLuint) {}
SurfaceTexture(GLuint, bool allowSynchronousMode = true) {}
void updateTexImage() {}
void decStrong(android::sp<android::SurfaceTexture>* const) {}
void incStrong(android::sp<android::SurfaceTexture>* const) {}