summaryrefslogtreecommitdiff
path: root/src/render/OpenGL.cpp
Commit message (Collapse)AuthorAgeFilesLines
* decorations: Decoration Positioner (#3800)Vaxry2023-11-111-2/+2
|
* opengl: switch to black-and-white for alpha mattesVaxry2023-11-091-2/+2
| | | | also fixes shadows on 10b
* opengl: remove unused alpha matte from shadowVaxry2023-11-091-15/+12
|
* renderer: added new customization options to the blur shaders (#3650)Visual-Dawg2023-11-061-30/+47
| | | Adds to `decoration:blur:` `vibrancy` and `vibrancy_darkness`
* renderer: properly set currentFB on snapshot rendersVaxry2023-11-041-0/+6
|
* renderer: allow transform enabling from outside openglVaxry2023-11-041-0/+4
|
* shadows: fix on transformedVaxry2023-11-041-25/+70
|
* Internal: Hyprland box implementation (#3755)Vaxry2023-11-041-76/+63
| | | | | | | * box impl * remove unused operators * missed applyfromwlr
* Decos: Window decoration flags, shadow improvements (#3739)Vaxry2023-11-041-13/+40
|
* renderer: properly pass 10-bit formats to openglVaxry2023-10-301-9/+9
|
* hooksystem: add callbackinfo struct and cancellable eventsVaxry2023-10-211-1/+1
|
* renderer: add transformersVaxry2023-10-211-0/+21
|
* shaders: support changing the outer radius of borders independentlyVaxry2023-10-191-1/+3
|
* renderer: cast std::clamp args to be of the same type (#3589)Jan Beich2023-10-171-1/+1
| | | | | | | | | | | src/render/OpenGL.cpp:1769:41: error: no matching function for call to 'clamp' const auto FORCEWALLPAPER = std::clamp(*PFORCEWALLPAPER, -1L, 2L); ^~~~~~~~~~ /usr/include/c++/v1/__algorithm/clamp.h:38:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('int64_t' (aka 'long long') vs. 'long') clamp(const _Tp& __v, const _Tp& __lo, const _Tp& __hi) ^ /usr/include/c++/v1/__algorithm/clamp.h:27:1: note: candidate function template not viable: requires 4 arguments, but 3 were provided clamp(const _Tp& __v, const _Tp& __lo, const _Tp& __hi, _Compare __comp) ^
* cleanup: Replace find() with C++20 starts_with(), ends_with() and contains() ↵Philip Damianik2023-10-151-1/+1
| | | | | | | (#3572) * Replace find() with C++20 starts_with() and ends_with() * Replace find() with C++20 contains()
* renderer: add force_wallpaper instead of no_hypr_chan (#3459)DaniD3v2023-10-071-15/+19
|
* renderer: nuke multisample_edges in favor of a faster algorithmvaxerski2023-09-301-73/+60
|
* misc: add disable_hypr_chan option (#3343)Mihai Fufezan2023-09-171-3/+7
|
* internal: Remove all `.c_str()` calls when using `std::vformat` (#3198)Philip Damianik2023-09-061-2/+2
| | | Signed-off-by: pdamianik <39028343+pdamianik@users.noreply.github.com>
* internal: Formatter rework (#3186)Vaxry2023-09-061-8/+8
|
* renderer: Fix blur for passes set to 0. (#3181)Dickby2023-09-051-5/+2
|
* renderer: fixup occlusion conditionsvaxerski2023-09-011-0/+2
| | | | fixes #3123 I fucking hate yall
* renderer: make contrast and brightness adjustments before renderingvaxerski2023-08-281-9/+51
|
* renderer: add decoration:blur:specialvaxerski2023-08-251-3/+51
| | | | will blur behind the special ws
* renderer: track fade alpha for blur if ignore opacity is truevaxerski2023-08-231-2/+2
| | | | with ignore_opacity, blur would stay at 1 opacity during a fadeOut animation on layers, making it look wrong. Fixes #3051
* rules: add layer and window xray rulesvaxerski2023-08-091-6/+39
|
* renderer: fully switch to premultiplied alphavaxerski2023-08-061-21/+10
|
* renderer: Various Blur Improvements (#2877)Vaxry2023-08-031-17/+80
| | | | | * move blur to its own category * blur improvements, contrast, brightness, noise
* renderer: cleanup old redundancies in CFramebuffervaxerski2023-07-291-1/+1
|
* renderer: reset scissor after renderTexturePrimitivevaxerski2023-07-251-0/+2
|
* renderer: adjust distribution of backgroundsvaxerski2023-07-241-2/+2
|
* backgrounds: add hypr chan var 2vaxerski2023-07-241-1/+2
|
* render: use primitive end() only when no screen shader is presentvaxerski2023-07-231-1/+4
|
* opengl: fix warnvaxerski2023-07-221-2/+0
|
* renderer: use primitive rendering for copying buffersvaxerski2023-07-211-2/+58
|
* background: add option to force hypr chanvaxerski2023-07-201-2/+3
|
* renderer: don't occlude when pre-blur is queuedvaxerski2023-07-201-4/+8
|
* tracy: add more opengl zonesvaxerski2023-07-201-0/+4
|
* Debug: add tracyvaxerski2023-07-201-0/+27
|
* opengl: adjust blend and reduce the usage of clearvaxerski2023-07-201-16/+29
|
* toplevelexport: support dmabuf + various fixesvaxerski2023-07-201-0/+4
|
* render: avoid allocating mirrorfb for no reasonvaxerski2023-07-191-2/+8
|
* internal: Wrap regions (#2750)Vaxry2023-07-191-135/+69
|
* background: add mascot versionsvaxerski2023-07-131-6/+19
|
* render: move lastFrameDamage to CMonitorvaxerski2023-07-101-3/+1
|
* Xdg config home support (#2047)Ed Younis2023-07-071-1/+1
| | | | | | | | | | | | | | | | | | * config: Add support for XDG_CONFIG_HOME Contributes-to: #1040 Co-authored-by: Björn Bidar <bjorn.bidar@thaodan.de> Signed-off-by: Björn Bidar <bjorn.bidar@thaodan.de> * config: Log used config file * config: Add GetConfigDir and minor fixes * config: fixed minor nitpicks --------- Signed-off-by: Björn Bidar <bjorn.bidar@thaodan.de> Co-authored-by: Björn Bidar <bjorn.bidar@thaodan.de>
* Fix crash when screen size is 0x0 (#2523)Shemig2023-06-151-3/+3
| | | | | | (When booting into laptop clam mode in dell XPS) and also ignore any screen with size 0x0 in the first place Co-authored-by: giladsx <gilad@spectalix.com>
* opengl: fix invalid tex references to tex-less shadervaxerski2023-06-141-6/+4
|
* screenshader: fix uniform variable checks (#2513)JManch2023-06-141-2/+2
|
* Allow setting alpha value for ignorezero layer rule (#2477)end-42023-06-111-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rename ignorezero to ignorealpha * allow setting ignorealpha value This commit allows setting a float value (0-1) for the ignorealpha layer rule. Does not yet have error handling; invalid ignorealpha layer rule will crash Hyprland. * add brackets i forgot to add * prevent crash with invalid ignorealpha value prevents hyprland from immediately crashing with invalid ignorealpha layer rule does not log * don't try to set ignoreAlphaValue if alpha value not specified * add catch to try, reintroduce ignorezero - added catch after try cuz i was an idiot - re-add ignorezero as an alternative to ignorealpha to not introduce a breaking change * add logging for failed ignorealpha layer rule * fix get ignorealpha's get VALUE * check npos and use empty() * rename VALUE cuz no longer const * format Shader.hpp