diff options
author | Błażej Szczygieł <spaz16@wp.pl> | 2016-02-08 15:02:17 +0100 |
---|---|---|
committer | Błażej Szczygieł <spaz16@wp.pl> | 2016-02-12 16:20:36 +0000 |
commit | 8dc55367ca3993f465f270ef79c2cb212d821d0c (patch) | |
tree | d9e83ceb9786575f2f5a7b826fd4ef3836039b33 /src/corelib/json/qjsonparser_p.h | |
parent | 2ee75416169ba9cda8a021b119c4c217599d03b9 (diff) |
QtGui: Avoid rgba64->rgba32 conversion on every pixel in gradient
Convert rgba64 color table to a new rgb32 color table only once. Use
this cache when required.
This patch can 2x speed up gradient painting using 32bit color format.
Task-number: QTBUG-50930
Change-Id: I9212e01e397c2e0127cdf3070cc49880a2d8df88
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'src/corelib/json/qjsonparser_p.h')
0 files changed, 0 insertions, 0 deletions