Skia
bgfx
Our great sponsors
Skia | bgfx | |
---|---|---|
43 | 57 | |
7,197 | 12,642 | |
1.7% | - | |
10.0 | 9.3 | |
12 days ago | 7 days ago | |
C++ | C++ | |
BSD 3-clause "New" or "Revised" License | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Skia
-
Ask HN: Is WASM (WebAssembly) getting adoption in real use cases?
Not specially something that you cannot do without WASM but at $WORK we are using a WASM build of Skia [0] to render canvas from nodejs.
Why use WASM ? Because we wanted to stay close to our stack (ie. calling wasm from nodejs). Do it work ? Yes, memory consumption is quite heavy though (each WASM module have its own heap that can quickly grow).
However we are looking to directly use Skia now and avoid the overhead of WASM so i think its a nice solution in the beginning but you might want to ditch it later on.
[0]: https://github.com/google/skia/tree/main/modules/canvaskit
-
SIMD intrinsics and the possibility of a standard library solution
I use SkVx from Skia. It uses compilers' vector extensions and few platform-specific intrinsics. If no vector extension available (e.g. msvc), a scalar implementation is provided in the hope that compiler can vectorize it.
-
Can you develop any type of desktop app with Flutter?
Regarding compiling to JS, you can compile dart to JS however when running Flutter on mobile platforms such as iOS or Android, you're not compiling to JS but instead you're using Dart to draw widgets on the screen via Flutter engine which uses a cross-platform graphics engine under the hood called Skia. If you're running on web on the other hand, your dart code would compile to vector graphics rendered within a canvas element in pure HTML.
-
Build desktop applications with JetBrains' new UI style and Compose Desktop
It built on a render framework named skia, JetBrains create a kotlin mapping which named skiko for it.
-
In One Minute : Flutter
Flutter applications are written in the Dart programming language, and can connect to platform languages such as Java, Kotlin, Swift, and Objective-C. Also, thanks to ffi support, it is possible to interact with the C code directly . Flutter itself is built with C, C++, Dart, and Skia (a 2D rendering engine).
-
JetBrains invites developers to join the Fleet Public Preview Program
Fleet does not use Compose, but it does use Skiko[1], which also provides binding for Skia[2] (the native graphics library also used by Chrome & Flutter).
The main difference between the libraries is that Skija provides Java/JVM bindings for Skia, whereas Skiko provides Kotlin bindings for Kotlin/JVM, Kotlin/JS, and Kotlin/Native targets. Of course Skiko's Kotlin/JVM bindings can be used with other JVM languages, not just with Kotlin.
-
Opinions on canvas(or canvas like capabilities) in React Native
RN Skia: https://github.com/Shopify/react-native-skia Skia itself: https://skia.org/
-
Modern.Forms: Cross-platform spiritual successor to Winforms for .NET 6
Yeahp, it renders the controls itself using skiasharp, which I believe uses skia
-
Alternatives to Cairo for 2d graphics for X11
If you want CPU rendering perhaps tiny-skia meets your needs? Also proper Skia is generally the Cairo alternative, though I dunno that its any easier to use or compile than Cairo is. Alternatively you could try Raqote or Piet.
-
How do you read a big project's source code?
First step: Read the documentation. I see at the bottom of the github page that there's a link, so I go there: https://skia.org/
bgfx
-
Just found out about Zig and wonder what would be the best graphics library to pair with it?
If you want juste a renderer, you can use BGFX, there is a zig binding that is not a third party.
-
Cross platform low level graphics API suitable for game development?
Take a look at BGFX, sounds like its what you want. Its a cross platform graphics API that is low level like metal or opengl, however it treats opengl, metal, vulkan, etc as backends that u can compile to so you can write your code once and then compile to macos using metal as the backend, compile to web using webgl as the backend, compile for windows using directx as the backend etc etc. Its written in C++ but it has officially supported C bindings so you can use it with C no problem.
-
rayllib vs bgfx - what is difference ?
bgfx:https://github.com/bkaradzic/bgfx
-
Want to a 3D game without a game engine but not having to deal with opengl stuff ?
BGFX
-
API of Graphics APIs
You can have a look at https://github.com/bkaradzic/bgfx
-
How is Vulkan supposed to supersede OpenGL in practice?
There are still things like BGFX in active development and use. I think the bigger issue is that folks can never really agree on how things should be abstracted for a higher level API.
-
Is there a list of resources which help to abstract over OpenGL and Vulkan, as their as their GLSL dialects? (DirectX and HLSL are also welcomed)
u/LtJax already mentioned the Sokol library, another somewhat popular cross-platform rendering library is bgfx.
Maybe this
-
SDL, SFML, other libraries for game development in C++...?
BGFX - Wrapper around low level rendering libraries
- Looking for a 2D/3D rendering layer for C++
What are some alternatives?
GLFW - A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input
magnum - Lightweight and modular C++11 graphics middleware for games and data visualization
Ogre 3D - scene-oriented, flexible 3D engine (C++, Python, C#, Java)
DiligentEngine - A modern cross-platform low-level graphics library and rendering framework
The-Forge - The Forge Cross-Platform Rendering Framework PC Windows, Linux, Ray Tracing, macOS / iOS, Android, XBOX, PS4, PS5, Switch, Quest 2
sokol - minimal cross-platform standalone C headers
nanovg - Antialiased 2D vector drawing library on top of OpenGL for UI and visualizations.
Atomic Game Engine - The Atomic Game Engine is a multi-platform 2D and 3D engine with a consistent API in C++, C#, JavaScript, and TypeScript
raylib - A simple and easy-to-use library to enjoy videogames programming
urho3d - Game engine
OpenSceneGraph - OpenSceneGraph git repository