bors[bot]
3bdded3c4f
Merge #3122 #3137
...
3122: Fix arithmentic problems r=def- a=Jupeyy
The first three commits are safe
The ones i'll add later will be inside the gamecore, so might alter behaviour.
I'll see which ones are critical, but takes me some time
i fixed most in #3081
3137: Add gfx debug r=def- a=Jupeyy
If someone wants to try, you have to execute the client with a config that contains dbg_gfx 1
If opengl debug is supported it will show "Enabled OpenGL debug mode" in the console
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2020-10-20 16:19:55 +00:00
Jupeyy
5b4d99275f
Add gfx debug
2020-10-18 14:38:19 +02:00
def
ad3bc98578
Revert "Make GL 1.5 default"
...
As discussed with Lerath2, we should try to debug
This reverts commit 537f47d11d
.
2020-10-17 23:34:16 +02:00
Дядя Женя
6708a7a69d
Chat visual update
2020-10-17 15:50:35 +02:00
Jupeyy
537f47d11d
Make GL 1.5 default
2020-10-15 18:47:06 +02:00
def
5c1b8cd221
Fix clang-analyzer-deadcode.DeadStores
...
/media/ddnet/src/game/client/components/statboard.cpp:288:3: warning: Value stored to 'tw' is never read [clang-analyzer-deadcode.DeadStores]
2020-10-14 15:45:47 +02:00
def
a4f13ed4a8
Fix clang-analyzer-optin.portability.UnixAPI
...
and mark some false positives
/media/ddnet/src/engine/client/backend_sdl.cpp:329:30: warning: Call to 'malloc' has an allocation size of 0 bytes [clang-analyzer-optin.portability.UnixAPI]
2020-10-14 15:45:43 +02:00
Jupeyy
8e9baedf9a
Use pointer directly for tile layer building
2020-10-13 19:52:14 +02:00
bors[bot]
3244eba39d
Merge #3078
...
3078: Make initial borderless work again r=heinrich5991 a=def-
Mistakenly disabled in https://github.com/ddnet/ddnet/pull/1418
Co-authored-by: def <dennis@felsin9.de>
2020-10-12 17:42:03 +00:00
def
f85db90357
Make initial borderless work again
...
Mistakenly disabled in https://github.com/ddnet/ddnet/pull/1418/files
2020-10-12 16:30:50 +02:00
Learath2
200c4fc12e
Fix alignment issues in CCommandBuffer
2020-10-11 17:18:49 +02:00
def
62dc12aacb
Fix all Multiplication type alerts by CodeQL
...
> Multiplication result converted to larger type
> A multiplication result that is converted to a larger type can be a
> sign that the result can overflow the type converted from.
Example: https://github.com/ddnet/ddnet/security/code-scanning/17?query=ref%3Arefs%2Fheads%2Fmaster
2020-10-05 19:03:54 +02:00
def
406d383c45
Clean up OpenGL command processor
2020-09-30 23:59:44 +02:00
Jupeyy
6a1cf963d1
try trilinear filtering
2020-09-27 00:37:43 +02:00
Jupeyy
c951fc3ee4
Allow specifying texture LOD BIAS
2020-09-27 00:37:42 +02:00
def
3be8a592e5
Run clang-format
...
Purely automatic change. In case of conflict with this change, apply the
other change and rerun the formatting to restore it:
$ python scripts/fix_style.py
2020-09-26 21:50:15 +02:00
def
0bac9f0de8
Manual preparation for cleaner clang-format
...
Also include what you use explicitly
2020-09-26 21:41:01 +02:00
Jupeyy
84cad658d6
Add new renderer(as streamed vertices) for editor
2020-09-23 16:45:32 +02:00
Jupeyy
8b29240491
Use POT texture when resizing, when NOTP is not supported
2020-09-14 22:12:58 +02:00
Jupeyy
9a4dd80a5e
Remove rescale function, always use resize
2020-09-14 21:30:25 +02:00
Jupeyy
7ca716fb3f
Do more aggressive analysis and check all gl Functions that were used and added in 2.0
2020-09-05 13:07:25 +02:00
Jupeyy
9299a2a1e4
Initialize variables from base class for the gl 3.3 class
2020-09-04 18:08:00 +02:00
bors[bot]
f48ba92161
Merge #2718
...
2718: Fix texture destroy r=heinrich5991 a=Jupeyy
Might already help with #2717
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2020-09-04 10:14:34 +00:00
Jupeyy
6b3ad82786
Add shutdown command again
2020-09-03 11:49:47 +02:00
Jupeyy
49d2e36e26
Fix texture destroy
2020-09-03 10:46:15 +02:00
d3fault
b5861f2857
add #ifdef check around GLEW_VERSION_4_6
...
This fixes compilation on Debian Stretch
2020-09-02 23:44:24 -07:00
Jupeyy
af4923b75b
Add config variable, to ignore the check after it executed once
2020-08-29 18:44:48 +02:00
Jupeyy
570f148287
Analyse 3D/2D array texture sampling data when creating context
2020-08-29 18:44:42 +02:00
bors[bot]
3101747d46
Merge #2666
...
2666: Non divisible by 16 texture resize and warning r=heinrich5991 a=Jupeyy
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2020-08-29 15:25:35 +00:00
def
c85ffb90af
Revert "Revert Jupeyy's OpenGL changes"
...
This reverts commit 3eab3f5eb7
.
2020-08-29 12:10:53 +02:00
Jupeyy
e84d3a2659
Resize non devidable by 16 images for 3D/2D array textures
2020-08-27 02:07:25 +02:00
def
3eab3f5eb7
Revert Jupeyy's OpenGL changes
...
Emergency-revert for 14.5.1 release, too many problems
2020-08-26 20:03:22 +02:00
def
71cd53acfe
Try to fix input in Steam version on Windows ( fixes #2645 )
2020-08-26 15:15:06 +02:00
Jupeyy
61374cfb33
No sampler calls in old OpenGL API
2020-08-26 00:59:31 +02:00
Jupeyy
3117a936a9
Do not create 2D textures, if not required
2020-08-23 08:53:26 +02:00
Jupeyy
2c02314708
Stronger 1.x fallback, if OpenGL 3.0 was invalidly created
2020-08-22 21:49:30 +02:00
Jupeyy
5b9269f30a
Check NPOT textures and stronger 1.x fallback ( fixes #2630 )
2020-08-22 21:15:50 +02:00
Jupeyy
a07e9ac2cf
Add OpenGL 1.x, 2.x, 3.x support ( fixes #2619 ) ( fixes #2607 )
2020-08-22 10:22:51 +02:00
Jupeyy
7450e354de
Add OpenGL 4.x support & cleanup
2020-08-19 08:42:09 +02:00
Jupeyy
c2ce132ba3
Allow specifying an OpenGL version manually
2020-08-19 07:04:54 +02:00
Zwelf
81e5bb924c
Move sync_barrier to only used place
...
to remove `#include <windows.h>` from header file preventing compiling on windows
2020-08-09 18:17:42 +02:00
bors[bot]
160a7b71fb
Merge #2279 #2327
...
2279: Only forbid resizing when videorecorder is recording r=heinrich5991 a=def-
2327: List data files in `CMakeLists.txt` r=def- a=heinrich5991
This fixes missing files for people recompiling when we add new data
files.
Co-authored-by: def <dennis@felsin9.de>
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2020-06-23 08:48:05 +00:00
def
83c820db09
Fix some naming conventions in videorecorder
2020-06-23 08:00:03 +02:00
Edgar
a03a22b8e5
Fix uninitialized warning on SBufferContainerInfo
2020-06-22 11:23:52 +02:00
Arda Demir
b7d452d2a0
Libnotify support for linux client ( #2099 )
...
Add libnotify support for linux client
Also unify notification management
Make libnotify mandatory for the client. It is installed on 100% of Arch
Linux systems and on 70% of Debian systems. I'd guess the remaining
Debian systems are servers.
Detect dependent libraries of `libnotify` using `pkg-config`. Remove
library-specific code from the game module. Decrement refcount for
libnotify notification object before leaving the function.
2020-04-14 17:53:53 +02:00
Ryozuki
c6731c7e83
Fix uninitialized m_LastProgramID
2020-04-11 13:17:19 +02:00
Ryozuki
0da0dddf15
drop glu dependency
2020-04-08 18:19:12 +02:00
Learath
388d792205
Add an option for highdpi
2020-04-07 23:47:15 +03:00
Learath
6919ed3041
Use updated stub, switch around versions
2020-03-23 15:46:57 +01:00
Learath
060d60f2ea
Output library versions
2020-03-23 15:46:57 +01:00