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
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
heinrich5991
be80ccb7d6
Don't use nonstandard #pragma pack
...
It's not needed in that place anyway.
2017-11-18 00:24:44 +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
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
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
1167ab822c
reduce upload since of vertices if drawing quads
2017-09-14 02:50:31 +02:00
Jupeyy
a477540358
add new commands to buffer objects and draw them
2017-09-12 20:08:45 +02:00
Jupeyy
1053bc735d
initial port to opengl3.3 (without any optimazations)
2017-09-02 15:24:07 +02:00
def
66f6f16e81
Windows DPI fixes #2
2017-07-09 09:44:07 +02:00
def
9bd30ce447
Make high-dpi screen support optional
2016-05-07 17:47:05 +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
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
def
2db9e5c7b0
Hopefully fix screenshots
2014-03-29 17:04:06 +01:00
def
d092b8007d
Add editor undo function (by MAP94)
2014-01-19 04:02:01 +01:00
BeaR
d58afefaae
Some graphic batching:
...
Speed up for displaying debugtext and envelopepreview
(This reduces the performance hit especially for the 'Show Info' mode in the editor)
Conflicts:
src/engine/client/client.cpp
src/game/editor/editor.cpp
src/game/editor/editor.h
2013-02-24 18:23:06 +01:00
oy
df5ab998c2
readded texture resampling
2013-02-24 18:08:10 +01:00
oy
71af97a5e3
fixed texture memory usage calculation in graphics threaded
...
Conflicts:
src/engine/client/graphics_threaded.cpp
2013-02-24 18:07:35 +01:00
BeaR
c3dd09cebf
Readded Texturecompression-support
2013-02-24 18:01:58 +01:00
Magnus Auvinen
98042012a6
cleaned up warnings that clang spits out. some bugs found with it.
...
Conflicts:
src/game/server/gamemodes/ctf.cpp
src/game/server/gamemodes/ctf.h
2013-02-24 17:54:29 +01:00
heinrich5991
86fe9757c5
Removed useless enum
2013-02-24 17:38:29 +01:00
heinrich5991
7b545f3ed9
Added borderless window functionality
...
This might become handy for users with multiple monitors,
might resolve other issues aswell
2013-02-24 17:38:19 +01:00
oy
2a4af1573b
auto adjust the screen resolution on first start. Closes #921
2013-02-24 17:25:55 +01:00
oy
0c05b3bfa1
fixed compiling with vs2008 ( #932 )
2012-02-05 13:22:39 +01:00
oy
be37147342
fixed border rendering in the editor's image preview. Closes #908
2012-01-08 01:47:53 +01:00
oy
71dd0c5aab
made gfx_finish work again
2012-01-06 14:12:49 +01:00
Magnus Auvinen
2991f4071e
fixed kicking of command buffer if it's full when rendering. fixed compile error on windows
2012-01-03 22:01:37 +01:00
Magnus Auvinen
50d872531a
cleaned up the code. fixed so that SDL is inited on main thread and then transfers the gl context to the render thread
2012-01-03 21:39:10 +01:00
Magnus Auvinen
c31c82a584
added support for video modes
2012-01-01 14:30:45 +01:00
Magnus Auvinen
d7fe3ddaab
fixed shutdown and screenshot functionallity
2012-01-01 14:15:35 +01:00
Magnus Auvinen
c1942ca6cb
fixed the render frame time and cleaned up some more code
2012-01-01 13:38:46 +01:00
Magnus Auvinen
8b76105cfa
cleaned up some of the code
2011-12-31 14:00:49 +01:00
Magnus Auvinen
6e57620c2c
added flags for mipmap generation on textures. fixes missing texts
2011-12-31 11:18:55 +01:00
Magnus Auvinen
7a36a103ae
fixed so that the rendering can be done async from the input, network and update
2011-12-31 10:04:46 +01:00
Magnus Auvinen
8a91bfa1dd
fixed texture upload support. removed raw gl calls from the text render
2011-12-31 09:40:11 +01:00
Magnus Auvinen
09b785a290
splitted out the graphics threaded into a separate header
2011-12-31 01:11:24 +01:00