Commit Graph

  • 672a14e656 1.removed command_buffer from RenderTarget 2.created and used RenderbufferInfo hyzboy 2020-10-27 22:43:24 +08:00
  • d0fd9af309 add CreatePipeline functions at RenderTarget,remove other they at other places. hyzboy 2020-10-27 18:11:39 +08:00
  • 341acc92e1 use RGB565+RG8 GBuffer format. hyzboy 2020-10-27 14:29:26 +08:00
  • 35d0c6c9c9 use new Mouse/KeyboardButton event names. hyzboy 2020-10-27 14:28:35 +08:00
  • 613be62b73 use RG8 format Normal in GBuffer hyzboy 2020-10-27 11:22:04 +08:00
  • 5722e62605 延迟渲染最终世界坐标改用深度逆推 hyzboy 2020-10-26 22:57:29 +08:00
  • 151dd86f94 use max Swapchain format. hyzboy 2020-10-26 22:28:55 +08:00
  • e2b9983add optimized BuildCommandBuffer of VulkanAppFramework hyzboy 2020-10-26 22:16:38 +08:00
  • 0ecd947f8a add gui examples. hyzboy 2020-10-26 21:51:51 +08:00
  • 40d91b5992 remove main_rp value of SwapchainRenderTarget hyzboy 2020-10-26 21:51:30 +08:00
  • b4c385c40c set ColorAttachments at GPUDevice::CreatePipeline hyzboy 2020-10-26 16:08:42 +08:00
  • 744c3a1963 little change hyzboy 2020-10-26 15:45:03 +08:00
  • 9db09fced1 fix a but, it's ChangeTexture2D multi functions don't SubmitTexture hyzboy 2020-10-26 15:43:56 +08:00
  • e13d442ee1 support texture file with mipmaps data. hyzboy 2020-10-25 21:29:18 +08:00
  • 7f71b50316 move position of GetMipLevel functions. hyzboy 2020-10-25 15:07:41 +08:00
  • 2c5fd977f2 finished support autoGenerateMipmaps hyzboy 2020-10-24 21:50:36 +08:00
  • 10c79f30a0 upgrade examples hyzboy 2020-10-24 19:14:31 +08:00
  • 0d614b8902 support new AutoDeleteArray hyzboy 2020-10-24 19:12:32 +08:00
  • e19ced52e6 improve safe at VulkanAppFramework.h hyzboy 2020-10-24 19:11:54 +08:00
  • 0e411740ad all codes use new method, it's TextureCreateInfo hyzboy 2020-10-24 19:11:03 +08:00
  • 507c46cc78 create a new VKTextureCreateInfo.h hyzboy 2020-10-23 21:21:09 +08:00
  • d38739397e 1.set uv_scale of TorusCreateInfo 2.use repeat texture warp hyzboy 2020-10-22 21:24:17 +08:00
  • 187f95b00f add uv_scale values at TrousCreateInfo hyzboy 2020-10-22 21:23:35 +08:00
  • 71407aecad fix memory leak hyzboy 2020-10-22 19:37:28 +08:00
  • cb4669d37c deferred render example can run. hyzboy 2020-10-22 18:57:02 +08:00
  • 96c237e504 add LoadTextuer2D function at RenderResource hyzboy 2020-10-22 12:22:10 +08:00
  • 8f78e6ea18 negative normalY at InlineGeometry, because from OpenGL axis. hyzboy 2020-10-22 12:10:02 +08:00
  • 1038ecc86b add normal matrix at PushConstant struct. hyzboy 2020-10-22 12:08:28 +08:00
  • 024b6dac9c add normal matrix by local_to_world matrix at PushConstant struct hyzboy 2020-10-22 12:06:53 +08:00
  • ba72addfbf fix memory leak at InlineGeometryScene.cpp hyzboy 2020-10-22 01:29:09 +08:00
  • 91ce2a73ab test NormalMap hyzboy 2020-10-21 22:16:50 +08:00
  • 7b2e9a1d2c use WaitFence at submit texture hyzboy 2020-10-21 22:16:35 +08:00
  • 518e3cf7f0 update example hyzboy 2020-10-21 21:30:06 +08:00
  • 7a4dce3115 update InlineGeometryScene example hyzboy 2020-10-21 21:05:03 +08:00
  • 2045743249 redesign CreateRenderableAxis hyzboy 2020-10-21 18:24:00 +08:00
  • cca69c10b9 layout codes. hyzboy 2020-10-21 12:52:32 +08:00
  • c8955b6f35 remove vulkan namespace hyzboy 2020-10-21 12:47:06 +08:00
  • 0e56a6b00c a lot of rename hyzboy 2020-10-21 12:39:22 +08:00
  • a20afeba9e a lot of rename hyzboy 2020-10-21 12:09:15 +08:00
  • 6dae81ac93 add ThemeForm,DTForm hyzboy 2020-10-21 11:44:33 +08:00
  • 917424e784 move VK source files to up-level folder hyzboy 2020-10-21 11:43:18 +08:00
  • 114c57510c file rename, from ShaderModuleMap to VKShaderModuleMap hyzboy 2020-10-21 10:52:12 +08:00
  • 3c01881a6b fix a but, it doesn't disable Depth AttachmentDescription at RenderPass hyzboy 2020-10-20 18:26:02 +08:00
  • 5972d075b3 update examples codes. hyzboy 2020-10-19 22:26:42 +08:00
  • 7f38492dcc improve the OffscreenRender example. hyzboy 2020-10-19 22:24:51 +08:00
  • 7d856a5c79 use new struct at CreateShaderModule hyzboy 2020-10-19 22:24:25 +08:00
  • 09773ddd3e add attributes at CircleCreateInfo hyzboy 2020-10-19 22:24:00 +08:00
  • b0b6e48f86 improve the Circle inline-geometry hyzboy 2020-10-19 22:23:39 +08:00
  • 2403cfab10 add ShaderModuleCreateInfo struct hyzboy 2020-10-19 22:23:03 +08:00
  • 99795c730a add set ClearColor at VulkanAppFramework hyzboy 2020-10-19 22:22:44 +08:00
  • 4822c9ce53 VulkanAppFramework增加SetClearColor函数,并产生对应功能。 hyzboy 2020-10-18 19:12:00 +08:00
  • 217f712ca5 缩小离屏尺寸,以突显结果 hyzboy 2020-10-18 18:43:28 +08:00
  • 3b048bfba9 增加重要注释说明 hyzboy 2020-10-18 18:43:02 +08:00
  • 5e5275e743 finished OffscreenRender test. hyzboy 2020-10-18 18:37:46 +08:00
  • c5f971b660 修改renderpass默认将depth缓冲区在最后保留下来。 hyzboy 2020-10-18 18:37:25 +08:00
  • b8e332a109 RenderTarget doesn't set extent, it's a bug. hyzboy 2020-10-18 18:35:03 +08:00
  • 7e2a7bf702 use new RenderTarget construct function. hyzboy 2020-10-18 18:01:55 +08:00
  • a28e7c3eca use WaitQueue instead WaitFence after teture upload. hyzboy 2020-10-18 18:01:24 +08:00
  • 8017e319c7 save the Renderpass data at RenderTarget class. but It's a really good idea? hyzboy 2020-10-18 18:00:37 +08:00
  • 377fb5718d ColorTextures and Framebuffer use arrays at RenderTarget class. hyzboy 2020-10-18 17:50:54 +08:00
  • 6c869916df add present_complete_semaphore in SwapchainRenderTarget hyzboy 2020-10-18 13:55:12 +08:00
  • ed2feb9165 update function name and value name,support new GPUSemaphore hyzboy 2020-10-18 13:53:43 +08:00
  • 005b685b44 use BindFramebuffer instead BindRenderpass, that is function of CommandBuffer hyzboy 2020-10-18 13:52:58 +08:00
  • 282344f61e rename a class, use GPUSemaphore instead Semaphore hyzboy 2020-10-18 13:52:06 +08:00
  • 7998fa6e41 OffscreenRender example,but it doesn't run. hyzboy 2020-10-17 22:13:08 +08:00
  • b833688f2a move QueueWaitIdle to SubmitQueue class. hyzboy 2020-10-17 22:12:16 +08:00
  • c686cf70ec use a new color_final_layout at CreateRenderpass, and force set color_final_layout at CreateRenderpass of SwapchainRenderTarget hyzboy 2020-10-17 16:28:07 +08:00
  • 03354c62b9 fix a bug, discard object before CreateRenderTarget hyzboy 2020-10-17 16:26:53 +08:00
  • 834b737e1a fix a bug, it don't check the Texture before get extent hyzboy 2020-10-17 16:25:59 +08:00
  • 6efa0ff8d4 update CMakeLists.txt hyzboy 2020-10-17 14:21:30 +08:00
  • 8fc19e802d add new create function of Framebuffer hyzboy 2020-10-17 14:20:49 +08:00
  • 9b6ea20cca add CommandBuffer::BeginRenderPass(RenderTarget *) hyzboy 2020-10-17 14:18:54 +08:00
  • cf11ce6054 Freambuffer deleted VKFramebufferCreateInfo data; hyzboy 2020-10-17 14:18:09 +08:00
  • bfa7cf50e1 create VKSubmitQueue.h/.cpp hyzboy 2020-10-17 14:16:52 +08:00
  • 924df77e1f new CreateRenderTarget functions. hyzboy 2020-10-16 19:44:00 +08:00
  • bfec51d0a3 update followed CreateFramebuffer&CreateRenderpass hyzboy 2020-10-16 19:26:28 +08:00
  • d76de4d623 CreateRenderPass support multi color attachment hyzboy 2020-10-16 19:25:27 +08:00
  • 093eb13f16 move CreateFramebuffer functions to VKDeviceFramebuffer.cpp hyzboy 2020-10-16 19:24:33 +08:00
  • cc18764cf6 use InlinePipeline instead filename hyzboy 2020-10-16 17:24:01 +08:00
  • ccf24106ab CreatePipeline functions support InlinePipeline hyzboy 2020-10-16 12:48:54 +08:00
  • b93925ce5a fix attachment index error of Create renderpass hyzboy 2020-10-16 12:27:30 +08:00
  • 1e0676c6c7 to improve create program, that are RenderPass and Framebuffer hyzboy 2020-10-15 22:13:15 +08:00
  • c960731c28 add hasColor/hasDepth.... functions at ImageView hyzboy 2020-10-15 19:29:26 +08:00
  • ea2010a2c6 to improve Device::CreateTexture2D serial functions. hyzboy 2020-10-15 17:33:52 +08:00
  • 9f8cce3e4b to improve CreateMemory(VkImage) function, auto BindImage hyzboy 2020-10-15 17:33:05 +08:00
  • c8f6017641 change function name to CreateColorFramebuffer and CreateDepthFramebuffer that is CreateFramebuffer hyzboy 2020-10-15 17:32:26 +08:00
  • e283971edd add new datatype support at TextureLoader hyzboy 2020-10-15 17:30:37 +08:00
  • 9cc92b5805 add CommandBuffer value at RenderTarget class. hyzboy 2020-10-15 17:30:03 +08:00
  • 490af01162 add clean&zero at PhysicalDevice::GetFormatProperties function hyzboy 2020-10-15 17:29:32 +08:00
  • cf1f39fa3d add TextureCreateInfo struct. hyzboy 2020-10-15 17:25:22 +08:00
  • c38d293498 to improve VKCommandBuffer::BeginRenderPass function, use Framebuffer type instead RenderTarget. hyzboy 2020-10-15 17:25:01 +08:00
  • 2f98b1d08c create a lot of GUI source code files. hyzboy 2020-10-14 22:05:24 +08:00
  • 111f1f8951 add gui/Layout.h Widget.h hyzboy 2020-10-14 21:05:30 +08:00
  • 94cd8e1d78 layout codes hyzboy 2020-10-14 21:05:12 +08:00
  • 24474df151 add 2d AA Line examples hyzboy 2020-09-30 14:21:24 +08:00
  • 5844004489 upgrade submodules hyzboy 2020-09-28 17:43:54 +08:00
  • f5a5a8a438 update examples hyzboy 2020-09-28 11:16:45 +08:00
  • d911a59fd9 upgrade RectanglePrimitive example, support new material/pipeline system hyzboy 2020-09-27 22:30:12 +08:00
  • d65cab330e use new AutoDeleteArray construct function. hyzboy 2020-09-27 21:20:17 +08:00
  • 113b6da33b delete CreateImage serial functions for VKDevice class hyzboy 2020-09-27 21:18:46 +08:00