commit | 2a2325b0699615424fc557f8d6db2190dd304048 | [log] [tgz] |
---|---|---|
author | Phillip Webb <pwebb@pivotal.io> | Tue Dec 22 10:50:14 2015 +0000 |
committer | Lakshmi Shanmugam <lshanmug@in.ibm.com> | Fri Dec 14 00:49:43 2018 -0500 |
tree | 949659c1d5eb5a14830b64b3a8609d17af6bc842 | |
parent | 4490549bb9093dc44dc579a5947718c93cc5a4ec [diff] |
Bug 366471 - Improve OSX scroll performance with drawText caching Add caching to GC.drawText to prevent multiple calls with the same single character from needed to perform expensive layout operations. Any call to GC.drawText() that is rendering a single character on a transparent background is now a cache candidate. The cache is limited to 20 items and is specifically designed to work well with classes such as WhitespaceCharacterPainter which frequently call drawText() but operate with a relatively small set of characters. Change-Id: I0ac4e3478e212ba5e410c5a06a6827279143f7be Also-by: Karsten Thoms <karsten.thoms@itemis.de> Signed-off-by: Phillip Webb <pwebb@pivotal.io>
Thanks for your interest in this project.
See the following description for how to contribute a feature or a bug fix to SWT.
Information regarding source code management, builds, coding standards, and more and be found under the following link.
Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).
Contact the project developers via the project's “dev” list.
This project uses Bugzilla to track ongoing development and issues.
Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!