Giter Club home page Giter Club logo

Comments (4)

deadash avatar deadash commented on September 27, 2024

Upon investigation, the reason tiny_skia is not usable is that it has a dependency on softbuffer. By default, softbuffer has the following features enabled: ["kms", "x11", "x11-dlopen", "wayland", "wayland-dlopen"].

The kms feature, in turn, depends on drm, which requires the use_bindgen feature to be enabled for successful compilation. This is the root cause of the issue we are facing.

Is there a way to enforce the use of wgpu only, bypassing the problematic tiny_skia dependency, particularly on the riscv64 architecture?

from floem.

panekj avatar panekj commented on September 27, 2024

Why can't you just build it with tiny_skia?

from floem.

panekj avatar panekj commented on September 27, 2024

This should be fixed once Smithay/drm-rs#176 lands

otherwise adding dependency with bindgen feature fixes that as well

[dependencies]
drm-sys = { version = "*", features = ["use_bindgen"] }

from floem.

ids1024 avatar ids1024 commented on September 27, 2024

Ah, this isn't something I considered when we merged the kms backend in softbuffer.

Using softbuffer with default-features = false to leave out the kms feature would be reasonable. It isn't very useful yet since kms support isn't merged in winit yet (rust-windowing/winit#2795).

from floem.

Related Issues (20)

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.