jerrrrycho
43fcda05a0
refactor(sonar): use std::array for local fixed-size arrays (cpp:S5945)
...
Arrays that are class members or part of headers are left unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-10 17:44:14 +02:00
jerrrrycho
adfad8016e
refactor(sonar): take read-only string parameters as std::string_view (cpp:S6009)
...
The Windows messaging helpers keep std::string, they need c_str().
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-10 17:28:41 +02:00
jerrrrycho
5d33d89225
refactor(sonar): pass expensive-to-copy parameters by const reference (cpp:S1238)
...
Signatures declared in files touched by PR 206 (Driver.h, EU07.cpp) and
virtual overrides are left unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-10 17:16:40 +02:00
jerrrrycho
0a7c42c4a9
refactor(sonar): take read-only pointer and reference parameters as const (cpp:S995)
...
TTrain command handlers keep their signature, it is fixed by the handler table.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-10 17:08:45 +02:00
jerrrrycho
d7edea6fac
refactor(sonar): make read-only local references and pointers const (cpp:S5350)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-10 17:05:09 +02:00
jerrrrycho
3a6f21eb2d
refactor(sonar): initialise members in initialiser lists or declarations (cpp:S3230)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-10 17:03:17 +02:00
jerrrrycho
1cc9890197
refactor(sonar): mark converting constructors explicit (cpp:S1709)
...
sound_source and the gl::object conversion operators stay implicit; they
are relied upon by copy-list-initialisation and GL calls.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-10 16:55:10 +02:00
jerrrrycho
a47c2a6ea0
refactor(sonar): rename locals that shadow outer declarations (cpp:S1117)
...
Only local variables and definition parameters are renamed; shadowing
struct fields and enumerators in headers are left for a separate change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-10 16:45:39 +02:00
jerrrrycho
319815cb0b
refactor(sonar): drop top-level const from by-value return types (cpp:S5951)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-10 16:29:47 +02:00
jerrrrycho
24425d222f
refactor(sonar): access static members through the class (cpp:S2209)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-10 16:24:59 +02:00
jerrrrycho
22c7c33a63
refactor(sonar): use std::size for array lengths (cpp:S7127)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-10 16:22:49 +02:00
jerrrrycho
b6349b76e3
refactor(sonar): use structured bindings for pair access (cpp:S6005)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-10 16:06:32 +02:00
jerrrrycho
8f89dcefcd
refactor(sonar): use auto where the type is spelled out on the right (cpp:S5827)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-10 15:52:25 +02:00
jerrrrycho
95bc9bd511
refactor(sonar): use try_emplace for map insertion (cpp:S6030)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-10 15:51:29 +02:00
jerrrrycho
9b89a5d887
refactor(sonar): scope single-use variables in if init-statements (cpp:S6004)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-10 15:44:18 +02:00
jerrrrycho
3198cabc78
refactor(sonar): declare non-mutating member functions const (cpp:S5817)
...
Virtual functions are left untouched so overrides keep matching.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-10 15:26:48 +02:00
jerrrrycho
8c23c1fe2b
refactor(sonar): make narrowing conversions explicit (cpp:S5276)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-10 15:16:28 +02:00
jerrrrycho
80464d0bc1
refactor(sonar): construct elements in place with emplace_back (cpp:S6003)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-10 15:06:57 +02:00
jerrrrycho
1806f029cc
refactor(sonar): use nullptr literal (cpp:S4962)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-10 15:05:47 +02:00
maj00r
b1bdd42178
Forget a buffer's bindings when it is deleted ( #182 )
...
The binding tracker kept the name of a deleted buffer. When gl handed that
name to a new buffer, the tracker took it for already bound and skipped the
bind, so a new vao was left without its index buffer and the nvidia driver
read indices from a null pointer.
2026-09-23 01:03:01 +02:00
1aac9b4e76
Merge pull request #111 from MaSzyna-EU07/opengl-instancing
...
Some rendering improvements
2026-06-16 23:09:12 +02:00
c0abea1473
Merge pull request #109 from docentYT/fix-compilation-warnings
...
Fix compilation warnings
2026-06-16 11:14:25 +02:00
426ee0baac
use textureGather for shadow PCF
2026-05-26 22:08:06 +02:00
docentYT
4878afbffc
Change size arguments type to GLsizeiptr
2026-05-11 23:41:43 +02:00
3419666070
scale/endscale/localscale per node model
2026-05-10 13:12:49 +02:00
587077629f
Enable instancing
2026-05-09 23:29:20 +02:00
7525b54ff1
Enable GLM_FORCE_DEFAULT_ALIGNED_GENTYPES
2026-05-06 20:41:01 +02:00
ff258e3d3c
Sanitize NaN/Inf in env cubemap and tonemap to stop one-frame black flashes
2026-05-01 17:20:43 +02:00
bc0e4a9e62
Specgloss shaders improvements + experimental SSAO (debug only)
2026-04-21 00:25:29 +02:00
copilot-swe-agent[bot]
7e49aa8740
Rewrite #includes to use explicit subdirectory paths
...
Co-authored-by: Hirek193 <23196899+Hirek193@users.noreply.github.com >
2026-03-14 19:16:48 +00:00
docentYT
ed2f172954
Use glClientWaitSync instead of glGetSynciv
2026-02-07 19:47:32 +01:00
Wls50
b4737712de
support cabview rain effect
2025-11-21 22:43:24 +01:00
Wls50
04eff45b5d
remove duplicate user_data vector from world_vertex
...
update max. number of vertex attributes
to avoid user data getting "reused" across mesh draws
2024-07-06 20:25:53 +02:00
milek7
3cb5b5fd9a
fix scene_ubs layout
2022-03-04 17:53:16 +01:00
milek7
5bafa31f9d
Merge commit 'd8170c932b448ba6888e702746b5ae22632062d8' into sim
2022-01-05 22:21:05 +01:00
tmj-fstate
05d8af139a
build 210509. configurable max draw range factor, moon visualization enhancement, night lighting tweak, minor bug fixes
2021-05-10 00:50:54 +02:00
milek7
78a15bf527
fix swapped arguments to glUniformBlockBinding
2021-01-22 19:07:30 +01:00
milek7
56eba08a6f
CI shader validation
2021-01-21 15:51:03 +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
1c40578d26
ubo padding fixes
2020-10-21 17:59:27 +02:00
milek7
6af6f5156d
workaround for ebo binding issues, do not enable ai vehicles automatically on map
2020-10-21 00:45:19 +02:00
milek7
29f8f91ad8
Merge remote-tracking branch 'tmj/master' into sim
2020-10-18 23:35:14 +02:00
milek7
936effa9db
openvr WIP
2020-09-29 22:27:13 +02:00
tmj-fstate
2ce3091e8f
line breaker cab control enhancement, minor bug fixes
2020-02-02 22:30:36 +01:00
tmj-fstate
14699a96de
build 200101. opengl 3.3 renderer projected headlights
2020-01-01 20:41:05 +01:00
tmj-fstate
943e05462d
build 191224. opengl 3.3 renderer material glossiness support, minor bug fixes
2019-12-25 19:42:50 +01:00
tmj-fstate
0ebc7e282f
minor bug fixes, minor diagnostics tweaks
2019-12-17 18:19:30 +01:00
tmj-fstate
63619d13a6
opengl 3.3 renderer cascaded shadow maps, minor gfx renderer optimizations
2019-12-05 17:19:49 +01:00
tmj-fstate
194400e1af
inversed view transform uniform
2019-11-29 16:20:21 +01:00