Precache GL Textures Question

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Precache GL Textures Question

Post by Enjay »

I've been wondering: when precaching textures, what does GZDoom do? Does it do something like decompress textures to RAM, or are they written in a "quick access format" to the HD (and if so, where?) or what is going on? Thanks.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Precache GL Textures Question

Post by Graf Zahl »

Precaching means that the hardware texture objects are created when the level starts, not when they are first needed to reduce texture upload time during gameplay.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: Precache GL Textures Question

Post by Enjay »

Thanks for the answer and that certainly makes sense and ties in with what I've seen when using the feature.

Part of what prompted the question was that I'd seen a folder called "zdoom" in my AppData/Local folder. Inside that there were sub folders which had the names of some of the mods that I have run. Given that it seems this was nothing to do with texture caching, any idea what that folder is about?
Blue Shadow
Global Moderator
Global Moderator
Posts: 308
Joined: Sun Aug 29, 2010 6:09

Re: Precache GL Textures Question

Post by Blue Shadow »

User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: Precache GL Textures Question

Post by Enjay »

Ah, that'll be it. Thanks.
Locked

Return to “GZDoom”