Code Monkey home page Code Monkey logo

Comments (3)

paulocesarbot avatar paulocesarbot commented on May 13, 2024

Delphi uses OpenGLES for Android and iOS and optionally Metal for iOS and Mac. It doesn't support Vulkan yet. The idea is to adapt, for the library to draw directly on the render target.
There is no advantage to drawing on Vulkan, and having to download the image to cpu and upload it again to use another framework.

from skia4delphi.

code-kungfu avatar code-kungfu commented on May 13, 2024

Delphi uses OpenGLES for Android and iOS and optionally Metal for iOS and Mac. It doesn't support Vulkan yet. The idea is to adapt, for the library to draw directly on the render target.

Yes, I am aware 😃
I started working on a Vulkan context for FMX some time ago but the project have stalled for various reasons.

There is no advantage to drawing on Vulkan, and having to download the image to cpu and upload it again to use another framework.

I respectfully disagree.
While the majority of user would be fine with the raster context and transfer the bitmap data to a FMX canvas, there are some who have the skill and wishes to take over the drawing by themselves completely including managing the context.
Having the ability to flip on a Vulkan render target in Skia and take advantage of it's high performance drawing primitives offers a major benefit for power users 😃

from skia4delphi.

viniciusfbb avatar viniciusfbb commented on May 13, 2024

I agree, unfortunately we are only two developers, as you can see, the code has 10,000 lines in Pascal, and 10,000 lines in C++.

So we prioritized at this initial moment to expose the main features and benefits of Skia, as well as the integration directly with the FMX content.

We can work together in the context of Vulkan, I believe Embarcadero is interested. Vulkan's problem is it doesn't work on iOS yet. But we can work on this idea of ​​using Vulkan on all platforms and Metal on iOS/Mac.

from skia4delphi.

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.