Alexis Maiquez
cad78c58f9
+ Support animated images in the background
...
~ ITextures can now also return sub-textures width and height
+ added proper code to handle animated images to properly play at normal speed
this should actually fix #79 for good
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-03-06 01:28:31 +01:00
Alexis Maiquez
34635ba6ac
~ fixed video background playback being broken
...
~ CTexture should properly pick up the right width and height for animated backgrounds too
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-03-01 00:29:26 +01:00
Alexis Maiquez
64d2f77d41
+ added support for reading multiple images from a texture
...
first steps to fix #79
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-02-28 23:48:43 +01:00
Alexis Maiquez
c060ca991c
Merge branch 'main' of git@github.com:Almamu/linux-wallpaperengine.git
2022-02-28 14:55:00 +01:00
Alexis Maiquez
f4955f1531
- removed dependency on std::filesystem
...
~ moved some things into CContext so main is a bit cleaner
~ moved wallpaper object creation into CWallpaper so main is a bit cleaner
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-02-28 14:54:45 +01:00
Alexis Maiquez
82a1e3698d
Updated codeql-analysis so it builds properly
2022-02-28 02:34:06 +01:00
Alexis Maiquez
009321572e
- removed custom glfw3 from the project as it's not needed anymore
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-02-28 02:31:51 +01:00
Alexis Maiquez
0aefcbe1a0
~ fixed backgrounds not rendering in the proper positions under some specific configurations
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-02-28 02:22:46 +01:00
Alexis Maiquez
9ff5330a39
Merge branch 'pr75-main'
...
# Conflicts:
# src/WallpaperEngine/Render/CContext.cpp
# src/WallpaperEngine/Render/CWallpaper.cpp
# src/WallpaperEngine/Render/CWallpaper.h
2022-02-28 02:09:15 +01:00
Alexis Maiquez
5bc0525493
~ reorganized context initialization so opengl is ready
...
~ moved pixmap, gc and image creation to the initialization
TODO: SUPPORT SCREEN SIZE CHANGES (THIS MIGHT NEED REINITIALIZATION OF THINGS)
~ moved fbo creation to initialization as it won't change anymore
~ reverted render code to the original loop as now the framebuffer is exactly as big as the whole display
~ moved glReadPixels off the wallpaper as that's code is exclusively used for screen rendering and not general rendering
~ XChangeProperty forces the update of the background, otherwise the compositor stops refreshing the screen and the background gets stuck
~ updated viewport variables to be integers instead of floats
~ reverted frame rendering code to be simpler and added the option to specify a framebuffer as target instead of screen
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-02-28 02:03:47 +01:00
Hynak
a9db3ff364
Fixed issue #59 for Nvidia graphics cards and added compositor support ( #75 )
...
* Fixes issue #59 's origial issue
* Hide GLFW for X Render
* Enable compositor support
* Added signal handling if the user terminates the program
* Fixed issue with screens not at 0, 0 not rendering. Also cleaned up.
* Consolidated the renderImage function into render.
* Moved display, pm, and gc to class members.
* Fixed memory leak due to forgetting to move initializer code.
* Revert changes due to introducting flickering.
2022-02-28 01:58:41 +01:00
Hynak
a2222b05ef
Revert changes due to introducting flickering.
2022-02-26 19:41:02 -05:00
Hynak
520ceddf48
Fixed memory leak due to forgetting to move initializer code.
2022-02-26 19:06:18 -05:00
Hynak
2d12903185
Moved display, pm, and gc to class members.
2022-02-26 17:46:19 -05:00
Hynak
caf79766dc
Consolidated the renderImage function into render.
2022-02-26 17:40:16 -05:00
Hynak
a10a994da5
Fixed issue with screens not at 0, 0 not rendering. Also cleaned up.
2022-02-25 14:56:17 -05:00
Hynak
e56f128592
Added signal handling if the user terminates the program
2022-02-25 14:38:03 -05:00
Hynak
6eaea71086
Enable compositor support
2022-02-25 14:30:27 -05:00
Hynak
b2d4dd128d
Hide GLFW for X Render
2022-02-25 14:27:56 -05:00
Hynak
c11c6928ea
Fixes issue #59 's origial issue
2022-02-25 14:23:37 -05:00
Alexis Maiquez
131801b7f0
~ quick and dirty fix for composite color not being the right value (need to verify that this is actually what should happen)
...
fixes @C0nvert's #59 issue
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-02-23 09:50:55 +01:00
Alexis Maiquez
42b8c92c1c
~ Fix compilation with latest avcoded library
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-02-23 08:45:06 +01:00
Alexis Maiquez
7cd213abf9
Merge branch 'main' of git@github.com:Almamu/linux-wallpaperengine.git
2022-02-18 19:03:25 +01:00
Alexis Maiquez
d5745b1cfa
~ Make use of the resolved path after startup and ensure it ends with a trailing slash.
...
Should fix @C0nvert 's issues on #59
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-02-18 19:02:55 +01:00
Alexis Maiquez
7b16c5bbde
Fix codeql analysis not working
2022-02-11 15:53:47 +01:00
Alexis Maiquez
d5586b168b
+ Added checks for directories and ensuring specified wallpaper folder exists before initialization, fixes #70
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-02-11 15:50:54 +01:00
Alexis Maiquez
20c4ad3652
+ Added better logging for asset loading errors and some extra information, should help get better information on #59
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-01-31 19:40:22 +01:00
Alexis Maiquez
a66bc26f1d
~ Fix issue #66 , command-line parameters were not parsed properly
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-01-31 17:49:48 +01:00
Alexis Maiquez
6ec5770660
Merge branch 'main' of git@github.com:Almamu/linux-wallpaperengine.git
2022-01-25 00:19:32 +01:00
Alexis Maiquez
8cf2f7de55
~ Updated .gitignore
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-01-25 00:19:27 +01:00
Alexis Maiquez
f5ed023725
Fixed frame limiter to work properly with GLFW
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-01-25 00:17:14 +01:00
Alexis Maiquez
201ce5c39c
Create codeql-analysis.yml ( #68 )
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2022-01-24 23:59:51 +01:00
Alexis Maiquez
c39456df53
Create FUNDING.yml
2022-01-24 23:14:38 +01:00
Alexis Maiquez
82cd9ce7a2
Update issue templates
2022-01-24 23:13:32 +01:00
Alexis Maiquez
fa2720f07c
~ Fixed multiple screens not getting a background drawn
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-12-04 23:49:28 +01:00
Alexis Maiquez
577b81215b
Merge branch 'main' of git@github.com:Almamu/linux-wallpaperengine.git
2021-12-04 23:45:09 +01:00
Alexis Maiquez
18ab051d47
~ Fix background setup not working properly after the implementation of mouse support
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-12-04 23:44:17 +01:00
Alexis Maiquez
e08a252f03
+ Added brightness reading for image objects
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-12-04 23:15:56 +01:00
Alexis Maiquez
afe7452340
+ added support for alpha and color loading for images
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-12-04 21:57:21 +01:00
Alexis Maiquez
816e0a6ddf
~ Hopefully take into account object scale properly
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-12-04 03:54:46 +01:00
Alexis Maiquez
49a5f9e2ab
+ added proper framebuffer clearing for passes
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-12-04 02:50:11 +01:00
Alexis Maiquez
b55f2e8bf4
+ Added PKGV0015 support
...
+ Added basic support for mouse position on shaders (still needs to be adjusted for backgrounds that are too big for the screen)
(this makes XRAY effects work)
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-12-03 02:02:46 +01:00
Alexis Maiquez
d0572b257f
~ Combos can have no default value
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-12-02 22:00:43 +01:00
Alexis Maiquez
342522cd1d
+ Added handling for floating point precision qualifiers on type detection
...
+ Fixed textures not being detected properly on images that do not have any source
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-12-02 21:33:50 +01:00
Alexis Maiquez
13bcd52e8c
~ Fixed regression in composite layer handling
...
~ Properly fixed usage of "previous" as texture
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-11-30 23:49:08 +01:00
Alexis Maiquez
b920e94870
~ Fixed some backgrounds being black because of wrong composite layer ordering
...
~ Videos should no longer appear vertically mirrored
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-11-30 21:32:19 +01:00
Alexis Maiquez
96fb8a6700
+ Added some more default values for shaders so genericimage2 displays properly
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-11-29 14:37:09 +01:00
Alexis Maiquez
7db3618350
+ Added parsing for shader constants that have extra information
...
+ Added support for slider properties
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-11-29 13:56:50 +01:00
Alexis Maiquez
9d2e9b43ee
~ Fixed an infinite loop in the shader compiler
...
+ Added more valid variable types to the shader compiler so compilation doesn't fail
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-11-29 13:36:15 +01:00
Alexis Maiquez
cbb02873a8
~ Updated README.md to reflect the changes in command-line execution
...
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2021-11-29 13:04:25 +01:00