|
|
2bb0cbaf6b
|
source/Graphics/Graphics.cpp: implement getDriver()
|
2023-02-18 13:10:43 +01:00 |
|
|
|
869b41c38a
|
source/Platform/Unix/UnixMisc.cpp: tab indentation fix.
|
2023-02-18 13:08:03 +01:00 |
|
|
|
8a0946eb3a
|
.gitattributes: add more filetypes.
|
2023-02-18 13:07:01 +01:00 |
|
|
|
dcbce9a153
|
.gitignore: Ignore VS debug files.
|
2023-02-18 13:06:43 +01:00 |
|
|
|
a024e7015d
|
Whitespace fixes.
|
2023-02-18 13:06:02 +01:00 |
|
|
|
07f32ee129
|
include/Spectre/Graphics.h: Adding getDisplay()
|
2023-02-18 13:05:07 +01:00 |
|
|
|
d57d01c4b4
|
README.md: Add "sh" to code blocks.
|
2023-02-18 13:04:05 +01:00 |
|
|
|
9c4c6152c9
|
source/Platform/Win32/Win32Display.cpp: Whitespace fix.
|
2022-10-08 17:29:27 +02:00 |
|
|
|
9b683e9a5c
|
source/Graphics/Graphics.cpp: should delete m_gfxdrv in destructor.
|
2022-10-08 16:49:04 +02:00 |
|
|
|
d70ca4a6c1
|
include/Spectre/System/Log.h: Whitespace fix.
|
2022-10-08 14:54:40 +02:00 |
|
|
|
3c7a5d148d
|
include/Spectre/Graphics/PixelFormat.h: Whitespace fix.
|
2022-10-03 22:11:39 +02:00 |
|
|
|
82343f0835
|
source/Graphics/Image.cpp: minor style fix.
|
2022-10-03 22:11:26 +02:00 |
|
|
|
0a5eb397c7
|
Platform/Unix/X11Display: Adding stub for enterFullscreen and exitFullscreen
|
2022-10-02 23:31:46 +02:00 |
|
|
|
84f0a83bee
|
source/Platform/Unix/X11Display.cpp: Whitespace fix.
|
2022-10-02 17:11:27 +02:00 |
|
|
|
605e0df902
|
source/Platform/Unix/X11Display.cpp: call setDecoration() in create()
|
2022-10-02 17:07:14 +02:00 |
|
|
|
36c6024649
|
Platform/Unix/X11Display: remove setIcon(const std::string&) as this exists in Generic Display class.
|
2022-10-02 17:06:02 +02:00 |
|
|
|
a8fa3981f4
|
source/Platform/Unix/Xlib.cpp: assert _priv::display in shutdown()
|
2022-10-02 17:02:10 +02:00 |
|
|
|
b78ddba11e
|
Platform/Unix/X11Display: implement setDecoration()
|
2022-10-02 17:01:40 +02:00 |
|
|
|
c20c79cfd3
|
Adding source/Platform/Unix/wm_hints.h
|
2022-10-02 17:00:45 +02:00 |
|
|
|
1c7cc31b52
|
source/Platform/Unix/X11Display.cpp: Fix getPosition() as it did not take border width into account.
|
2022-10-01 16:09:43 +02:00 |
|
|
|
46bc8eb5d8
|
Platform/Unix/Xlib: Adding getParentWindow()
|
2022-10-01 16:09:43 +02:00 |
|
|
|
05b59a4677
|
engine.cmake: Small comment fix.
|
2022-10-01 16:09:43 +02:00 |
|
|
|
7f141a8930
|
engine.cmake: OpenGL on unix needs to link with GLX.
|
2022-10-01 16:09:43 +02:00 |
|
|
|
a4f7c90f63
|
engine.cmake: Unix systems needs to link with X11 and Xrandr
|
2022-10-01 16:09:42 +02:00 |
|
|
|
54aefa4bdd
|
engine.cmake: fix ENGINE_PLATFORM_UNIX_SRC. they are in Unix directory not X11
|
2022-10-01 16:09:42 +02:00 |
|
|
|
f2fc9d46b8
|
Revert "include/Spectre/Display/DisplayDescription.h: change Empty to None"
This reverts commit 7c23f5dfd9.
`None` is defined in X11.
|
2022-10-01 16:09:42 +02:00 |
|
|
|
6007f52194
|
README.md: Update with cmake info.
|
2022-09-28 15:54:20 +02:00 |
|
|
|
36af790293
|
Remove bam
|
2022-09-26 22:31:50 +02:00 |
|
|
|
0406a38895
|
vendor/stb/include/stb_image_write.h: Remove _CTR_SECURE_NO_WARNINGS as we define it in cmake.
|
2022-09-26 22:23:43 +02:00 |
|
|
|
2dc8050ce3
|
Adding CMake again :)
|
2022-09-26 22:22:25 +02:00 |
|
|
|
cb4274bb1c
|
source/GfxDriver/OpenGL/OpenGLShaderProgram.cpp: Indent fix.
|
2022-09-26 14:12:47 +02:00 |
|
|
|
b6446e129b
|
source/GfxDriver/OpenGL/OpenGLShaderProgram.cpp: Whitespace fix.
|
2022-09-26 14:11:38 +02:00 |
|
|
|
736f30c33a
|
source/GfxDriver/OpenGL/OpenGLShaderProgram.cpp: remove unused variable
|
2022-09-26 14:11:17 +02:00 |
|
|
|
50e9300667
|
Game/FPSCounter: change m_fps variable and getFPS() return value from float to double.
MSVC complains about loss of information because sp::Time::seconds() returns double.
|
2022-09-26 12:06:40 +02:00 |
|
|
|
c11d71aaaa
|
Spectre/System/File: adding readString()
|
2022-09-25 16:31:52 +02:00 |
|
|
|
99ae7f2236
|
.gitignore: Add VS Code stuffs.
|
2022-09-18 13:59:57 +02:00 |
|
|
|
d7889ebac0
|
engine.build.lua: include OpenGLShaderProgam in gfxdriver_opengl_module
|
2022-09-18 13:58:10 +02:00 |
|
|
|
bb205c6ad1
|
engine.build.lua: compile GfxDriver/ShaderProgram
|
2022-09-18 13:57:20 +02:00 |
|
|
|
81f3e1e399
|
Graphics: Remove Shader and ShaderProgram classes. they are combined into GfxDriver/ShaderProgram.
|
2022-09-18 13:56:37 +02:00 |
|
|
|
82e08d0785
|
Graphics/DefaultRenderer2D: use GfxDriver/ShaderProgram instead of Graphics/ShaderProgram
|
2022-09-18 13:55:43 +02:00 |
|
|
|
9bea188686
|
Graphics/BatchRenderer2D: use GfxDriver/ShaderProgram instead of Graphics/ShaderProgram
|
2022-09-18 13:54:32 +02:00 |
|
|
|
cc1f287a3a
|
source/Graphics/RenderState.cpp: Use GfxDriver/ShaderProgram instead of Graphics/ShaderProgram.
|
2022-09-18 13:53:48 +02:00 |
|
|
|
b85b4ab601
|
include/Spectre/Graphics/Renderer2D.h: Dont have to include ShaderProgram here.
|
2022-09-18 13:51:18 +02:00 |
|
|
|
69e5ae22d2
|
Adding GfxDriver/OpenGL/OpenGLShaderProgram class
|
2022-09-18 12:26:31 +02:00 |
|
|
|
cd9114bfd0
|
Adding Spectre/GfxDriver/ShaderProgram base class.
|
2022-09-18 12:26:01 +02:00 |
|
|
|
b91bc22db1
|
engine.build.lua: Graphics module: OpenGL.cpp is now called Graphics.cpp
|
2022-09-18 12:24:44 +02:00 |
|
|
|
038d997421
|
engine.build.lua: build OpenGL gfx driver.
|
2022-09-18 12:22:19 +02:00 |
|
|
|
4dad1a5d75
|
Graphics class: use GfxDriver API.
|
2022-09-17 12:07:28 +02:00 |
|
|
|
d3debea41a
|
Adding OpenGL Driver.
|
2022-09-17 12:06:47 +02:00 |
|
|
|
ab11f7b9db
|
Adding include/Spectre/GfxDriver/GfxDriver.h
|
2022-09-17 12:06:00 +02:00 |
|