Don't recreate ImageDataItem texture unless needed
ClosedPublic

Authored by davidllewellynjones on Feb 27 2020, 9:04 AM.

Details

Summary

Submitting on behalf of Joona Petrell.

This change improves performance by only updating the image texture if the image data changes.

Diff Detail

Repository
R8 Calligra
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
Restricted Application added a subscriber: Calligra-Devel-list. · View Herald TranscriptFeb 27 2020, 9:04 AM
davidllewellynjones requested review of this revision.Feb 27 2020, 9:04 AM
leinir accepted this revision.Feb 27 2020, 9:08 AM

That's a very good idea, yes, go for it! :)

This revision is now accepted and ready to land.Feb 27 2020, 9:08 AM
pvuorela accepted this revision.Feb 27 2020, 1:35 PM
pvuorela added a subscriber: pvuorela.

Looking good.

This revision was automatically updated to reflect the committed changes.