SurfaceTextureClient: remove a deprecated ctor
Change-Id: Ibf2746fdca26851677cd90199c60eab80f6d0c73
This commit is contained in:
parent
3325fe16e6
commit
4def860030
@ -41,12 +41,6 @@ public:
|
|||||||
|
|
||||||
SurfaceTextureClient(const sp<ISurfaceTexture>& surfaceTexture);
|
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;
|
sp<ISurfaceTexture> getISurfaceTexture() const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
@ -41,14 +41,6 @@ SurfaceTextureClient::SurfaceTextureClient(
|
|||||||
SurfaceTextureClient::setISurfaceTexture(surfaceTexture);
|
SurfaceTextureClient::setISurfaceTexture(surfaceTexture);
|
||||||
}
|
}
|
||||||
|
|
||||||
// see SurfaceTextureClient.h
|
|
||||||
SurfaceTextureClient::SurfaceTextureClient(const
|
|
||||||
sp<SurfaceTexture>& surfaceTexture)
|
|
||||||
{
|
|
||||||
SurfaceTextureClient::init();
|
|
||||||
SurfaceTextureClient::setISurfaceTexture(surfaceTexture->getBufferQueue());
|
|
||||||
}
|
|
||||||
|
|
||||||
SurfaceTextureClient::SurfaceTextureClient() {
|
SurfaceTextureClient::SurfaceTextureClient() {
|
||||||
SurfaceTextureClient::init();
|
SurfaceTextureClient::init();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user