[tsc-devel] Re: Image cache really necessary?

Ryan Gonzalez | Sat, 06 Jul 2019 05:29:01 UTC

+100 to this, I was thinking about this a while back. Given the average requirements of modern gaming hardware, "able to show a 4096-pixel-sided image" is pretty reasonable.

-- Ryan
https://refi64.com/
On Jul 5, 2019, 11:44 AM -0500, Marvin Gülker , wrote:
> Hi everyone,
>
> I was taking a look at ticket #560 and the related ticket #489. While
> thinking about it, I came to ask myself why TSC even has this image
> cache functionality. After all the years I work with the TSC codebase, I
> still honestly don't know why it exists. So, does anybody have an idea?
> If not, is anybody inherently against removing the image cache?
>
> My only guess for the image cache is that we have some high-resolution
> images in our pixmaps directory. These images maybe once caused problems
> when loaded as a texture directly. Given the code's age I doubt that
> this causes any problems anymore, and the image cache generation is an
> annoyance every user of TSC has experienced. Removing it would not only
> make TSC's startup faster, but also fix all problems with the cache
> going out of sync (and making #560 obsolete -- the ticket describes a
> problem in messing with raw pixels in Downscale_Image(), which looks
> like a rather complex problem).
>
> To give you some data: our largest pixmaps are some level background
> images with a width of 4096 pixels,
> e.g. game/background/beach_island.png and
> game/background/puffy_clouds.png. 4096 pixels sounds like a reasonable
> size to expect from graphics hardware today;
> sf::Texture::getMaximumSize() returns a value over 8000 for my aged
> laptop.
>
> Thoughts?
>
> -quintus
>
> --
> Blog: https://mg.guelker.eu
> _______________________________________________
> tsc-devel mailing list -- …l@l…
> To unsubscribe send an email to …e@l…
_______________________________________________
tsc-devel mailing list -- …l@l…
To unsubscribe send an email to …e@l…
By Thread
2019-07-05 16:44:13Marvin Gülker[tsc-devel] Image cache really necessary?
2019-07-06 05:29:01Ryan Gonzalez[tsc-devel] Re: Image cache really necessary?
2019-07-13 13:41:49Marvin Gülker[tsc-devel] Re: Image cache really necessary?
2019-07-14 11:13:22…x@x…[tsc-devel] Re: Image cache really necessary?
2019-07-14 12:39:00Marvin Gülker[tsc-devel] Re: Image cache really necessary?
2019-07-14 12:55:32Lauri Ojansivu[tsc-devel] Re: Image cache really necessary?
2019-07-14 14:57:58Marvin Gülker[tsc-devel] Re: Image cache really necessary?
2019-07-18 02:03:41Luiji MaryoRe: [tsc-devel] Re: Image cache really necessary?
2019-07-25 20:05:34Marvin Gülker[tsc-devel] Fwd: Re: Re: Image cache really necessary?
By Date
[tsc-devel] Image cache really necessary?Marvin Gülker2019-07-05 16:44:13
[tsc-devel] Re: Image cache really necessary?Ryan Gonzalez2019-07-06 05:29:01
[tsc-devel] Re: Image cache really necessary?Marvin Gülker2019-07-13 13:41:49
[tsc-devel] Re: Image cache really necessary?…x@x…2019-07-14 11:13:22
[tsc-devel] Re: Image cache really necessary?Marvin Gülker2019-07-14 12:39:00
[tsc-devel] Re: Image cache really necessary?Lauri Ojansivu2019-07-14 12:55:32
[tsc-devel] Re: Image cache really necessary?Marvin Gülker2019-07-14 14:57:58
Re: [tsc-devel] Re: Image cache really necessary?Luiji Maryo2019-07-18 02:03:41
[tsc-devel] Fwd: Re: Re: Image cache really necessary?Marvin Gülker2019-07-25 20:05:34