BeaR
68390fe04a
Bug: Losing render-commands if commandbuffer is full(gfx)
...
Problem:
If there is a new draw call, it is checked if there is enough free memory for the vertices in the databuffer but not if we have enough free space in the commandbuffer to add the command
So we lose some commands during a frame cuz the commandbuffer is full
This fixes the 2nd part of issue 1004
2013-02-24 18:29:27 +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
1cfbfda6fa
Missed a file..
2013-02-24 18:02:09 +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
38256d0d45
skip screenshot when window isn't active. Closes #931
2013-02-24 17:25:14 +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
b31abc4053
fixed so that you can select graphics backend via gfx_threaded
2011-12-31 10:29:25 +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
50e75da333
fixed so that the resolusion is set correctly on init
2011-12-31 01:23:04 +01:00
Magnus Auvinen
09b785a290
splitted out the graphics threaded into a separate header
2011-12-31 01:11:24 +01:00
Magnus Auvinen
8e56885795
initial commit of the threaded graphics. can start game and render the gui. no textures at the moment. still waits for the swap for now
2011-12-31 01:06:04 +01:00