Improve scaled down image quality
This commit is contained in:
parent
1f80107005
commit
e20ae17759
2 changed files with 13 additions and 10 deletions
|
|
@ -65,5 +65,5 @@ class ImageResourceDisplay : public ResourceDisplay {
|
|||
unsigned calculate_smallest_mipmap_level();
|
||||
void load_thread_func(unsigned mipmapLevel);
|
||||
void attempt_load_mipmap_in_separate_thread(unsigned mipmapLevel);
|
||||
sk_sp<SkImage> load_frame_with_codec(const std::unique_ptr<SkCodec>& codec, unsigned width, unsigned height, unsigned frameIndexToLoad);
|
||||
sk_sp<SkImage> load_frame_with_codec(const std::unique_ptr<SkCodec>& codec, unsigned mipmapLevel, unsigned frameIndexToLoad);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue