PortableGL: An MIT licensed implementation of OpenGL 3.x-ish in clean C

This page summarizes the projects mentioned and recommended in the original post on /r/GraphicsProgramming

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • stb

    stb single-file public domain libraries for C/C++

  • In a nutshell, PortableGL is an implementation of OpenGL 3.x core in clean C99 as a single header library (in the style of the stb libraries).

  • Craft

    A simple Minecraft clone written in C using modern OpenGL (shaders). (by rswinkle)

  • Michael Fogleman's Craft was a pretty perfect candidate because it was reasonably small, while still being a legitimate 3D game that would stress PGL. I discovered and fixed several bugs and added things like glPolygonOffset and Logic Ops. The only extra work I had to do was port it from GLFW to SDL2 first.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • sse2neon

    A translator from Intel SSE intrinsics to Arm/Aarch64 NEON implementation

  • I have a private cross-platform port, I’m waiting on the resolution of his latest GitHub issue to submit my changes. sse2neon (https://github.com/DLTcollab/sse2neon) was a big help - I also wrote a very primitive sse2scalar for raspbian builds where neon is unavailable. Honestly SIMD doesn’t help much, as you’re usually memory bound under SWGL. The biggest perf win is any amount of asynchronous execution - running off the main thread is good enough and could be applied to your library externally through a command buffer without any changes to your code.

  • msr-zbethel-tu

    Automatically exported from code.google.com/p/msr-zbethel-tu

  • Also check out https://github.com/dimatura/msr-zbethel-tu

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts