Commit graph

30 commits

Author SHA1 Message Date
Light
8e39b82642 Deleted Logs 2021-07-23 09:44:49 +04:30
Light
cf888cfbe0 Update SandboxLayer.h 2021-07-14 01:23:22 +04:30
Light
cd30d0bba1 Instrumentpr
- Added Instrumentor
      * Instrumentor (class)
      * InstrumentorTimer (class, used statically)
      * ScopeProfileResult (struct)

- Tidy
      * wWindow::wWindow
2021-07-12 15:20:47 +04:30
Light
91a0c92fe7 - ConstantBuffers
- Added ConstantBuffers
- Updated GLAD to have GL_ARB_shading_language_420pack extensions
2021-07-05 14:36:36 +04:30
Light
b8ca0099cb Camera
- Added 'Camera'
- Added 'SetuniformMat4' to the 'Shader' , this is a temporary solution
- Added u_ViewProjection to glsl shaders

- Fixed 'Application's' placeholder delta time
- Fixed glfwKeyEvent returning KeyReleasedEvent on GLFW_REPEAT

- Note: Camera is not supported for DirectX for the time being due to hlsl not
       supporting uniforms like glsl
2021-07-05 01:59:18 +04:30
Light
2ab97d3863 Major Maintenance
- Major tidying
- Moved 'RendererProgram' classes out of the 'Renderer' class
- Moved 'RenderCommand' member variable out of 'GraphicsContext' and into
       the 'Renderer' class as a unique_ptr. results in 'Renderer' taking a
       windowHandle for construction
- Defined new macros for max quads in 'Renderer.h'
- Added the 'Stringifier' to 'Base.h'
- Added the 'ResourceManager' to the 'LightEngine.h'
- Application now logs the current file directory
- Fixed the forward declaration in GraphicsContext
- Fixed the debug break in Base.h
- Fixed 'dxShader' not logging compile errors
- 'glVertexLayout' now takes in a shared_ptr for 'VertexBuffer'
- 'glShader' now logs the shader compilation errors properly
- 'dxVertexLayout' now takes in a shared_ptr for 'Shader"
- Modified 'dxSharedContext' members to be private and made getters for them
- 'dxRenderCommand::SwapBuffers' now throws dxException for
       DXGI_ERROR_DEVICE_REMOD error
2021-07-01 19:25:46 +04:30
Light
c9352407e1 Textures
- Added Texture and glTexture class ( no dx implementation yet )
- Added TextureRendererProgram to Renderer
- Added LoadTexture to ResourceManager
- Added TextureShader
- Added awesomeface.png
- Removed unused shader files from Sandbox/res
- Fixed gladLoadGLLoader call in glGraphicsContext
- Enabled alpha blending in glGraphicsContext
- Added stb_image library
2021-06-29 11:01:11 +04:30
Light3039
a682523076 Initial Linux Support 2021-06-26 13:09:11 +04:30
Light
6ded78531f DrawQuad tint
- Renderer::DrawQuad now uses the parameter's value rather than the hardcoded ones.
2021-06-21 18:39:19 +04:30
Light
fcfe73923d Major changes
- Major tidying
- Some fixes
-
2021-06-19 15:12:42 +04:30
Light
21e4432c60 Maintenance
- Some tidying
- Minor fixes
2021-06-15 22:17:28 +04:30
Light
bb604e9540 Major changes 2021-06-15 09:39:11 +04:30
Light
612b382f30 Window
- Moved setting window properties to
      ClientSide

- Made Application::OnEvent private
2021-06-14 10:01:28 +04:30
Light
a3092c476c Batch Rendering & IndexBuffers & RendererProgram 2021-06-13 19:35:48 +04:30
Light3039
2f560239cb DirectX 2021-06-02 17:20:15 +04:30
Light3039
cefe62be9f Initial Log 2021-06-01 11:23:41 +04:30
Light3039
4678a7dbf6 Stringifier + glDebugCallback 2021-05-31 23:28:29 +04:30
Light3039
f511f6d771 First Triangle! 2021-05-30 16:45:54 +04:30
Light3039
9ae205ac82 VertexBuffer 2021-05-28 05:12:23 +04:30
Light3039
ab92d8abc2 Maintenance 2021-05-27 18:55:30 +04:30
Light3039
d4a9a0366f ImGui Events 2021-05-27 12:51:39 +04:30
Light3039
4621f86cb2 ImGui & UserInterface class 2021-05-27 10:41:32 +04:30
Light3039
8841216238 GraphicsContext & RenderCommands 2021-05-26 18:41:14 +04:30
Light3039
5b0ffe1365 Added GLAD 2021-05-25 21:22:01 +04:30
Light3039
727ea3e5aa Added glm 2021-05-25 18:35:52 +04:30
Light3039
8d633dac01 Added GLFW 2021-05-21 15:00:29 +04:30
Light3039
ce790b4d38 Added spdlog 2021-05-21 10:55:39 +04:30
Light3039
8ee8377c25 Added premake5 2021-05-20 11:49:24 +04:30
Light3039
5f457aa8d1 Added entry point 2021-05-20 10:21:08 +04:30
Light3039
dc0549a40e hello world 2021-05-19 21:28:51 +04:30