Jupeyy
|
43fa2fd1a7
|
use wrap mode for every individual texture
|
2017-10-09 15:59:16 +02:00 |
|
Jupeyy
|
92edbf4d37
|
allow viewing average or current fps
|
2017-10-09 15:58:12 +02:00 |
|
Jupeyy
|
baa69676ea
|
fix warnings
|
2017-09-27 15:06:47 +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
|
b328457e81
|
add glew library to CI scripts
|
2017-09-27 12:24:05 +02:00 |
|
Jupeyy
|
e820a36899
|
don't use average FPS
|
2017-09-27 12:21:29 +02:00 |
|
Jupeyy
|
6185c05be4
|
for tilelayers, go thorugh them layer by layer to reduce GPU overload by
only render visible areas
|
2017-09-27 12:20:23 +02:00 |
|
Jupeyy
|
9fd1290734
|
auto adjust font size for entity overlay
|
2017-09-27 12:19:39 +02:00 |
|
Jupeyy
|
745d77ffeb
|
remove functions, that aren't needed anymore
|
2017-09-27 12:18:46 +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 |
|
Jupeyy
|
cb1ab7ff9e
|
sort opengl_sl files alphabetically
|
2017-09-16 18:58:24 +02:00 |
|
Jupeyy
|
fc706a820c
|
only check gametiles for DDNet server type
|
2017-09-16 03:45:24 +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
|
a530764ec1
|
only upload vec2 for vertex
|
2017-09-14 02:48:39 +02:00 |
|
Jupeyy
|
5c7c09d380
|
fixing most wrong code pattern
|
2017-09-13 20:33:58 +02:00 |
|
Jupeyy
|
7e0146be97
|
replace tabs with spaces
|
2017-09-13 20:09:40 +02:00 |
|
Jupeyy
|
948d768c9c
|
out the frag color
|
2017-09-13 18:49:43 +02:00 |
|
Jupeyy
|
a3658e5526
|
store alpha textures always as RGBA
|
2017-09-13 18:32:08 +02:00 |
|
Jupeyy
|
74cccdeed0
|
output use_maxosxframework
|
2017-09-13 17:42:09 +02:00 |
|
Jupeyy
|
cf7878f46a
|
update shaders to not use any decrecated GLSL function/variable
|
2017-09-13 01:36:17 +02:00 |
|
Jupeyy
|
fd83d2834d
|
dont draw layer if our view is out of the layers range
|
2017-09-12 23:16:01 +02:00 |
|
Jupeyy
|
c437b5bb89
|
use 64 bit variable
|
2017-09-12 21:06:12 +02:00 |
|
Jupeyy
|
de43d410fe
|
merged cmakelist
|
2017-09-12 21:03:27 +02:00 |
|
Jupeyy
|
629bf2c5f9
|
Merge branch 'master' of https://github.com/ddnet/ddnet
|
2017-09-12 20:24:58 +02:00 |
|
Jupeyy
|
0caa70f0a1
|
support buffering of tile layers, draw them with the buffer objects and
some optimazations to border drawing
|
2017-09-12 20:22:18 +02:00 |
|
Jupeyy
|
9d2a625363
|
create overlay textures for entity overlays, instead of rendering glyphs
|
2017-09-12 20:15:37 +02:00 |
|
Jupeyy
|
6dc4d1e578
|
only allow a maximal zoom factor to make sure no bufferoverflow happens
|
2017-09-12 20:14:34 +02:00 |
|
Jupeyy
|
93138c1fba
|
make background class inherited from maplayers and change some things in
maplayers instead, so the background class can profit from buffering
|
2017-09-12 20:13:53 +02:00 |
|
Jupeyy
|
96694fb399
|
make new opengl version optionally
|
2017-09-12 20:12:37 +02:00 |
|
Jupeyy
|
92bf979467
|
add new functions to interface to support buffering and rendering
visual objects(opengl objects)
|
2017-09-12 20:11:47 +02:00 |
|
Jupeyy
|
2af3393810
|
add glyph upload for custom textures
|
2017-09-12 20:11:14 +02:00 |
|
Jupeyy
|
6a7e3d5836
|
add a glyph upload for custom textures
|
2017-09-12 20:10:27 +02:00 |
|
Jupeyy
|
bcb5f0ca8d
|
add new programs for various gpu render tasks, and some more uniform
setter
|
2017-09-12 20:09:40 +02:00 |
|
Jupeyy
|
a477540358
|
add new commands to buffer objects and draw them
|
2017-09-12 20:08:45 +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
|
8d982df9f2
|
add various shaders for various GPU tasks
|
2017-09-12 20:05:05 +02:00 |
|
Jupeyy
|
2bc27e5f9d
|
remove quad shaders renamed to prim(primitive)
|
2017-09-12 20:04:34 +02:00 |
|
Jupeyy
|
992dcbfaa4
|
added libglew to readme
|
2017-09-12 20:03:35 +02:00 |
|