hiker
a7a3f2b137
Fixed typo in profiler call.
2017-08-11 17:10:28 +10:00
hiker
e7f8cc7239
Added profiling events for playing network events.
2017-08-11 09:50:08 +10:00
hiker
4c0ffdb055
Added profiling events for ProtocolManager.
2017-08-11 09:48:34 +10:00
hiker
aa757637ec
Added more profiling events for rewinding.
2017-08-11 09:46:30 +10:00
hiker
379a9db3c9
Merge remote-tracking branch 'origin/fix-profiler' into game_protocol
2017-08-09 17:43:14 +10:00
hiker
28890aad33
Merge branch 'master' into game_protocol
...
Some minor changes to make code easier to read.
2017-08-09 09:50:46 +10:00
hiker
0acda38987
Add profiling events to sfx manager, but they are commented out
...
by default (using preprocessor directives), since they are typically
not useful.
2017-08-08 16:44:55 +10:00
hiker
6a0fb83209
Clear existing events when the circular buffer wraps around.
2017-08-08 16:36:54 +10:00
hiker
d29d2b831f
Only use start and end time for thread 0, since all other threads
...
might not have valid start and end times (since they can record
several identical events during one frame). Bars for all other
threads can therefore not be nested.
2017-08-08 16:09:49 +10:00
hiker
887814ea98
Fixed incorrect start and end time setting when synchronising
...
frames. Only use thread 0's start and end time to compute the
duration (since other threads might have multiple identical
events during one frame, resulting in incorrect start times).
2017-08-08 16:08:15 +10:00
hiker
6783ab26f8
Keep a list of all event names in the order in which they first
...
appear. This list allows the proper ordering of events when drawing
the bar chart to show nesting. Make sure that enabling the profiler
starts at the next synch point (to avoid incomplete event pairs).
Create a seprate output file for each thread.
2017-08-07 17:53:15 +10:00
Deve
b6df36fc39
Don't hardcode build-tools version
2017-08-06 23:15:08 +02:00
Deve
bc6ff38b22
Simplify light factor when advanced lighting is disabled.
...
In this case only diffuseMatColor really matters, other values are constant.
It improves performance on GLES renderer and it's also noticeably faster for GL on desktop.
For example:
- fps increased for me from 60 to 69 on Hacienda with intel HD 4000
- from 43 to 49 on lighthouse
There is much less difference on nvidia graphics card, but still it gives small performance improvement.
2017-08-06 22:18:18 +02:00
Geoffrey Mon
a73af6eb0d
Save and use usernames in replay files ( #2754 ) ( #2893 )
...
* Save and use usernames in replay files
Fixes #2754 .
* Store usernames of each racer in recorded replay files
* Display those usernames in a column of the replay selection UI
and in race result dialogs
* RaceResultGUI::getKartDisplayName functionality moved into
Controller::getName
* Move Controller::getName definition to avoid unnecessary #include
* Backwards compatibility: use kart name if username is not in replay
* Fix code style issues
2017-08-03 19:51:42 -04:00
hiker
623bb460c6
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-08-03 21:23:32 +10:00
hiker
04c775eead
Don't measure lock time, some whitespace cleanup.
2017-08-03 21:21:40 +10:00
Deve
1d2ff0bc47
Remove more unused files
2017-08-02 22:03:01 +02:00
Deve
e9496caa71
Merge pull request #2892 from qwertychouskie/cleanup2
...
Cleanup V2
2017-08-02 21:49:58 +02:00
Benau
ac406e1e00
Fix #2891
2017-08-03 01:34:35 +08:00
Qwerty Chouskie
14ea69dc90
Cleanup V2
2017-08-02 09:29:15 -07:00
hiker
203995262c
Exclude the time to get the lock from profile measurements.
2017-08-02 22:40:19 +10:00
hiker
d8fe700f64
Don't store data when the profiler is disabled.
2017-08-02 08:48:01 +10:00
hiker
d800a8c0bc
Made everything threadsafe.
2017-08-02 08:34:43 +10:00
hiker
ea12c8f494
Very first version of profiler that supports multiple threads
...
and handles events in branches better.
2017-07-31 22:56:47 +10:00
hiker
47d2e30c5f
Fixed compiler warnings.
2017-07-31 22:56:00 +10:00
Deve
a89b2f5df2
Minor tweak for linux icon.
...
On freedesktop specs they suggest to use 48x48 icon.
2017-07-30 12:56:25 +02:00
Deve
7d4fbb8d0c
Minor modification in play tutorial text. Fixes #2535
2017-07-29 00:43:17 +02:00
hiker
fdd551a730
Fixed debug compilation.
2017-07-24 23:56:34 +10:00
hiker
ea3f9f8945
Merge branch 'master' into game_protocol
2017-07-24 21:12:36 +10:00
hiker
46bc3493b4
Coding style changes to profiler. Replaced ";" as separator with " "
...
(which is gnuplot friendly), and also added column number to header
to make it easier to know which column is what field.
2017-07-24 16:54:45 +10:00
hiker
48de916f68
Added non-interpolated physics position to debug output.
2017-07-24 16:53:51 +10:00
QwertyChouskie
0be10ce448
Fix MinGW cross-compilation ( #2883 )
...
* Fix MinGW x64 cross-compilation
* Fix MinGW x86 cross-compilation
2017-07-22 20:17:31 -04:00
Benau
979e1546fb
Fix #2881 , only create a camera when initializing
2017-07-21 09:27:57 +08:00
auria.mg
1770d01e07
Changelog, continued
2017-07-20 19:57:42 -04:00
auria.mg
b2fd3d341a
Changelog
2017-07-20 19:50:46 -04:00
Deve
09a735c25e
Use key names in android device too
2017-07-20 22:58:12 +02:00
Deve
7a92708fd3
Use key names in wayland device
2017-07-20 22:58:12 +02:00
Deve
0dba3c8f67
Add a prefix to irrlicht key codes
2017-07-20 22:58:11 +02:00
Benau
10909b9556
Remove m_scale_rtts_factor == 1.0f in image quality for now
...
Because not working in advanced pipeline
2017-07-20 10:19:30 +08:00
samuncle
a3d6f2f453
Start to update the changelog for the release (please add/correct if needed)
2017-07-19 19:35:04 +02:00
Deve
11b2409fab
Activate accelerometer only if needed
2017-07-18 21:43:45 +02:00
Deve
20850c9811
Remove unused cmake option
2017-07-18 00:11:09 +02:00
Deve
bbee93dfe8
Update readme and generate_assets script.
...
The issues on android 4.4 + qualcomm should be already fixed in 8653d410f8
and d44802a482
I also added few lightweight tracks and karts to the apk
2017-07-14 22:04:52 +02:00
Deve
cbba2b6b7d
Merge pull request #2880 from scootergrisen/patch-2
...
Add danish translation
2017-07-14 06:21:38 +02:00
scootergrisen
cb8e0d7b2a
Add danish translation
2017-07-14 00:40:56 +02:00
Deve
d44802a482
Add a workaround for some qualcomm devices on android 4.4
2017-07-11 00:37:31 +02:00
Deve
70c481cb26
Add a possibility to set android version in graphics restrictions.
2017-07-10 22:54:38 +02:00
Deve
1fd6a8aa86
Make sure that we are not using files from our zlib/libpng when STK is compiled with shared libraries.
...
It's possible that STK was using these files for compilation when cmake was run from main directory. In this case compiled files are stored in stk-code/lib, so that CMAKE_CURRENT_BINARY_DIR is stk-code/lib/irrlicht rather than stk-code/build/lib/irrlicht and we include whole lib/libpng rather than non-existing directory.
2017-07-10 21:14:28 +02:00
Benau
8653d410f8
Option 1 for fixing android 4.4
...
Reinit vertex attribute pointer each time, performance may hurt
2017-07-09 00:46:42 +08:00
QwertyChouskie
7b185ce2f1
Add new GPwin cutscene ( #2875 )
...
* Add new cutscene
* Cleanup
* Make all podiums arrive at the same time
2017-07-06 20:54:42 -04:00