vaxerski
a921c5b89e
Debug: add tracy
2023-07-20 17:47:49 +02:00
vaxerski
547305c7ed
opengl: adjust blend and reduce the usage of clear
2023-07-20 13:49:28 +02:00
vaxerski
b65adf8d4a
toplevelexport: support dmabuf + various fixes
2023-07-20 12:42:25 +02:00
Vaxry
89b87158db
internal: Wrap regions ( #2750 )
2023-07-19 20:09:49 +02:00
vaxerski
515a363ecd
render: move lastFrameDamage to CMonitor
2023-07-10 13:21:00 +02:00
end-4
e1edfde539
Allow setting alpha value for ignorezero layer rule ( #2477 )
...
* 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
2023-06-11 19:30:31 +02:00
levnikmyskin
c949173bc9
Added some workspace-specific rules ( #1986 )
...
* added some workspace-specific rules
* added some worskpace-specific rules, with windowrule like syntax
* monitor is not mandatory anymore
* pointers to config are now static
* fixed optional WorkspaceRule fields
* Windows can now specify border size
* removed CHyprOpenGLImpl::renderBorder borderSize default value
* stuff
---------
Co-authored-by: Alessio Molinari <alessiomolinari@gmail.com>
Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
2023-05-01 22:28:27 +01:00
vaxerski
ddfeebad3d
Renderer: add init animation
2023-05-01 02:49:41 +01:00
vaxerski
1c50a11688
opengl: keep current rendered workspace in renderData
2023-04-17 23:47:12 +01:00
vaxerski
b05ff89c76
Render: add cursor_zoom
2023-04-16 14:48:38 +01:00
vaxerski
3ae33b951f
renderer: add support for rendering workspaces
2023-04-12 12:41:23 +01:00
7d9977d028
debug: added manual_crash
2023-04-04 14:50:03 +01:00
vaxerski
e5870d47c7
LS: add blur and ignorezero rules
2023-03-17 23:16:13 +00:00
scorpion-26
de5f1b2a83
Optionally expose time to screen shaders ( #1700 )
...
* Optionally expose time to screen shaders
Since that collides with damage tracking, it will only be done, when
damage tracking is disabled, meaning this comes at no cost for everyone
not using time.
* Rename m_Timer to m_tGlobalTimer
2023-03-05 14:05:30 +00:00
vaxerski
b69f40815f
opengl: use a passthru shader for final wlr copy
2023-03-04 14:59:27 +00:00
vaxerski
9c0e2bba54
Renderer: Nuke onWindowResize{start/end}
2023-03-03 13:18:44 +00:00
vaxerski
4fd90144d1
touch up the clang format and format all files
2022-12-20 02:18:47 +00:00
vaxerski
a163ca9237
fix blur damage spam on no blurred windows
2022-12-18 12:41:19 +00:00
Vaxry
98a4fa2b0d
Added clang format ( #1239 )
...
* clang-format stuff and format files
2022-12-16 17:17:31 +00:00
Flafy
ffc580dda9
blur xray for layers ( #1158 )
...
* feat: apply blur_xray to non window surfaces
* don't blur optimize bottom and background layers
2022-12-04 20:57:41 +00:00
7b020ffa84
Added screen shaders
2022-12-01 13:36:07 +00:00
vaxerski
0948b078e1
added border gradients
2022-11-26 17:57:02 +00:00
vaxerski
5327565b33
remove resize transitions
2022-11-22 17:20:58 +00:00
vaxerski
f755351511
Fix resize transitions on multimon + transformed
2022-11-06 18:04:30 +00:00
vaxerski
57817f7252
Added resize transitions
2022-11-06 17:52:09 +00:00
Felix Dick
3bf7c5aea1
Change matrixProjection function stop use matrixFlip180 everywhere.
2022-10-10 01:35:42 +02:00
7faa3c367d
Added clipping support, clip windows on slide anim
2022-10-07 10:43:51 +01:00
vaxerski
7579e03b64
include shaders only in opengl.cpp
2022-09-30 18:38:10 +01:00
Felix Dick
10c4f4ba35
Shift splash up if monitor has wider ratio than bgTexture.
2022-09-29 05:29:03 +02:00
vaxerski
e9f226797e
Added monitor mirroring
2022-09-13 15:25:42 +02:00
vaxerski
6afab12b91
fix blur on transformed displays
2022-09-04 19:27:38 +02:00
vaxerski
48eb2e0d6f
Added window dimming
2022-08-30 12:46:17 +02:00
b178891ab3
compile shaders for every context separately
2022-08-11 20:29:21 +02:00
vaxerski
024752bbe3
fix new blur optimizations with non-full damage
2022-08-01 20:18:26 +02:00
vaxerski
6378990bc3
fixes to the new blur system
2022-08-01 12:23:09 +02:00
vaxerski
070d7699a7
added decoration:blur_new_optimizations
2022-08-01 12:16:33 +02:00
vaxerski
46e18e08d1
contain for the hyprland default bg
2022-07-31 23:44:04 +02:00
vaxerski
31a079b347
added DPMS
2022-07-27 12:32:00 +02:00
vaxerski
4b334594dc
Added splashes
2022-07-10 15:41:26 +02:00
vaxerski
c71b76a9e0
fix chromium part 1
2022-07-04 15:58:12 +02:00
vaxerski
a7ebf0ddc3
added CPU uniform location lookup optimization
2022-06-30 12:39:10 +02:00
vaxerski
8820f7f210
optimization + revert one oopsie
2022-06-29 12:54:53 +02:00
vaxerski
1a0b2c4ade
rewritten borders, fixed msaa
2022-06-26 19:39:56 +02:00
vaxerski
2955698f28
fix fade with deco
2022-06-25 20:31:54 +02:00
vaxerski
747ff3369d
added drop shadows
2022-06-25 20:28:40 +02:00
vaxerski
770bada5d5
Fixed oversized apps' incorrect layout
2022-06-22 15:45:56 +02:00
vaxerski
4c2459861b
fix borders sometimes disappearing on certain windows
2022-06-21 23:09:20 +02:00
vaxerski
e11cb8b328
Added antialiasing to outer edges
...
simplified, stupidly fast MSAA for rounded edges
2022-06-02 22:58:54 +02:00
vaxerski
d0ff0c0990
Added basic monitor transforms, has bugs
...
blur doesnt work on transformed outputs
full damage tracking issues
2022-05-29 12:27:45 +02:00
vaxerski
2c907e0540
include egl in includes.hpp
2022-05-25 23:13:13 +02:00
vaxerski
198fc90df5
What the fuck is going on with git, fix the entire scaling merge
...
This reverts commit 5b15d3b4f4
.
2022-05-18 20:33:54 +02:00
vaxerski
5b15d3b4f4
Revert "Merge pull request #88 from vaxerski/scaling"
...
This reverts commit f68ddc382a
, reversing
changes made to ba573a529a
.
2022-05-18 14:42:00 +02:00
vaxerski
6c437763f6
Merge branch 'main' into scaling
2022-05-18 13:10:22 +02:00
vaxerski
cad71218c0
borders are now gangsta
2022-05-17 13:16:37 +02:00
vaxerski
244be92d11
fix fadeout
2022-05-16 22:25:05 +02:00
vaxerski
109136af97
Fadein/out now applies to layersurfaces too
2022-05-14 17:23:46 +02:00
vaxerski
ddab8e60dc
optimized texture rendering
2022-05-10 09:56:58 +02:00
vaxerski
ef21baaf88
Optimize blur massively and some fixes
2022-05-09 21:37:41 +02:00
vaxerski
ff86f723b2
Fix blur leaving strokes on full damage tracking
2022-05-06 16:06:21 +02:00
vaxerski
43fc7662cc
Major blur rework: optimization & fixes
...
Blur should be considerably faster now and work on full damage tracking
2022-05-02 16:54:40 +02:00
vaxerski
08ee14b4a0
Added dynamic monitor rules
2022-04-19 19:01:23 +02:00
vaxerski
748a787ba2
Don't blur behind opaque pixels
2022-04-17 13:15:56 +02:00
vaxerski
3e36f1c42c
renderer fixes
2022-04-14 17:00:35 +02:00
vaxerski
75af34da96
added basic damage tracking
2022-04-14 16:43:29 +02:00
vaxerski
b56343133d
fixed blur rendering, stencil and gles3
2022-04-11 16:39:48 +02:00
vaxerski
3753f83f69
Added default background as a PNG
2022-04-10 14:32:18 +02:00
vaxerski
969bebbd06
Added blurring 🎉
2022-04-09 16:51:08 +02:00
vaxerski
b7094200f6
Rendering now to a HyprFramebuffer
2022-04-09 15:01:28 +02:00
vaxerski
a49bbf4508
fadeout done 🎉
2022-04-05 20:49:15 +02:00
vaxerski
3385269dca
Added rounded borders.
2022-04-05 16:47:03 +02:00
vaxerski
27c06758e4
basic window rounded corners
2022-04-05 15:50:47 +02:00
vaxerski
19d9465042
Rendering textures
2022-04-05 14:33:54 +02:00
vaxerski
334f5a59b0
added broken rect renderer
2022-04-04 21:45:35 +02:00
vaxerski
374491ee63
progress
2022-04-04 19:44:25 +02:00