Commit Graph

164 Commits

Author SHA1 Message Date
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
389bbf32c2 Rename: source -> src. 2017-03-17 15:28:25 +02:00