Commit Graph

2105 Commits

Author SHA1 Message Date
milek7
9e7c528114 make legacy gl2.0 work without BaseVertex extensions 2021-01-22 22:19:23 +01:00
milek7
78a15bf527 fix swapped arguments to glUniformBlockBinding 2021-01-22 19:07:30 +01:00
milek7
839b2116df fixes in imgui gl2 interaction with renderers 2021-01-22 02:36:49 +01:00
milek7
8ec29babf9 improve context creation, add gfx.gldebug 2021-01-22 00:26:29 +01:00
Piotr
d901177489 MacOS native build fixes (#9)
* Added fWindowXScale and fWindowYScale to support retina/hi-res displays on MacOS

* Fixed mouse handling for hi-res/retina displays on MacOS with legacy renderer

* Gated glfwGetWindowContentScale with endif checking glfw version
2021-01-21 23:39:28 +01:00
milek7
ee3e94bd35 add macos imgui gl2 build to CI 2021-01-21 23:28:34 +01:00
milek7
7cacab0dc8 add gfx.angleplatform ini setting 2021-01-21 22:15:57 +01:00
milek7
1374dec99c imgui2 fix, relax GL context requirements for legacy mode 2021-01-21 20:23:53 +01:00
milek7
0aa4293a5a cleanup imgui impl include as we're using glad anyway 2021-01-21 19:57:47 +01:00
milek7
56eba08a6f CI shader validation 2021-01-21 15:51:03 +01:00
milek7
3a3104a521 gles tweak 2021-01-21 02:37:43 +01:00
milek7
edd218e880 don't need to check for clip origin in imgui (check wasn't correct for GLES anyway) 2021-01-21 00:40:39 +01:00
milek7
4e868288ee add support for ETC2_EAC in .ktx files 2021-01-20 22:46:52 +01:00
milek7
d5fadaf98c properly check for gles multisampling 2021-01-20 19:49:36 +01:00
milek7
5aa8dfe1a1 use DrawElementsBaseVertexOES if available 2021-01-20 19:39:05 +01:00
milek7
f0b364bafe basic GLES working again 2021-01-20 19:29:50 +01:00
milek7
97d6547824 log simulation timestamp, add highp int precision to gles shaders 2021-01-20 18:06:37 +01:00
milek7
809f0c2077 macos tweaks 2021-01-19 20:38:27 +01:00
milek7
5fcd108b3d add MacOS ARM64 to CI builds 2021-01-19 15:47:33 +01:00
milek7
bba6c8410c try to fix MacOS CI 2021-01-18 22:52:15 +01:00
milek7
d08146ed5b pantograph PhysicalLayout fiz entry 2021-01-18 02:15:11 +01:00
milek7
d096c52b5b energy meter tweaks 2021-01-16 22:55:57 +01:00
milek7
5d130c7fcf ..obviously only for vehicles that have pantographs at all 2021-01-16 19:52:30 +01:00
milek7
fdafcbc9be energy counter for electric traction vehicles 2021-01-16 19:31:48 +01:00
milek7
f481fbb7cc restore (presumably) correct sun/moon sizes 2020-12-02 02:40:07 +01:00
milek7
a182eec2a1 slightly better ui scaling 2020-12-02 01:49:58 +01:00
milek7
ee5551a424 try to improve motion blur 2020-12-01 01:45:48 +01:00
milek7
c004047276 Revert "zero future matrix for current vehicle"
This reverts commit c10c7e8fab.
2020-11-30 22:25:16 +01:00
milek7
c10c7e8fab zero future matrix for current vehicle 2020-11-30 22:13:10 +01:00
milek7
6a18494379 let's try random macos fix 2020-11-23 22:59:33 +01:00
milek7
1f489b164f cmake libpng search tweaks 2020-11-23 22:11:04 +01:00
milek7
09d5c0ede9 macos CI fixes 2020-11-23 21:52:28 +01:00
milek7
06793f2b77 Revert "remove macos CI for now"
This reverts commit 0173d316c6.
2020-11-23 21:45:52 +01:00
milek7
c3b596ed29 cache audio listener position 2020-11-19 17:02:34 +01:00
milek7
21ef95a0a8 vr: compute shadow bounding area for both eyes 2020-11-19 14:42:58 +01:00
milek7
6d7dad68eb respect extra viewport transforms for audio calc 2020-11-19 00:59:00 +01:00
milek7
30dec00c35 vr: draw main window tex on nice quad 2020-11-18 23:46:24 +01:00
milek7
b024ed90fc vr: proper eye matrix calculation 2020-11-18 22:37:58 +01:00
milek7
79b0216b55 use vr hiddenarea mask 2020-11-18 22:18:28 +01:00
milek7
8889872f39 temporaily disable openvr for ubuntu CI 2020-11-18 01:47:00 +01:00
milek7
1c5dcfb87e enable openvr for windows CI 2020-11-18 01:19:46 +01:00
milek7
7432507b15 Merge remote-tracking branch 'youby/master' into sim 2020-11-16 23:17:37 +01:00
milek7
9bac45e35b prevent AI SpeedCtrlPowerInc deadlock 2020-11-15 17:48:29 +01:00
Królik Uszasty
5d0206da92 More fluent dynamic brake test, fix for eimp_pnX_cp 2020-11-11 23:00:03 +01:00
Królik Uszasty
a7859a856c ReleaseParkingBySpringBrakeWhenDoorIsOpen for Impuls EMU 2020-11-09 21:33:18 +01:00
Królik Uszasty
f1eeecb8b6 Brakes positions to python dictionary 2020-11-08 21:25:45 +01:00
Królik Uszasty
1ed31ca9f8 Additional compressor's pressure switch parameters dependant on activated cab 2020-11-07 21:48:12 +01:00
Królik Uszasty
94881452ea More python dictionary entries for compressors 2020-11-07 21:03:37 +01:00
Królik Uszasty
1d19a61820 New brake operation mode PNEP 2020-11-07 16:11:25 +01:00
Królik Uszasty
6d58e93713 Additional spring brake parameters for Impuls EMU 2020-11-05 21:43:48 +01:00