This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +0
-21
lines changed Expand file tree Collapse file tree 2 files changed +0
-21
lines changed Original file line number Diff line number Diff line change 3
3
// found in the LICENSE file.
4
4
5
5
#include " impeller/entity/contents/tiled_texture_contents.h"
6
- #include < utility>
7
6
8
7
#include " fml/logging.h"
9
8
#include " impeller/entity/contents/content_context.h"
@@ -109,19 +108,6 @@ bool TiledTextureContents::IsOpaque() const {
109
108
return texture_->IsOpaque ();
110
109
}
111
110
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
-
125
111
bool TiledTextureContents::Render (const ContentContext& renderer,
126
112
const Entity& entity,
127
113
RenderPass& pass) const {
Original file line number Diff line number Diff line change 9
9
#include < memory>
10
10
#include < vector>
11
11
12
- #include " flutter/fml/macros.h"
13
12
#include " impeller/core/sampler_descriptor.h"
14
13
#include " impeller/entity/contents/color_source_contents.h"
15
14
#include " impeller/entity/contents/filters/color_filter_contents.h"
@@ -54,12 +53,6 @@ class TiledTextureContents final : public ColorSourceContents {
54
53
// / much smaller size that its original texture size.
55
54
void SetColorFilter (ColorFilterProc color_filter);
56
55
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
-
63
56
// |Contents|
64
57
std::optional<Snapshot> RenderToSnapshot (
65
58
const ContentContext& renderer,
You can’t perform that action at this time.
0 commit comments