зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1729817 - Remove unused TextureClient::PrintInfo(). r=gfx-reviewers,mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D125017
This commit is contained in:
Родитель
be85536c1a
Коммит
1de09d73e8
|
@ -1412,27 +1412,6 @@ already_AddRefed<gfx::DataSourceSurface> TextureClient::GetAsSurface() {
|
|||
return data.forget();
|
||||
}
|
||||
|
||||
void TextureClient::PrintInfo(std::stringstream& aStream, const char* aPrefix) {
|
||||
aStream << aPrefix;
|
||||
aStream << nsPrintfCString("TextureClient (0x%p)", this).get()
|
||||
<< " [size=" << GetSize() << "]"
|
||||
<< " [format=" << GetFormat() << "]"
|
||||
<< " [flags=" << mFlags << "]";
|
||||
|
||||
#ifdef MOZ_DUMP_PAINTING
|
||||
if (StaticPrefs::layers_dump_texture()) {
|
||||
nsAutoCString pfx(aPrefix);
|
||||
pfx += " ";
|
||||
|
||||
aStream << "\n" << pfx.get() << "Surface: ";
|
||||
RefPtr<gfx::DataSourceSurface> dSurf = GetAsSurface();
|
||||
if (dSurf) {
|
||||
aStream << gfxUtils::GetAsLZ4Base64Str(dSurf).get();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void TextureClient::GetSurfaceDescriptorRemoteDecoder(
|
||||
SurfaceDescriptorRemoteDecoder* const aOutDesc) {
|
||||
const auto handle = GetSerial();
|
||||
|
|
|
@ -487,8 +487,6 @@ class TextureClient : public AtomicRefCountedWithFinalize<TextureClient> {
|
|||
*/
|
||||
already_AddRefed<gfx::DataSourceSurface> GetAsSurface();
|
||||
|
||||
virtual void PrintInfo(std::stringstream& aStream, const char* aPrefix);
|
||||
|
||||
/**
|
||||
* Copies a rectangle from this texture client to a position in aTarget.
|
||||
* It is assumed that the necessary locks are in place; so this should at
|
||||
|
|
Загрузка…
Ссылка в новой задаче