diff options
author | Julian Eisel <julian@blender.org> | 2022-01-17 20:02:29 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2022-01-17 20:26:10 +0300 |
commit | aa0ecd17918d5f1c3ce684f8f14b6aa7080ea9e1 (patch) | |
tree | da4beec20121acc32c54683a39277665f9f31633 /source/blender/editors/space_file/file_draw.c | |
parent | 4d10a46e6368f0b48a901325b94ebd43b672db32 (diff) |
UI: Speed up icon scaling
Use GPU-side scaling to speed up the scaling itself, and to avoid having
to copy the image buffer using the CPU. Mipmapping is used to get decent
filtering when downscaling without ugly artifacts.
In my comparisons, there was barely any difference between the methods
for DPIs >= 1. Below that, the result looks a bit different due to the
different filtering method.
See D13144 for screen-recordings showing the difference.
Part of T92922.
Differential Revision: https://developer.blender.org/D13144
Reviewed by: Jeroen Bakker
Diffstat (limited to 'source/blender/editors/space_file/file_draw.c')
0 files changed, 0 insertions, 0 deletions