Giter Site home page Giter Site logo

Skia performance comparison about blend2d HOT 5 CLOSED

blend2d avatar blend2d commented on May 25, 2024 1
Skia performance comparison

from blend2d.

Comments (5)

kobalicek avatar kobalicek commented on May 25, 2024 2

I just wanted to bump up the priority of adding skia

You are welcome! SKIA comparison would be really nice to have, but I was not lucky to build it in the past and after that I just gave up and made it low priority. So maybe when they add support for CMake I would give it another shot - or if somebody else is willing to invest time in this?

I agree too on openVG, but I have hopes for NV_path

NV_path - I'm not a big fan of it. I think that in general such technology should work on all GPUs and not be restricted to a single vendor with binary only drivers. I have actually tried it, downloaded the SDK and then noticed only half of the samples actually compiled on my Linux machine. I have GTX 1070 GPU and I have noticed that NV_path quality was much worse than I initially expected - it was definitely not 256 shades of gray, I would say it was close to 8x or 16x.

because if it would outperform or have similar performance despite the fact that skia is 40000 commits of an army of experts, would prove that you have a very innovative, almost revolutionary optimization.

I would humbly say that Blend2D is just few really optimized parts connected together that as a whole form the library. SKIA has much more features that we don't even plan to have or that would take a lifetime to do.

And thus, Google would probably hire or fund you to either bring blend2d optimization on skia or to help them switch from skia to blend2d.

SKIA devs know about Blend2D so I'm sure they would let me know if they are interested in funding the project or anything else. Maybe when Blend2D gets multithreaded rasterizer we would talk again, let's see.

from blend2d.

kobalicek avatar kobalicek commented on May 25, 2024

A possible duplicate of #3 where most questions should have been already answered?

Anyone is welcome to contribute SKIA support to blend2d-bench tool or implement a better benchmarking tool and to objectively present possible findings. blend2d-bench tool was written mainly for development and the tests were designed to exercise Blend2D pipelines.

I think comparing with GPU implementations would make sense after multithreaded renderer lands, because competing GPU implementations use the whole GPU hardware whereas the current Blend2D software-based renderer only uses a single thread.

Pathfinder/fastuidraw - Somebody would have to do the tests and I would focus on improving Blend2D meanwhile :)
OpenVG - I think it's dead long-term so it's not on my roadmap to do anything in this area.

from blend2d.

LifeIsStrange avatar LifeIsStrange commented on May 25, 2024

@kobalicek thank you for the fast answer.
This issue is indeed a duplicate, I just wanted to bump up the priority of adding skia.
I agree that comparing blend2d to skia on openGL/Vulkan would be unfair.
But skia already has, I believe an optional, cpu only backend. (still unfair because multithreaded but less unfair)
I'm really interested to see the eventual improvements that multithreading will bring.
Btw modern OpenMP allow to very easily have code that is multithreaded, vectorized (SIMD) and even offloaded to the gpu ! With just a switch.

I agree too on openVG, but I have hopes for NV_path.
Anyway, I guess it would benefit you to show a performance comparison of blend2d vs skia on cpu backend, because if it would outperform or have similar performance despite the fact that skia is 40000 commits of an army of experts, would prove that you have a very innovative, almost revolutionary optimization.
And thus, Google would probably hire or fund you to either bring blend2d optimization on skia or to help them switch from skia to blend2d.

from blend2d.

kobalicek avatar kobalicek commented on May 25, 2024

Closing in favor of #3.

from blend2d.

LifeIsStrange avatar LifeIsStrange commented on May 25, 2024

@kobalicek I'm just stating the obvious, but now that multithreaded blend2d has landed, it's more time than ever to let the world know about it's real performance :)

from blend2d.

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.