GithubHelp home page GithubHelp logo

Missing xlib support about anvil HOT 2 OPEN

gpuopen-archive avatar gpuopen-archive commented on June 2, 2024
Missing xlib support

from anvil.

Comments (2)

jhasse avatar jhasse commented on June 2, 2024

Wouldn't it be better to use SDL2 instead?

I can tell you that Xlib is a nightmare to work with.

from anvil.

DominikWitczakAMD avatar DominikWitczakAMD commented on June 2, 2024

Thanks for the suggestion.

Our library is designed to act as a bottom-most interface binding the system and the app, so adding another layer of abstraction should only happen if really necessary. It adds additional project maintenance burden which we would like to strongly avoid.

Another reason for the fact we're going to need Xlib support built-in directly ijnto Anvil is the fact that, for Vulkan, we're going to need to have the render surface wrapper extended to make use of the VK_KHR_xlib_surface extension. I'm not sure if SDL2 exposes all the handles we need to make that happen.

from anvil.

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.