def
83c820db09
Fix some naming conventions in videorecorder
2020-06-23 08:00:03 +02:00
def
47e6c7cce2
Only forbid resizing when videorecorder is recording
2020-06-19 08:19:40 +02:00
Learath
388d792205
Add an option for highdpi
2020-04-07 23:47:15 +03:00
def
54ae929b2f
Disallow resizing windows when videorecorder is compiled in
2020-01-03 21:40:41 +01:00
ChillerDragon
928e5407eb
Style 'void foo() {' -> 'void foo()\n{'
2019-12-21 14:35:09 +01:00
Magnus Auvinen
6a6a5f00c9
more typesafty in the graphics. introduced the IGraphics::CTextureHandle
...
Edited by @ChillerDragon to fit in ddnet
(cherry picked from commit cb95e8dfe8
)
2019-11-22 18:08:37 +01:00
Learath
6c371a9a57
Even more refactoring
2019-04-27 01:11:15 +03:00
Dennis Felsing
cde07b420b
Implement changes suggested by -Wuseless-cast
...
But don't enable it yet because I'm not sure what the best way is.
2019-04-11 19:54:43 +02:00
ChillerDragon
abba71e6d6
Fix tw code style
2019-04-06 17:06:12 +02:00
jupeyy
28ba295792
Don't use compression for text rendering
2019-01-20 14:28:59 +01:00
Jupeyy
bc013513bc
don't restore the config variable in this case
2018-08-02 20:56:29 +02:00
Jupeyy
d7bb03ee19
don't render all border all the time
2018-08-02 18:26:12 +02:00
bors[bot]
73a65a7026
Merge #1116
...
1116: Don't send buffer cmds to non OpenGL 3.3 backend r=def- a=Jupeyy
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2018-04-15 18:00:54 +00:00
Jupeyy
27d9440751
don't create buffers, if OpenGL 3.3 is not used
2018-04-15 19:34:56 +02:00
heinrich5991
f8277267a0
Remove mem_alloc
and mem_free
, use standard C functions instead
...
Replace `mem_free` by `free`, and `mem_alloc` by `malloc` or `calloc`
(the latter one being used to allocate a zeroed array of elements,
sometimes, this makes a call to `mem_zero` superfluous).
This results in having to remove `mem_stats` which previously recorded
the number of allocations and their size that the Teeworlds code did
directly.
Remove OOM handling in `src/game/client/components/binds.cpp`.
Remove needless copying in the CSV code in
`src/game/client/components/statboard.cpp`.
2018-04-09 11:56:39 +02:00
Jupeyy
15f0efc2bd
fix text color if opengl3.3 is off
2018-04-03 17:40:21 +02:00
Jupeyy
53a93c077e
add window resize listener
2018-03-21 15:48:48 +01:00
Jupeyy
898af39311
add new functions to support the new backend layout and the new
...
rendering system
2018-03-13 21:47:07 +01:00
bors[bot]
c0fa444f3a
Merge #1034
...
1034: Try to find external GLEW, pnglite and Wavpack r=Learath2 a=heinrich5991
Allow for newer versions of Wavpack, fixes #1023 .
Fixes #1016 .
2018-02-13 02:02:07 +00:00
heinrich5991
94818ec1f0
Try to find external GLEW, pnglite and Wavpack
...
Allow for newer versions of Wavpack, fixes #1023 .
Fixes #1016 .
2018-02-12 23:29:45 +01:00
yangfl
1620fc9b0f
Fix typo
2018-02-07 16:10:40 +08:00
Jupeyy
060f6fd36e
Load shaders through IStorage class
...
Fixes #939 .
2017-12-02 22:19:57 +01:00
Jupeyy
37c5102928
only delete VBOs when the VAO, which uses the VBO, is deleted(AMD driver
...
bug under windows). And only allow true fullscreen under supported
display resolutions, to enable prevention of DPI scaled opengl viewport
2017-10-23 18:02:18 +02:00
def
cb00a294b8
Enable gfx_opengl3 by default
2017-10-20 22:52:38 +02:00
Jupeyy
cc54c4acdf
also out the LOD to the fragment shader to make sure we use the same LOD
...
on every hardware
2017-10-14 23:27:14 +02:00
Jupeyy
5389dd9666
fix border amount for right and bottom border lines
2017-10-14 16:37:48 +02:00
Jupeyy
26bd800d63
calculate the LOD on CPU side and restrict mipmap levels for huge
...
textures to remove bad looking mipmap generations at high zoom levels
2017-10-09 18:58:44 +02:00
Jupeyy
463944b143
fix code pattern mistakes and warnings
2017-09-27 14:52:06 +02:00
Jupeyy
91216fb90c
reduce upload size by normalizing color values, fix slow upload for some
...
iGPUs and force old opengl context, if issueinit fails
2017-09-27 12:16:34 +02:00
Jupeyy
26607cfd47
at texture upload, check if we have enough space in the command buffer
...
too
2017-09-15 03:50:06 +02:00
Jupeyy
31844d3353
set max width for custom text texture upload and fixing alignments for
...
texture updates
2017-09-15 03:01:26 +02:00
Jupeyy
1167ab822c
reduce upload since of vertices if drawing quads
2017-09-14 02:50:31 +02:00
Jupeyy
5c7c09d380
fixing most wrong code pattern
2017-09-13 20:33:58 +02:00
Jupeyy
a477540358
add new commands to buffer objects and draw them
2017-09-12 20:08:45 +02:00
def
7c6c2f5d9b
Fix graphics init to be later so that user resolution is available
2017-08-31 23:42:21 +02:00
def
66f6f16e81
Windows DPI fixes #2
2017-07-09 09:44:07 +02:00
def
4125941896
Disable dbg_stress in release builds (fewer confused kids that think they hacked the server, less useless code in cache)
2017-06-02 20:45:09 +02:00
necropotame
b8e4e5beea
Fix style in several places
2017-03-22 19:45:14 +01:00
def
9bd30ce447
Make high-dpi screen support optional
2016-05-07 17:47:05 +02:00
def
f79bdf69a5
typo
2016-04-30 22:55:21 +02:00
def
644fec7e55
Resize window without restarting client
2016-04-30 17:59:58 +02:00
def
7a5b79e48a
More SDL2 graphics goodness, partially from TW master
2016-04-30 00:43:11 +02:00
def
354696afb7
switch between fullscreen and windowed mode without restarting the client (by oy)
2016-04-29 21:56:38 +02:00
def
ff2a7272fa
Improved window grabbing: only when relative mouse mode is active
2016-04-29 21:56:38 +02:00
def
db8a126315
Merge swick's SDL2 branch
2016-04-29 21:55:48 +02:00
def
6e8ada1ac8
Fix whitespaces a bit
2015-07-09 02:12:35 +02:00
def
3c496c62e1
Rename gfx_quads_as_triangles to gfx_quad_as_triangle and set default to 1
2015-03-31 16:41:51 +02:00
BeaR
2d3202862b
Change the way quads are split into triangle splits (conform with intel/nvidia drivers)
2015-03-31 16:18:49 +02:00
BeaR
462d88eac4
Reduce amount of drawcalls when using triangles instead of quads
2015-03-31 13:35:18 +02:00
BeaR
2f837a4c44
Notify player on chat highlight (windows only)
2014-10-18 16:17:36 +02:00