Clear image cache when tabbing out of canvas
This commit is contained in:
parent
c7024578af
commit
1f80107005
9 changed files with 32 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ class ImageResourceDisplay : public ResourceDisplay {
|
|||
virtual float get_dimension_scale() const override;
|
||||
virtual Type get_type() const override;
|
||||
virtual void camera_view_update(const CoordSpaceHelper& compCoords, const SCollision::AABB<WorldScalar>& compAABB, const DrawData& drawData, const SkRect& imRect) override;
|
||||
virtual void clear_cache() override;
|
||||
virtual ~ImageResourceDisplay() override;
|
||||
|
||||
static int IMAGE_LOAD_THREAD_COUNT_MAX;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue