Subversion Repositories eduke32


Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
5055 2255d 9h hendricks266 /polymer/eduke32/build/src/texcache.c Change HICTINT_USEONART so that it applies tints to pal 0 of 8-bit tiles instead of their palswapped selves. Add HICTINT_APPLYOVERPALSWAP which applies tints to palswapped 8-bit tiles. Add HICTINT_APPLYOVERALTPAL, which applies tints to alt-pals of hightile textures.  
4997 2282d 0h terminx /polymer/eduke32/build/src/texcache.c A whole bunch of mostly insignificant changes that didn't deserve separate commits. DONT_BUILD.  
4752 2362d 17h terminx /polymer/eduke32/build/src/texcache.c Minor cleanups, mostly just formatting. DONT_BUILD.  
4669 2391d 2h terminx /polymer/eduke32/build/src/texcache.c Fix warnings in texcache  
4666 2391d 2h terminx /polymer/eduke32/build/src/texcache.c Minor texcache cleanup. Nukes the hilarious MAXTILES<<1 sized array of pointers in the global texcache struct.  
4661 2391d 2h terminx /polymer/eduke32/build/src/texcache.c Additional engine cleanups and optimizations. About as generic as it sounds. Also changes internal dummytile/tilefromtexture behavior so that the LZ4 compressed version of a texture is kept and the cache1d entries associated with the tiles can expire, like any other tile.  
4639 2416d 1h terminx /polymer/eduke32/build/src/texcache.c Misc additional optimizations, mostly to polymost/mdsprite. Also separate voxmodel into its own source file and object. This commit is pretty large because I was hitting the limit of what could realistically be carved up into smaller patches. DONT_BUILD.  
4623 2416d 1h terminx /polymer/eduke32/build/src/texcache.c More Polymost cleanup, also consolidate tilesizx and tilesizy into a single tilesiz vec2_t to ensure both x and y are always in the same cache line. I may add a new vec2_16t later. Still need to take care of emulating the old flat array for the sake of CON access.  
4605 2416d 1h terminx /polymer/eduke32/build/src/texcache.c First commit for "Polymost.f", the single precision floating point conversion and optimization of Polymost. This work was primarily done for ARM but it also doubled the framerate on "Clear the Coast" on my i7.  
4546 2485d 18h hendricks266 /polymer/eduke32/build/src/texcache.c Handle a concern kludged by SlackBuilds (used by Slackware Linux and NetBSD) where a warning in texcache.c spams the log.  
4498 2536d 17h helixhorned /polymer/eduke32/build/src/texcache.c Polymost: r_npotwallmode, emulating 8-bit for walls w/ nonpow2 height textures.

When that mode is enabled (see below for caveats), wall textures that have a
non-power-of-two height (call it 'h') will be modified to look like in classic:
Let 'H' be the next power of two greater than 'h'. The texture will be uploaded
with height 'H', made up from 'h' hlines of the original texture, followed by
'H'-'h' first hlines of the same.
No panning "corrections" will take place. The mode is disabled by default.

* the mode requires that r_hightile is disabled
* it is not implemented in Polymer
* in the Lunatic build, it is ineffective when a VX map is loaded, as those
display walls with NPOT height textures correctly
4491 2539d 5h helixhorned /polymer/eduke32/build/src/texcache.c Bye, bye, B*alloc(), all hail X*alloc()! Replace large portion of the calls...

... and cull code that is dead with the X*alloc() versions since they never
return NULL on requesting memory.

Use something like
git grep '[^Xx]\(m\|c\|re\)alloc *('
git grep '[^Xx]strdup *('
to see places where I left the B*alloc() calls intact.

4489 2539d 5h helixhorned /polymer/eduke32/build/src/texcache.c A couple of stylistic cleanups and missed DAMETH_* flags substitutions.  
4488 2540d 7h helixhorned /polymer/eduke32/build/src/texcache.c Miscellaneous cleanup, still with the same suspects...

- in mdloadskin() and gloadtile_hi(), use new function check_nonpow2()
(bit-twiddling) instead of loop
- Replace a couple of missed literals with CACHEAD_* enum labels
4486 2540d 7h helixhorned /polymer/eduke32/build/src/texcache.c Replace various GL rendering related literal flags with enum labels.

- pthtyp pth->flags bits
- Flags of the <dameth> argument of various functions
- hictinting[].f / gloadtile_hi() and daskinloader() <effect> arg bits
- hicreplctyp hicr->flags bits
- texcacheheader cachead.flags bits
4406 2599d 16h helixhorned /polymer/eduke32/build/src/texcache.c Minor Polymost code cleanup.

- factor out eligible_for_tileshades()
- remove some rendmode 1 code
- move some auto vars further down
4387 2607d 20h terminx /polymer/eduke32/build/src/texcache.c Add xxHash (, a faster alternative to CRC32, and implement it in a few places. This is around 20-30% faster than CRC32 for me (it's also implemented into the "fileinfo" console command, so you can test for yourselves). I didn't have time to gather up all of the files supported by the startup window so this isn't used there yet. Additionally, this is by the same author as the LZ4 compression library we already use.  
4317 2647d 18h hendricks266 /polymer/eduke32/build/src/texcache.c Very minor changes after an investigation into the possibility of Polymost on Wii.  
4316 2647d 18h hendricks266 /polymer/eduke32/build/src/texcache.c Replace QuickLZ with LZ4.  
4096 2769d 7h helixhorned /polymer/eduke32/build/src/texcache.c Fix OpenGL texture cache "leak" and slightly tweak hash string construction.

The leak happened because a struct was hashed that had uninitialized
bytes in padding inserted by the compiler. The hash string in now constructed
as concatenation of three CRC32s as 8-byte hex strings, i.e. the individual
CRC32s are padded with leading zeros.

Note to users: because of the hash change, it's sensible to delete the
'textures' and 'textures.cache' files.

Show All