tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 19bce43f2de1cc0b5846efcf25d638289743ca87
parent abb0b791ea88df4c712ccff3b0e83dfc093f5a1b
Author: Sotaro Ikeda <sotaro.ikeda.g@gmail.com>
Date:   Wed, 19 Nov 2025 22:52:28 +0000

Bug 2001088 - Remove unused D3D11TextureData::Create() r=gfx-reviewers,lsalzman

Differential Revision: https://phabricator.services.mozilla.com/D273199

Diffstat:
Mgfx/layers/d3d11/TextureD3D11.cpp | 7-------
Mgfx/layers/d3d11/TextureD3D11.h | 3---
2 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/gfx/layers/d3d11/TextureD3D11.cpp b/gfx/layers/d3d11/TextureD3D11.cpp @@ -454,13 +454,6 @@ D3D11TextureData* D3D11TextureData::Create(IntSize aSize, SurfaceFormat aFormat, return Create(aSize, aFormat, nullptr, aFlags, aDevice); } -D3D11TextureData* D3D11TextureData::Create(SourceSurface* aSurface, - TextureAllocationFlags aFlags, - ID3D11Device* aDevice) { - return Create(aSurface->GetSize(), aSurface->GetFormat(), aSurface, aFlags, - aDevice); -} - D3D11TextureData* D3D11TextureData::Create(IntSize aSize, SurfaceFormat aFormat, SourceSurface* aSurface, TextureAllocationFlags aFlags, diff --git a/gfx/layers/d3d11/TextureD3D11.h b/gfx/layers/d3d11/TextureD3D11.h @@ -64,9 +64,6 @@ class D3D11TextureData final : public TextureData { gfx::SurfaceFormat aFormat, TextureAllocationFlags aAllocFlags, ID3D11Device* aDevice = nullptr); - static D3D11TextureData* Create(gfx::SourceSurface* aSurface, - TextureAllocationFlags aAllocFlags, - ID3D11Device* aDevice = nullptr); static already_AddRefed<TextureClient> CreateTextureClient( ID3D11Texture2D* aTexture, uint32_t aIndex, gfx::IntSize aSize,