summaryrefslogtreecommitdiff
path: root/inc/common/files.h
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2013-03-30 20:08:14 +0400
committerAndrey Nazarov <skuller@skuller.net>2013-03-30 20:08:14 +0400
commit459f16a43cda5e582052456affe682934bcd01ff (patch)
treec2e0ad233c5317933b780016a6c8d5ab8066d468 /inc/common/files.h
parent7040cc8d347773c718dd69e4e36fa3f002250f78 (diff)
Allow upscaling of PCX images using HQ4x filter.
Upscale 4x when ‘gl_upscale_pcx’ is set to 2. Remove unused rules from HQ2x blending routine, reorder existing rules for compatibility with HQ4x. Rename rules to make their weights obvious. Optimize HQx initialization routine, skip entirely when ‘gl_upscale_pcx’ is set to 0. Add ‘hqx_y’, ‘hqx_cb’ and ‘hqx_cr’ console variables for fine-tuning the HQx algorithm. Avoid performance bottleneck when scrap texture is uploaded several times in a row. Delay scrap uploading until the next drawing call.
Diffstat (limited to 'inc/common/files.h')
0 files changed, 0 insertions, 0 deletions