Leon Styhre
0cce86beca
Created a common pixel conversion function for both renderers.
2020-12-18 16:49:11 +01:00
Leon Styhre
debf072a0e
Rewrote some code from C to C++
2020-12-16 23:59:00 +01:00
Leon Styhre
dc620aa11b
Cosmetic log output change to the renderer.
2020-11-29 20:33:17 +01:00
Leon Styhre
fe4bb0b7e9
Allowed non-accelerated rendering.
2020-11-27 21:04:49 +01:00
Leon Styhre
0b6dce687e
Changed to C++ casts throughout the application.
2020-11-17 23:06:54 +01:00
Leon Styhre
9bea6bb17e
Added a game info overlay to the screensaver.
...
Also refactored Window and SystemScreensaver and added a fade-in effect for the shaded background when opening menus.
2020-11-12 00:46:59 +01:00
Leon Styhre
8db04c5fcb
Added SPDX license identifiers to all source files.
2020-09-21 19:17:34 +02:00
Leon Styhre
2a852170a8
(Windows) Fixed some build issues and got the OpenGL shaders to work.
...
Also some additional code cleanup.
2020-09-16 22:14:35 +02:00
Leon Styhre
a34bc45e56
Added an opacity shader.
2020-09-12 19:17:26 +02:00
Leon Styhre
3643c08caf
Updates to the OpenGL shader handling.
2020-09-12 12:14:48 +02:00
Leon Styhre
fd10aba815
Updated the GLSL shader logic and added a postprocessing function.
2020-09-04 18:59:19 +02:00
Leon Styhre
d512c2b11d
Implemented OpenGL GLSL shader support.
2020-08-30 22:19:37 +02:00
Leon Styhre
77076c22f4
(Unix) Added border to borderless window if the resolution was manually changed.
...
Also fixed a mistake introduced in the last commit.
2020-08-23 22:40:15 +02:00
Leon Styhre
d6baa2d132
(macOS) Add a window border if the user has changed the resolution from the command line.
2020-08-23 22:19:37 +02:00
Leon Styhre
796d2c9ec8
(macOS) Disabled unusable command line arguments.
2020-08-23 21:53:21 +02:00
Leon Styhre
b8c6366349
(macOS) Made the game launching more seamless.
2020-08-23 18:41:08 +02:00
Leon Styhre
88a5962926
Changed '#ifdef' to '#if defined()' throughout the code.
2020-08-23 17:04:30 +02:00
Leon Styhre
af5a48ed10
Removed unnecessary #ifdefs for the SDL2 include files.
2020-08-23 16:15:06 +02:00
Leon Styhre
b0624f2bc9
Updates to make the application work correctly (more or less) on macOS.
2020-08-18 17:48:21 +02:00
Leon Styhre
ad960b28ac
Various updates to make the application compile on macOS.
2020-08-17 19:15:05 +02:00
Leon Styhre
8fcb56cfb3
Made game launching on Windows much more seamless.
...
Also added an option to hide the taskbar.
2020-07-18 13:21:44 +02:00
Leon Styhre
fe0e09ec7b
Changed log level for missing or empty game systems from Info to Debug.
...
Also did some small changes to the OpenGL logging.
2020-07-12 12:09:01 +02:00
Leon Styhre
5a7fb828a6
Added proper error handling for resource files and improved overall logging.
2020-07-08 17:01:47 +02:00
Leon Styhre
76aa239855
Initial update to make the application build and run on Windows.
...
Much more work will be needed to get the Windows port working properly.
2020-07-03 20:23:51 +02:00
Leon Styhre
e4fdd1e20d
Code cleanup and code documentation update.
...
As of this commit, the initial code cleanup and code documentation has been completed for the entire application.
2020-06-28 18:39:18 +02:00
Leon Styhre
5b17edde8b
Additional changes for SDL2 include files.
...
Of course I had to miss some things..
2020-06-26 18:11:24 +02:00
Leon Styhre
eeae8033bd
Use SDL2 include files instead of those for SDL version 1.
...
This resolves an irritating issue in the code editor where SDL2-specific functions could't be found. Not entirely sure about the SDL include file logic for other operating systems than Linux so the #ifdef directives may need to be updated further at a later date.
2020-06-26 18:03:55 +02:00
Leon Styhre
1f74723533
Another code cleanup and code documentation update.
2020-06-26 17:17:35 +02:00
Leon Styhre
0387d515fb
Update to fully support Clang/LLVM.
...
Also a general cleanup of CMakeLists.txt and many small code changes to satisfy Clang that complained quite a lot and actually wouldn't compile the binary at all at first.
2020-06-25 19:52:38 +02:00
Leon Styhre
8fefc9232c
Reorganized all resources to a subdirectory structure and added the CMake install prefix to the resource search path.
...
CMAKE_INSTALL_PREFIX and CMAKE_INSTALL_DATAROOTDIR are now used to resolve the resource path. As of this commit, there are only two paths where resources are searched, under the user home directory and under this install prefix directory (which defaults to /usr/local/share/emulationstation/resources but can be set to for instance /opt/share/emulationstation/resources using the appropriate CMake flags).
2020-06-21 19:35:43 +02:00
Leon Styhre
f5d3c8ac0b
Removed code for restarting the application, fixed system reboot and power off (and changed these names), fixed some small cosmetic issues with log file output and main menu
2020-05-15 17:58:25 +02:00
Leon Styhre
ffcf52c710
Made game launching more seamless and prevent minimizing of window when switching applications. Also added menu entry to choose between normal fullscreen mode and borderless fullscren mode
2020-05-15 17:51:32 +02:00
Tomas Jakobsson
b6f0f5c2c7
Fix clearcolors
2020-04-01 16:13:59 +02:00
Tomas Jakobsson
72786c83a0
Prepare for GLES 2.0
2020-01-03 18:04:58 +01:00
John Rassa
8d759c7c5d
add 'animate' to theme properties for imagegrid; fix blurriness on image upscaling
2019-10-09 18:51:33 -04:00
Shanti Gilbert
20b367009c
Fixes compiling when Renderer_GLES10 is used
2019-09-02 14:50:14 -05:00
Tomas Jakobsson
71ac016c3d
Make sure all vertices are properly rounded
2019-08-31 18:19:43 +02:00
Tomas Jakobsson
489d7de096
Eliminate drawRect that takes int's and make sure everything uses the float version properly, this way everything is rounded the same way
...
Only round the transforms when setting them on the GPU, to make sure everything is rounded the same, but only at the final moment
2019-08-31 17:58:36 +02:00
John Rassa
fc58af98fd
support for color gradients in drawRect and ImageComponent
2019-08-29 19:47:16 -04:00
Tomas Jakobsson
9de16045c9
whitespace cleanup
...
fix faulty line endings
silence warnings on windows
2019-08-25 17:23:02 +02:00
Tomas Jakobsson
a02a747c50
Redid the entire Renderer
...
Made all components render using triangle strips
2019-08-25 15:45:22 +02:00