jacob1
29th Sep 2012
16th Mar 2014
Post any bugs you find here. But there aren't as many bugs that are really bugs and I don't already know about than when this first started, so also use this as a general conversation save, or to ask / tell me anything. #1 most commented save in tpt!
problems
jacob1
bugreport
glitch
fix
960847
tptpp
bugs
tptplusplus
glitches
Comments
-
Also PortalPlayer, I have no idea why SDL2 is slightly slower, but I think it's because the software renderer was quick since we already had the entire render ready to give to sdl. in sdl2, I have it going through the accelerated renderer (gpu). I tried this morning to have an option to only use the software renderer, but couldn't get it to work.
-
it's mostly single threaded, but there's a few things in other threads like newtonian gravity, and save / thumbnail downloading in the save browser.
-
I just had a question, is TPT more single threaded or multi-threaded?
-
jacob1: Right, that makes much more sense :) So now I'm wondering why SDL2 would make single scale slower.
-
double scale mode is for sure slower. But, in SDL2 double scale mode is now much faster than it used to be. And single scale mode is slower than it used to be. They are very close in speed in SDL2, they are pretty far apart in SDL 1.2
-
PortalPlayer: My computer has 3.4GHZ CPU and it used to run TPT at 500FPS. Now it runs it at 160FPS max.
-
Now I'm confused. Is double scale supposed to perform better or worse than single? "In double scale mode or higher, it's a lot faster." "it has to draw everything 4 times, making it over 4x slower."
-
because it has to draw everything 4 times, making it over 4x slower. Also I don't remember what issue you are talking about, feel free to open a new one or edit the old one, whatever you feel like doing.
-
jacob1: sure, but how does making everything bigger lead to decreased rendering times? Also, with regards to my previous mentions of grids in persistent display: should I create a new issue or update the one I made for GRAV?
-
Right now when you turn on double scale mode, it does the scaling in software. Actually in TPT's code itself. It draws everything 4 times. In sdl2, I think it does it on the gpu.