Giter Club home page Giter Club logo

Comments (3)

TAAPArthur avatar TAAPArthur commented on July 2, 2024

This project just loads images. It doesn't draw them using any backend. That's something an image view like div would do.

And personally don't see a benefit of supporting SDL since it would just use X under the hood for systems that supported it. It would have use it one wanted to port to systems without X. Not inherently opposed to that idea but wouldn't write the patch myself

from libimageloader.

explosion-mental avatar explosion-mental commented on July 2, 2024

I dont have much knowledge bout it, but loading an image in the cpu wouldn't be slow compared to using the gpu?

This proyect looks even more promising since it can be used in X and also Wayland.

from libimageloader.

TAAPArthur avatar TAAPArthur commented on July 2, 2024

So there are a few steps involved

  1. reading the raw data from disk
  2. decoding the raw data
  3. scaling the image
  4. displaying the image on then screen

A GPU may be helpful for 3, but not the others. This project just does 1 and 2.

This proyect looks even more promising since it can be used in X and also Wayland.

That it can. On the downside it is heavier than just using native X libraries. As far as I'm aware it is just an abstraction layer around many different libraries system like openGL/X. A while the abstraction is nice for portability it doesn't help much speed wise. Or at least using it directly won't yield a benefit compared to just optimizing the current implementation.

from libimageloader.

Related Issues (3)

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.