/stb-gl

Wrapper to use OpenGL ES in old-school 2D mode (layers, blitting, fonts handling, etc)

Primary LanguageC++Apache License 2.0Apache-2.0

STB-GL project

Wrapper to use OpenGL ES in old-school 2D mode like DirectFB. Currently supported:

  • Surfaces - off-screen framebuffers for drawing, class stbgl::surface_t.
  • Textures - images areas, class stbgl::texture_t.
  • Blitting - combining surfaces and textures with flags, stbgl::blitting or use methods of surfaces.

Building

  • Install dependenses: apt-get install libxmu-dev libxi-dev freeglut3 freeglut3-dev libpng12-dev libfreetype6-dev.
  • Create make dir and cd it: mkdir buid; cd build.
  • Use cmake to configure project: cmake ...
  • Build project: make all install (dont worry about install target - it installs stuff only in current build directory - resources).