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
49d2e36e26
Fix texture destroy
2020-09-03 10:46:15 +02:00
Jupeyy
570f148287
Analyse 3D/2D array texture sampling data when creating context
2020-08-29 18:44:42 +02:00
def
c85ffb90af
Revert "Revert Jupeyy's OpenGL changes"
...
This reverts commit 3eab3f5eb7
.
2020-08-29 12:10:53 +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
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
Sirius
45263ebdd0
Merge branch 'master' into demo_render2
2019-10-31 22:08:49 +08:00
ChillerDragon
47b41f35ff
Fix objc_msgSend() xcode11 error
...
Fix by @heinrich5991
from the documentation of objc_msgSend in <objc/message.h>
```
/* Basic Messaging Primitives
*
* On some architectures, use objc_msgSend_stret for some struct return types.
* On some architectures, use objc_msgSend_fpret for some float return types.
* On some architectures, use objc_msgSend_fp2ret for some float return types.
*
* These functions must be cast to an appropriate function pointer type
* before being called.
*/
OBJC_EXPORT void
objc_msgSend(void /* id self, SEL op, ... */ )
OBJC_AVAILABLE(10.0, 2.0, 9.0, 1.0, 2.0);
OBJC_EXPORT void
objc_msgSendSuper(void /* struct objc_super *super, SEL op, ... */ )
OBJC_AVAILABLE(10.0, 2.0, 9.0, 1.0, 2.0);
```
2019-10-23 17:23:51 +02:00
H-M-H
7ae4b39574
made recording demos work
...
- videorecorder only works for recording demos now
- demoplayer was modified to allow controll over the time that passed
in order to get perfect fps, IVideo controlls how much time passed,
basically every rendercall sets the time to record the next frame
2019-09-30 20:48:47 +08:00
yangfl
81a39c229b
Fix typo
2018-07-10 17:29:02 +08:00
heinrich5991
925aff21d4
Fix all the header guards and adjust the script a little
2018-07-06 16:11:38 +02:00
Jupeyy
35f3dd5bc2
add new shader programs in the backend
2018-03-13 21:44:58 +01:00
Jupeyy
060f6fd36e
Load shaders through IStorage class
...
Fixes #939 .
2017-12-02 22:19:57 +01:00
Jupeyy
78c06e180f
remove dublicated GL queries
2017-11-04 05:38:48 +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
43fa2fd1a7
use wrap mode for every individual texture
2017-10-09 15:59:16 +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
211f8a6b11
only allow changing to use single/multiple texture units at restart
2017-09-14 02:58:13 +02:00
Jupeyy
77b3c39553
allow disabling texture unit optimization by command, also use
...
drawelements instead of drawarrays for quads
2017-09-14 02:49:35 +02:00
Jupeyy
5c7c09d380
fixing most wrong code pattern
2017-09-13 20:33:58 +02:00
Jupeyy
5f2ccf2960
add support for buffer objects and vertex object, and its draw calls
2017-09-12 20:07:38 +02:00
Jupeyy
1053bc735d
initial port to opengl3.3 (without any optimazations)
2017-09-02 15:24:07 +02:00
def
03399994b5
Remove duplicate semaphore
2017-08-31 19:36:27 +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
2f837a4c44
Notify player on chat highlight (windows only)
2014-10-18 16:17:36 +02:00
def
7875c2ec36
Android support (by Pelya)
2014-06-16 13:29:18 +02: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
Johannes Loher
678b6faceb
Fixed threaded gfx and building on Mac OS X
2013-02-24 18:01:23 +01:00
oy
b7e5bb54ad
fixed semaphore on macosx
2013-02-24 17:35:51 +01:00
oy
2a4af1573b
auto adjust the screen resolution on first start. Closes #921
2013-02-24 17:25:55 +01:00
oy
78bb0e3d8c
fixed compiling for macosx
2012-01-06 16:35:48 +01:00
oy
cc94472f04
fixed mac osx
2012-01-04 00:52:24 +01:00
oy
213b88835e
fixed compiling on windows
2012-01-04 00:48:04 +01:00
Magnus Auvinen
7393151b6d
fixed the osx opengl make current thingie.. I think...
2012-01-03 22:53:24 +01:00
Magnus Auvinen
666401e309
added osx implementation. not tested, not even compiled once. hope it works
2012-01-03 22:49:31 +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