Jupeyy
|
d367f94d7c
|
invalidate all index buffer bindigs, when index buffer is resized
|
2017-11-03 19:48:17 +01:00 |
|
Jupeyy
|
c22af4bb4d
|
fix index buffer bindig for normal quads(fixes startup crashes) and
initialize non mipmap textures as linear(texture completness)
|
2017-11-03 19:33:23 +01:00 |
|
Jupeyy
|
442a1767d4
|
reset lastindexbuffer at object deletion
|
2017-10-24 03:12:48 +02:00 |
|
Jupeyy
|
5c9fc3d19b
|
remove unused variable
|
2017-10-23 18:31:44 +02: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 |
|
Dennis Felsing
|
6c7f6e3a7e
|
glew on macosx as well...
|
2017-10-20 11:49:00 +02:00 |
|
Dennis Felsing
|
5a75dc7f27
|
New glew try
|
2017-10-20 11:35:44 +02:00 |
|
Dennis Felsing
|
88c0778b21
|
Bundle glew instead
|
2017-10-20 11:12:27 +02:00 |
|
Dennis Felsing
|
07db95ed59
|
Mac build fix
|
2017-10-20 10:20:29 +02:00 |
|
Dennis Felsing
|
d7eabb0ea9
|
Further macosx fixes
|
2017-10-20 09:31:42 +02:00 |
|
Dennis Felsing
|
db46d18e71
|
No GLEW on OSX necessary (untested)
|
2017-10-20 09:08:49 +02:00 |
|
Dennis Felsing
|
d6999bb726
|
Merge "Pull Request using OpenGL 3.3"
|
2017-10-18 12:49:27 +02:00 |
|
Edgar Luque
|
3408d4f016
|
MinGW putenv workaround.
|
2017-10-17 16:38:40 +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 |
|
heinrich5991
|
16694a0d7b
|
Use a random token for serverbrowse requests
This alleviates the risk for spoofed servers.
|
2017-10-14 21:58:23 +02:00 |
|
Jupeyy
|
5389dd9666
|
fix border amount for right and bottom border lines
|
2017-10-14 16:37:48 +02:00 |
|
heinrich5991
|
2fc018aac3
|
Add asynchronous file output, port dbg_msg() s to that system
Also add tests.
|
2017-10-10 04:11:14 +02:00 |
|
Learath
|
1855992014
|
Fix style
|
2017-10-09 20:51:16 +02:00 |
|
Learath
|
f4b3bc63b3
|
Forgot classes need to be initialized with new
Also matched the function signatures to the ones in the interface
|
2017-10-09 20:04:23 +02:00 |
|
Learath
|
26efee9506
|
Forgot the virtuals
|
2017-10-09 19:22:44 +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 |
|
Learath2
|
70ee5d9645
|
Properly free CFetchTask in case of abort
|
2017-10-09 18:47:02 +02:00 |
|
Learath2
|
9bce7e8630
|
Use a proper interface for CFetchTask
|
2017-10-09 18:47:02 +02:00 |
|
Jupeyy
|
43fa2fd1a7
|
use wrap mode for every individual texture
|
2017-10-09 15:59:16 +02:00 |
|
Learath
|
1b0ab87015
|
Get rid of unnecessary queue in CFetcher
|
2017-10-08 00:57:56 +02:00 |
|
def
|
b368234dae
|
Delete editor before graphics (fixes #881)
|
2017-09-30 06:27:05 +02:00 |
|
Jupeyy
|
7aa547946b
|
more warning fixes
|
2017-09-27 15:01:38 +02:00 |
|
Jupeyy
|
463944b143
|
fix code pattern mistakes and warnings
|
2017-09-27 14:52:06 +02:00 |
|
Jupeyy
|
9fd1290734
|
auto adjust font size for entity overlay
|
2017-09-27 12:19:39 +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
|
a85f542d1d
|
only use 4x2 matrix
|
2017-09-27 12:15:30 +02:00 |
|
def
|
553c97b52d
|
Fix crash with broken ddnet-info.json
|
2017-09-20 22:25:55 +02:00 |
|
Redix
|
43f246f174
|
Made int packing functions safe
|
2017-09-17 02:36:50 +02:00 |
|
Dennis Felsing
|
43d0299a45
|
Merge branch 'master' into pr_ddnet_fix_msvs_warnings
|
2017-09-16 11:17:39 +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
|
f2820ea392
|
use 4*4 array instead of declearing a full matrix class
|
2017-09-14 19:47:04 +02:00 |
|
Jupeyy
|
f48e186bfd
|
use CLineReader instead of fgets, also delete program at destruct
|
2017-09-14 19:35:31 +02:00 |
|
Jupeyy
|
b6e4b4b4a6
|
detach shaders automatically after linking
|
2017-09-14 19:34:14 +02:00 |
|
Jupeyy
|
4fec86a354
|
support old opengl version with only 2 vertex coordinates
|
2017-09-14 08:03:33 +02:00 |
|
Jupeyy
|
3bdd8c19ac
|
delete primitive index buffer at shutdown too
|
2017-09-14 03:54:22 +02:00 |
|
Jupeyy
|
1df1731b01
|
use glDeleteVertexArrays instead of glDeleteBuffers
|
2017-09-14 03:50:42 +02:00 |
|
Jupeyy
|
211f8a6b11
|
only allow changing to use single/multiple texture units at restart
|
2017-09-14 02:58:13 +02:00 |
|
Jupeyy
|
1167ab822c
|
reduce upload since of vertices if drawing quads
|
2017-09-14 02:50:31 +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
|
a3658e5526
|
store alpha textures always as RGBA
|
2017-09-13 18:32:08 +02:00 |
|
Jupeyy
|
629bf2c5f9
|
Merge branch 'master' of https://github.com/ddnet/ddnet
|
2017-09-12 20:24:58 +02:00 |
|
Jupeyy
|
6a7e3d5836
|
add a glyph upload for custom textures
|
2017-09-12 20:10:27 +02:00 |
|