Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit c2334c4

Browse files
committed
remove tiled texture contents API.
1 parent 5bdf221 commit c2334c4

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

impeller/entity/contents/tiled_texture_contents.cc

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// found in the LICENSE file.
44

55
#include "impeller/entity/contents/tiled_texture_contents.h"
6-
#include <utility>
76

87
#include "fml/logging.h"
98
#include "impeller/entity/contents/content_context.h"
@@ -109,19 +108,6 @@ bool TiledTextureContents::IsOpaque() const {
109108
return texture_->IsOpaque();
110109
}
111110

112-
const std::shared_ptr<Texture>& TiledTextureContents::GetTexture() const {
113-
return texture_;
114-
}
115-
116-
const SamplerDescriptor& TiledTextureContents::GetSamplerDescriptor() const {
117-
return sampler_descriptor_;
118-
}
119-
120-
std::pair<Entity::TileMode, Entity::TileMode>
121-
TiledTextureContents::GetTileModes() const {
122-
return std::make_pair(x_tile_mode_, y_tile_mode_);
123-
}
124-
125111
bool TiledTextureContents::Render(const ContentContext& renderer,
126112
const Entity& entity,
127113
RenderPass& pass) const {

impeller/entity/contents/tiled_texture_contents.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#include <memory>
1010
#include <vector>
1111

12-
#include "flutter/fml/macros.h"
1312
#include "impeller/core/sampler_descriptor.h"
1413
#include "impeller/entity/contents/color_source_contents.h"
1514
#include "impeller/entity/contents/filters/color_filter_contents.h"
@@ -54,12 +53,6 @@ class TiledTextureContents final : public ColorSourceContents {
5453
/// much smaller size that its original texture size.
5554
void SetColorFilter(ColorFilterProc color_filter);
5655

57-
const std::shared_ptr<Texture>& GetTexture() const;
58-
59-
const SamplerDescriptor& GetSamplerDescriptor() const;
60-
61-
std::pair<Entity::TileMode, Entity::TileMode> GetTileModes() const;
62-
6356
// |Contents|
6457
std::optional<Snapshot> RenderToSnapshot(
6558
const ContentContext& renderer,

0 commit comments

Comments
 (0)