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
There is no dark side in the moon, really...
Developer
Developer
Posts: 4627
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Precache GL Textures Question

Post by Enjay » Tue Nov 05, 2013 20:22

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 » Wed Nov 06, 2013 9:25

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
There is no dark side in the moon, really...
Developer
Developer
Posts: 4627
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: Precache GL Textures Question

Post by Enjay » Wed Nov 06, 2013 19:26

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?

User avatar
Blue Shadow
Global Moderator
Global Moderator
Posts: 307
Joined: Sun Aug 29, 2010 6:09

Re: Precache GL Textures Question

Post by Blue Shadow » Wed Nov 06, 2013 20:27


User avatar
Enjay
There is no dark side in the moon, really...
Developer
Developer
Posts: 4627
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: Precache GL Textures Question

Post by Enjay » Wed Nov 06, 2013 21:10

Ah, that'll be it. Thanks.

Locked

Return to “GZDoom”