mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1757123 - Remove BufferTextureData::RestoreOriginalDescriptor() r=gfx-reviewers,jrmuizel
RestoreOriginalDescriptor() is not used since Bug 1750858 fix. Differential Revision: https://phabricator.services.mozilla.com/D139678
This commit is contained in:
parent
c0538156f9
commit
1145ad3b4c
@ -54,8 +54,6 @@ class BufferTextureData : public TextureData {
|
||||
|
||||
BufferTextureData* AsBufferTextureData() override { return this; }
|
||||
|
||||
virtual void RestoreOriginalDescriptor() {}
|
||||
|
||||
Maybe<gfx::IntSize> GetYSize() const;
|
||||
|
||||
Maybe<gfx::IntSize> GetCbCrSize() const;
|
||||
|
@ -81,8 +81,6 @@ bool YCbCrTextureClientAllocationHelper::IsCompatible(
|
||||
BufferTextureData* bufferData =
|
||||
aTextureClient->GetInternalData()->AsBufferTextureData();
|
||||
|
||||
bufferData->RestoreOriginalDescriptor();
|
||||
|
||||
if (!bufferData ||
|
||||
!bufferData->GetPictureRect().IsEqualEdges(mData.GetPictureRect()) ||
|
||||
bufferData->GetYSize().isNothing() ||
|
||||
|
Loading…
Reference in New Issue
Block a user