Build 5911
SVN-
Clear wsprinfo[] upon map load. This should address some remaining instances of wall-ornamented sprite z-fighting.
Nickname SVN e nomi Git sono unificati per persona.
Clear wsprinfo[] upon map load. This should address some remaining instances of wall-ornamented sprite z-fighting.
Factor out the ETC block preparation by moving the ETC function decision from Polymost_SendTexToDriver into Polymost_PickETCFunction.
Allow compressed ART tiles (r_texcompr 2) to be cached.
Tweak the "don't upload textures with dimension > xdim" GL ES rule to limit to the power of two greater than xdim instead of less than it.
Clean up and rearrange some texcache code. No functional changes.
Call texcache_calcid once per texture instead of twice. Clean it up a little while we're at it.
Fix shading on ART tiles with fullbrights displayed without masking, such as on a whitewall.
Add r_texcompr 2, which compresses ART in addition to hightile.
Add HICR_ARTIMMUNITY and DAMETH_ARTIMMUNITY, which currently function identically to NOTEXCOMPRESS and NODOWNSIZE combined, and are only used when:
1. Using an ART tile 2. Using a hightile defined through the tilefromtexture "texture" subtoken 3. Using a hightile that, if downsized, will be smaller than the ART tile for that tilenum (tenuous)
Refactor all GL internal texture format decision making into uploadtexture().
This directly achieves the following: * Eliminated codedup. * Recently introduced GL ES performance downsampling now applies to model skins. * Replaces the alpha/art format distinction with {RGB/no alpha, RGBA/one-bit alpha (ART transparency), RGBA/full alpha}. * Cleanly allows multiple fallback formats for each type. * Ready for further commits.