Gleb Mazovetskiy
|
b83637add8
|
Use a C array for transparency LUT for debug perf
In a debug build, `std::array` accesses are function calls.
Timedemo on my machine:
* Before: 45.39 seconds 141.3 FPS
* After: 40.20 seconds 159.5 FPS
|
3 years ago |
Gleb Mazovetskiy
|
14e9689e4c
|
sdl_bilinear_scale.cpp: Fix `MixColorsWithAlpha` comment
The previous comment was incorrect and had a typo in the formula.
|
3 years ago |
qndel
|
731ad1ada5
|
use std::rotate (#6019)
|
3 years ago |
Gleb Mazovetskiy
|
37f4d0cb97
|
`CreateHalfSizeItemSprites`: Reuse surfaces
Rather than allocating surfaces on every loop iteration, reuse the same
2 surfaces.
|
3 years ago |
staphen
|
af5dc9ccb6
|
Add item graphics to store menus
|
3 years ago |
Gleb Mazovetskiy
|
a5a8aae368
|
Fix underflow in `BilinearScale32`
Fixes funky hardware cursor colors during fade transitions.
Refs #4206
|
4 years ago |
Gleb Mazovetskiy
|
e627fc8f10
|
Fix alpha blending in `BilinearScale32`
Fixes #4206
|
4 years ago |
Gleb Mazovetskiy
|
1d48dd095d
|
Scale hardware cursor bilinearly
Make the hardware cursor blurry like the rest of the screen.
|
5 years ago |