Giter Site home page Giter Site logo

wlrfx / scenefx Goto Github PK

View Code? Open in Web Editor NEW
37.0 5.0 3.0 398 KB

A drop-in replacement for the wlroots scene API that allows wayland compositors to render surfaces with eye-candy effects

License: MIT License

C 91.84% Nix 0.78% Meson 3.74% Makefile 0.29% GLSL 3.29% Shell 0.05%
c gles2 linux wayland wlroots

scenefx's Introduction

scenefx

scenefx's People

Contributors

1kjo avatar alexbakker avatar athrungithub avatar bl4ckb0ne avatar coderkalyan avatar ddevault avatar elyesh avatar emersion avatar erikreider avatar ifreund avatar johanmalm avatar kanetw avatar kennylevinsen avatar kragniz avatar nefsen402 avatar ozwaldorf avatar quantum5 avatar sevz17 avatar shinyzenith avatar vyivel avatar willpower3309 avatar ybakos avatar zzxyb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

scenefx's Issues

Branding and README

If we want scenefx to be adopted by other compositors, we should get some branding and create a README! benchmarks should also be included

The example of tinywl becomes weird.

Hello, this morning I decided to try scenefx again and I found something weird with its example (tinywl). It seems get rotated 90 degree (clockwise). I have a screenshot below. Is it intentional or the tinywl not getting update ? Thanks.

20240413_12h09m48s_grim

Fix some issues affecting compositor usage

A few points from the scenefx patch notes on dwl:

NOTE: Some GTK apps are being cut off when they have shadows enabled. You can use the shadow_ignore_list option to prevent shadows from being rendered on those apps

NOTE: Blur doesn't work on windows with opacity set (opacity_active, opacity_inactive)

NOTE: In DWL's Makefile scenefx must be placed before wlroots, e.g. PKGS = scenefx wlroots wayland-server ...

Add blur

We should add the blur from upstream SwayFX to scenefx

Example tinywl : missing headers ?

Hello, when I built the example tinywl, it's failed. It seems that there are missing headers.

#include <types/fx/shadow_data.h>
......
#include "types/wlr_scene.h"

#include "render/fx_renderer/fx_renderer.h"

Is it intentional ? Thanks.

Improve process to pass box shadow color.

The fact that box_shadow color a float * instead of just a float [4] is problematic.
Wrapping that in FFI is clunky because essentially in zig I need to wrap it as: *f32[4] which might as well just be f32[4].
Not to mention other languages where that kind of pointer arithmetic is usually not suggested. Eg: Python

Why can't we approach it as just float [4]?

Add box shadows

We should add the box shadows from upstream SwayFX to scenefx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.