[Differential] [Request, 51 lines] D1603: change spinner from static images to in-cpu rotation

sitter (Harald Sitter) noreply at phabricator.kde.org
Fri May 13 07:20:39 UTC 2016


sitter created this revision.
sitter added a subscriber: plasma-devel.

REVISION SUMMARY
  performance impact should be negligible eitherway and rotation does
  certainly make for the smoothest result.
  
  - uses a reference image that remains unchanged to rotate from. continued rotation of the same image would degrade the quality eventually turning the image into a blur after a couple of spins and make it outright disappear after a while, hence the reference image
  - from 4 spriteimages down to one, which is always the visible one
  - SpriteImage has a new setter to change the image while also updating forwarded properties (in hindsight these should have bee functions to begin with)
  - reference images gets rotated over 2*π*timebooted (no mod since we can rotate by arbitrarily large radians anyway)

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D1603

AFFECTED FILES
  breeze/breeze.script
  breeze/images/16bit/spinner.png
  breeze/images/16bit/spinner/0.png
  breeze/images/16bit/spinner/1.png
  breeze/images/16bit/spinner/2.png
  breeze/images/16bit/spinner/3.png
  breeze/images/spinner.png
  breeze/images/spinner/0.png
  breeze/images/spinner/1.png
  breeze/images/spinner/2.png
  breeze/images/spinner/3.png

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: sitter
Cc: plasma-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160513/9a0b9c03/attachment-0001.html>


More information about the Plasma-devel mailing list