Commit Graph

55 Commits

Author SHA1 Message Date
7433d54c16 Auto format C++ source 2022-08-08 01:07:26 -07:00
97b2889568 Vulkan refactoring - Removed OpenGL implementation for GL_EXT_texture_storage path.
Eliminated dead OpenGL code in KRContext.h
Removed GLenum argument from KRTexture2D::uploadTexture and all implementations.
2022-07-18 22:54:45 -07:00
4bc44a8e52 Removed KRContext::getStreamingEnabled and KRContext::setStreamingEnabled, as streaming is always enabled in the runtime now. m_streamingEnabled remains as a signal that the managers have completed loading and that streaming should start. 2022-07-11 22:27:44 -07:00
44055d1e6a Replace ifdef guards with pragma once 2022-07-07 23:09:30 -07:00
216cbe3eec PipelineInfo::CullMode and PipelineInfo::RasterMode are no longer within the PipelineInfo class, enabling easier forward declaration.
KRMaterial::bind now accepts remaining parameters required to set up the pipeline.
Removed GL calls from KRModel.
Replaced ifdef guards with pragma once.
KRMesh::model_format_t changed to ModelFormat and is no longer within KRMesh, enabling easier forward declaration.
2022-07-07 22:51:16 -07:00
1877049526 Replace GLFloat with float
Remove unimplemented function
2022-04-03 23:54:10 -07:00
2f104edf7c Remove MacOS and IOS OpenGL code 2022-04-03 23:40:16 -07:00
b6922dc63f License header year bump 2022-04-03 21:56:23 -07:00
42717276b5 Starting streamer thread 2021-08-17 01:49:30 -07:00
e046c1638a Remove dead code 2021-08-17 01:30:15 -07:00
f0b8dbbac5 Remove dead code 2021-08-17 01:25:53 -07:00
fc55a5d490 Session owned managers are now using std::unique_ptr 2021-08-17 01:22:18 -07:00
5d0a4bc9d2 Remove commented code 2021-08-17 00:38:11 -07:00
a3fc0d84d4 Implemented KRDeviceManager 2021-08-17 00:20:56 -07:00
f6b3845057 Added KRSurfaceManager 2021-08-16 23:36:05 -07:00
212cea794f Created KRPresentationThread 2021-08-16 22:52:26 -07:00
0e2bd45b7f Surface initialization and destruction moved to KRSurface 2021-08-16 19:51:15 -07:00
61a83dd28d Vulkan device initialization moved to KRDevice 2021-08-16 18:25:03 -07:00
d69699230a Updated HEaders 2021-08-16 16:35:36 -07:00
92e7dec2fa Refactored SurfaceInfo to KRSurface and DeviceInfo to KRDevice. Created new files for KRSurface and KRDevice. 2021-08-16 15:49:17 -07:00
1114210039 Create Vulkan semaphores for swapchain synchronization 2021-08-12 22:40:40 -07:00
0285e734bc Allocate Vulkan command buffers 2021-08-12 21:45:41 -07:00
9bc30e6937 Create vulkan command pools 2021-08-12 21:31:20 -07:00
3fff761bca Creating Vulkan framebufffers 2021-08-12 19:51:47 -07:00
12e476dc81 Surface handles are now indirect. 2021-08-12 00:45:57 -07:00
4d79896b76 Introduced KrSurfaceMapIndex type, to decouple API from internal surface indices. 2021-08-11 18:02:04 -07:00
95a506e6bf Refactor Vulkan initialization, support multi-GPU 2021-08-11 17:46:26 -07:00
ce7ecbdd9a Compiling shaders to SPIR-V 1.5
WIP Vulkan Pipeline initialization
2021-08-10 20:13:32 -07:00
8b59c5c382 Create presentation thread 2021-08-10 17:57:13 -07:00
2385a19926 Implement GPU auto selection, preferring discrete over integrated 2021-05-02 18:31:53 -07:00
2b0482e1c6 KrDataBlock::Append(std::string) now correctly handles null termination in output KRDataBlock when used multiple times. Implemented KrGetResourceData API call. KrCompileAllShaders now outputs shader compilation logs as a KRResource. kraken_convert now outputs shader compile logs when failure occurs. 2020-08-09 20:34:21 -07:00
78172b5abc Added KrCompileAllShaders and stub implementation 2020-08-06 18:15:58 -07:00
b405c3014f Creating image views for swap chain 2020-07-23 23:21:13 -07:00
af43934a01 Creating swap chain 2020-07-23 22:57:08 -07:00
9762e021ce A graphics device is now selected to ensure that it supports rendering to the window render surfaces 2020-07-23 18:29:03 -07:00
1ca6af364e Implemented KrCreateWindowSurface and KrDeleteWindowSurface 2020-07-23 17:03:40 -07:00
cf29556d41 WIP Implementing KrCreateWindowSurface and KrDeleteWindowSurface 2020-07-22 19:38:01 -07:00
46c356ebc5 Implemented KrMapResource 2020-07-22 17:11:27 -07:00
3737c5a250 Implemented unmapResource 2020-07-13 18:54:15 -07:00
5c349f7b94 Extenting stub functions from API into KRContext 2020-07-13 16:46:00 -07:00
18a2bb5688 Added KrCreateScene API 2020-06-11 21:41:17 -07:00
94b351f9ee Introducing KRResourceManager superclass 2019-12-08 16:29:49 -08:00
1c5520fa3a Added KRShader and KRShaderManager for spir-v binaries 2019-12-01 16:20:55 -08:00
9f71c278ea Imported glslang library. Refactoring shader manager. 2019-12-01 15:49:49 -08:00
Kearwood Kip Gilbert
cbbbe41cb0 Implemented KRSource and KRSourceManager. Implemented MoveToBundle api. 2019-08-18 17:57:41 -07:00
Kearwood Kip Gilbert
b9c737ac2f WIP async API and kraken_convert 2019-08-03 18:53:05 -07:00
Kearwood Kip Gilbert
dfce8148e3 Implementing Async API 2019-07-28 17:14:33 -07:00
Kearwood Kip Gilbert
9c72088eb3 Implementing async api 2019-07-28 16:46:46 -07:00
6f8a99f543 Initializing Vulkan Context 2018-08-06 21:34:16 -07:00
Kearwood Kip Gilbert
0ef0c4276d Windows build errors and warning fixes 2017-07-27 23:37:32 -07:00