Commit graph

21 commits

Author SHA1 Message Date
Light
dcedb1799c Style: Rename LT_* Log macros to LOG 2022-03-07 21:57:00 +03:30
Light
ffabc974aa Lets GOOOO 2022-03-04 22:40:20 +03:30
Light
102dec99e0 ltpch
- Added target_precompile_headers to CMakeLists
- Removed #include "ltpch.h" from every .cpp file
2021-10-07 14:51:17 +03:30
Light
7ec9690f52 Maintenance
- Mirror project maintenance and tidying
- General maintenance
2021-08-14 16:17:33 +04:30
Light
0e31de13b9 Update glGraphicsContext.cpp
- OpenGL debug messages now ignore source: api, type: other, id: 131185
2021-08-07 19:03:03 +04:30
Light
9033ceffa1 Major changes
- Major maintenance
2021-07-29 17:12:13 +04:30
Light
57616d755c WindowResizeEvent | FlushScene
- 'Renderer' now receives 'WindowResizedEvent' and handle the
      'Framebuffer' and viewport stuff
- Added 'Renderer' now uses the new 'FlushScene' function to flush when
      the mapped vertex buffer is filled
- The viewport is now set by 'RenderCommand' via the 'Renderer' rather
      than the 'GraphicsConntext'

- 'Window' no longer sends 'WindowResizedEvent' to 'GraphicsContext'
- 'GraphicsContext' no longer receives 'OnWindowResize' events

- Note: Sending events should be done by the 'Application'
2021-07-14 00:17:30 +04:30
Light
a3f0693655 Blender
- Added 'Blender' (gl, dx)
2021-07-09 11:56:31 +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
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
fcfe73923d Major changes
- Major tidying
- Some fixes
-
2021-06-19 15:12:42 +04:30
Light
31560897cd Debug
- Added the Debug folder
- Moved the Logger from Core to Debug
- Added Exceptions ( glException & dxException )
- Debugging the graphics is now a bit easier
2021-06-15 11:10:04 +04:30
Light
bb604e9540 Major changes 2021-06-15 09:39:11 +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
f3fe4c3713 Assertion 2021-05-27 19:54:05 +04:30
Light3039
ab92d8abc2 Maintenance 2021-05-27 18:55:30 +04:30
Light3039
8841216238 GraphicsContext & RenderCommands 2021-05-26 18:41:14 +04:30