Cross-platform rendering library

Hi SDL Community!

I bumped into Sam at SteamDevDays, and asked him would be OK to
shamelessly promote my open-source library to SDL community, and he
said it’s OK, so here it is. :slight_smile:

I’ve created cross-platform rendering library in spirit of SDL. It’s
not thin wrapper around GL/DX APIs, but it’s not full engine/framework
either. Goals are to solve common cross-platform issues with graphics
without compromising performance or forcing whole framework on users.
For example, you write only single shader with GLSL like syntax for
bgfx, and shader gets translated into HLSL, GLSL, ESSL.

bgfx is submission-based renderer that has multiple backend renderers
on top of OpenGL and DirectX. Since bgfx has it’s own API, rather than
GL/DX, porting games on platforms that don’t support GL/DX is simpler
since no changes needs to be done on high level code, rather new
backend needs to be added. I intend to add Mantle renderer support as
soon it’s available for public.

Supported rendering backends: Direct3D 9, Direct3D 11, OpenGL 2.1,
OpenGL 3.1, OpenGL ES 2, OpenGL ES 3

Platforms: Android, iOS, Linux, Native Client, OSX, Windows

The library is released under permissive license (BSD-2), and it’s
under active development. The library core is stable and has already
shipped products with it.

More info here:

[1]https://github.com/bkaradzic/bgfx#what-is-it

I have small example harness, and there is already SDL2 support:

[2]https://github.com/bkaradzic/bgfx/blob/master/examples/common/entry/
entry_sdl.cpp

Questions, feature requests, etc. are welcome. :slight_smile:

Best Regards,

Branimir

References

  1. https://github.com/bkaradzic/bgfx#what-is-it
  2. https://github.com/bkaradzic/bgfx/blob/master/examples/common/entry/entry_sdl.cpp