Merge "SurfaceTextureClient: remove a deprecated ctor"
This commit is contained in:
commit
3c1ada9822
@ -41,12 +41,6 @@ public:
|
||||
|
||||
SurfaceTextureClient(const sp<ISurfaceTexture>& surfaceTexture);
|
||||
|
||||
// SurfaceTextureClient is overloaded to assist in refactoring ST and BQ.
|
||||
// SurfaceTexture is no longer an ISurfaceTexture, so client code
|
||||
// calling the original constructor will fail. Thus this convenience method
|
||||
// passes in the surfaceTexture's bufferQueue to the init method.
|
||||
SurfaceTextureClient(const sp<SurfaceTexture>& surfaceTexture);
|
||||
|
||||
sp<ISurfaceTexture> getISurfaceTexture() const;
|
||||
|
||||
protected:
|
||||
|
@ -41,14 +41,6 @@ SurfaceTextureClient::SurfaceTextureClient(
|
||||
SurfaceTextureClient::setISurfaceTexture(surfaceTexture);
|
||||
}
|
||||
|
||||
// see SurfaceTextureClient.h
|
||||
SurfaceTextureClient::SurfaceTextureClient(const
|
||||
sp<SurfaceTexture>& surfaceTexture)
|
||||
{
|
||||
SurfaceTextureClient::init();
|
||||
SurfaceTextureClient::setISurfaceTexture(surfaceTexture->getBufferQueue());
|
||||
}
|
||||
|
||||
SurfaceTextureClient::SurfaceTextureClient() {
|
||||
SurfaceTextureClient::init();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user