Git Product home page Git Product logo

Comments (7)

Rubo3 avatar Rubo3 commented on May 24, 2024 1

I've made some test on wayland today, and there is no problem, and it's quiet faster than under X.

True, I ran some tests too. Now I'm studying what can be ported from vkh to vkvg to mimic the behaviour of cairo-gl. I see your tests/common/test.c and tests/common/vkengine.c are quite useful to understand the structure of a program which draws to an on-screen surface. It's quite simpler than Vulkan's HelloTriangle haha.

GLFW handles natively wayland...

Yeah it's amazing, I didn't even have to recompile or link against Wayland.

from vkvg.

jpbruyere avatar jpbruyere commented on May 24, 2024

https://www.phoronix.com/scan.php?page=news_item&px=Vulkan-Wayland-Compositor-Near : there are some efforts to make vulan-wayland bridges, this should pose no problems to create a wayland surface with vkvg, it's surely a good task to put on the roadmap...

from vkvg.

Rubo3 avatar Rubo3 commented on May 24, 2024

Thanks, it's great to see that! However I was talking about Wayland clients, I saw in this Reddit thread https://www.reddit.com/r/vulkan/comments/gs8wy7/vulkan_and_egl/fsk0d8d that it seems to be possible to draw with Vulkan on Wayland surfaces without EGL, here is some code https://github.com/krOoze/Hello_Triangle/blob/master/src/WSI/Wayland.h

from vkvg.

jpbruyere avatar jpbruyere commented on May 24, 2024

I've made some test on wayland today, and there is no problem, and it's quiet faster than under X. Maybe weston will become my first desktop env...
GLFW handles natively wayland...

from vkvg.

jpbruyere avatar jpbruyere commented on May 24, 2024

I've not included vkengine in vkh because of glfw dependancy, but I use it everywhere. Maybe I should include it to vkh and add a build option. Or maybe make a separate git repo for vkengine and build it with cmake as an object library...

from vkvg.

Rubo3 avatar Rubo3 commented on May 24, 2024

Maybe I should include it to vkh and add a build option.

What about integrating it to vkh and adding a build option to include the GLFW-dependent code?

from vkvg.

jpbruyere avatar jpbruyere commented on May 24, 2024

Yes, it would be better than to copy vkengine.* each time I start a vulkan app.

from vkvg.

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.