Artem Kharytoniuk
63c32ff8a6
Cleanun: provide only those qgl pointers that are really used by the engine.
2017-03-31 13:24:34 +03:00
Artem Kharytoniuk
3cdeb7aa3a
Removed SDL 3rd party dependency.
2017-03-30 17:44:22 +03:00
Artem Kharytoniuk
e9b972d562
New cvars: r_renderAPI , r_renderAPICompareWindow.
...
r_renderAPI specifies rendering API to use (0 - opengl, 1 - vulkan).
r_renderAPICompareWindow shows additional window which does the same rendering as the main windows but uses different graphics API.
The idea is to use r_renderAPICompareWindow for debugging to be sure that both APIs render identical/similar pictures.
2017-03-30 17:39:48 +03:00
Artem Kharytoniuk
dd372cad1b
Cleanup.
2017-03-30 09:59:33 +03:00
Artem Kharytoniuk
1b46128499
Quick prototyping of 3d mode rendering.
2017-03-29 14:17:58 +03:00
Artem Kharytoniuk
103bc0462b
Use dynamic buffer offsets to update ubo per draw.
2017-03-29 11:20:50 +03:00
Artem Kharytoniuk
d0700752eb
Quick prototyping of 2d mode rendering (UI).
2017-03-28 22:32:42 +03:00
Artem Kharytoniuk
6cd89f37ac
Working on UI drawing.
2017-03-28 16:50:16 +03:00
Artem Kharytoniuk
7a1e74fa35
Orthographic projection matrix that respects vulkan viewport conveтions.
2017-03-28 13:40:54 +03:00
Artem Kharytoniuk
61647d8827
Cleanup.
2017-03-27 23:29:50 +03:00
Artem Kharytoniuk
54ab26edb3
Cinematic images update.
2017-03-27 17:20:21 +03:00
Artem Kharytoniuk
35363cb05d
Cleanup.
2017-03-27 12:03:54 +03:00
Artem Kharytoniuk
f12488d99f
Added vk.h/cpp - it is going to be the main vulkan related module in the renderer.
...
The plan is to remove other vulkan modules copied from the demo project for quick bootstrapping and replace them by more engine specific vulkan code.
2017-03-24 11:52:01 +02:00
Artem Kharytoniuk
f944034d17
First attempt for general frame begin/end vulkan functionality.
...
Test code to draw q3 cinematic.
Bugs to fix when things will settle down a bit: cinematic leaks memory, render_view function invalidates command buffer when multiple scenes are rendered in a single frame.
2017-03-23 23:19:44 +02:00
Artem Kharytoniuk
ab66921e14
Added VkImage to image_t. For testing purposes draw all images in a sequence on screen aligned quad.
2017-03-22 11:08:58 +02:00
Artem Kharytoniuk
0b2685bb4b
Removed image_t::TMU.
2017-03-20 21:21:55 +02:00
Artem Kharytoniuk
26dda0aa5e
Removed unsupported platform code.
2017-03-20 20:57:49 +02:00
Artem Kharytoniuk
fa40b3b8ce
Old features cleanup: GL_ARB_multitexture is not optional anymore, always use qglDrawElements for rendering.
2017-03-20 20:35:48 +02:00
Artem Kharytoniuk
a4a5920a93
Removed unused function.
2017-03-20 12:48:10 +02:00
Artem Kharytoniuk
1b78b53bea
Simplification and cleanup of windows opengl initialization.
...
Removed r_colorbits, use desktop color depth as default value. Nevertheless if there are issues when looking
for corresponding pixel format it is still posible to obtain pixel format with color depth that is different
from desktop color.
No changes to game modules, which means that game UI can still set r_colorbits but it has no effect.
2017-03-20 10:31:02 +02:00
Artem Kharytoniuk
a16c11adf6
Disabled bot log.
2017-03-17 20:43:33 +02:00
Artem Kharytoniuk
3113bc698b
Removed filter for 3rd party headers from renderer project.
2017-03-17 17:03:01 +02:00
Artem Kharytoniuk
0454c6d58d
Updated gitignore.
2017-03-17 16:50:20 +02:00
Artem Kharytoniuk
12e190c7c7
Updated VS projects.
2017-03-17 15:37:05 +02:00
Artem Kharytoniuk
389bbf32c2
Rename: source -> src.
2017-03-17 15:28:25 +02:00
Artem Kharytoniuk
06f5be6462
Updated folders structure: binaries -> bin.
2017-03-17 12:27:59 +02:00
Artem Kharytoniuk
19749d74c8
Created separate vulkan window with running demo and update it on each renderer tick.
2017-03-17 12:13:51 +02:00
Artem Kharytoniuk
9d0f0134b0
Added test model and shaders.
2017-03-16 23:01:39 +02:00
Artem Kharytoniuk
b482e778ff
Added source files from demo project as starting point for vulkan development.
2017-03-16 22:32:02 +02:00
Artem Kharytoniuk
10ef302b5f
Removed linker dependencies from the game projects. Default libraries (crt and core windows) will do the job.
2017-03-16 20:18:56 +02:00
Artem Kharytoniuk
93d0d4a318
Added SDL2.pdb.
2017-03-16 14:07:45 +02:00
Artem Kharytoniuk
a0443ea3c7
Moved libraries to third_party folder.
2017-03-16 11:12:29 +02:00
Artem Kharytoniuk
569af71ad3
Updated vulkan import library (1.0.42.1).
2017-03-16 11:03:18 +02:00
Artem Kharytoniuk
d5b1ade094
Added glm library.
2017-03-16 11:02:04 +02:00
Artem Kharytoniuk
7174dbb9af
Added vulkan headers (1.0.42.1).
2017-03-16 10:00:44 +02:00
Artem Kharytoniuk
2b29b1ea97
Link renderer project with SDL lib.
2017-03-14 10:12:59 +02:00
Artem Kharytoniuk
9e6d17cc75
Update README.md
2017-03-13 21:54:57 +02:00
Artem Kharytoniuk
79c729531b
Updated windows sdk version.
2017-03-13 17:01:13 +02:00
Artem Kharytoniuk
020a63901c
Update README.md
2017-03-13 15:21:24 +02:00
Artem Kharytoniuk
aff54fb46a
Yet another readme update. My english is terrible.
2017-03-13 15:03:38 +02:00
Artem Kharytoniuk
711f4f7cf0
Update README.md
2017-03-13 15:00:41 +02:00
Artem Kharytoniuk
3b4ceffda6
Update README.md
2017-03-13 14:53:55 +02:00
Artem Kharytoniuk
babaf05d91
Added SDL static library.
2017-03-13 13:46:58 +02:00
Artem Kharytoniuk
edc4f2cad2
Renamed visual studio projects folder: vs2015 -> visual-studio.
2017-03-13 13:45:06 +02:00
Artem Kharytoniuk
a59c157a0a
Converted visual studo project files to VS 2017.
2017-03-13 13:37:01 +02:00
Artem Kharytoniuk
680abbb4cc
Added SDL headers.
2017-03-13 13:34:30 +02:00
Artem Kharytoniuk
563664a1c0
Replaced jpeg-6 with stb_image/tiny_jpeg
2017-03-04 13:49:30 +02:00
Artem Kharytoniuk
6845d11db6
Kenny edition rebranding.
...
- added 'Kenny edition' suffix to app version string.
- added '-ke' suffix to executable name.
2016-07-19 23:52:34 +03:00
Artem Kharytoniuk
1bdb16d979
Updated QVM build scripts.
2016-07-16 13:29:42 +03:00
Artem Kharytoniuk
ce760440ae
Removed DirectInput mouse support. Microsoft does not recommend to use DI for mouse handling anymore.
...
Removed midi controller/joystick support in platform code.
2016-07-14 22:33:22 +03:00