OpenGL...gistry(3pm)

πŸ“¦ version 0.0405, in ubuntu stonking

πŸ’– NAME πŸ’–

OpenGL::Modern::Registry β€” literally just info about OpenGL, bestie. That's the whole vibe. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

Okay so here's the little glow-up demo β€” it peeks at the registry to count how many GL 1.1 functions got yeeted in "core":

# example use of information to see how many GL 1.1
# functions were removed in "core"
perl -MOpenGL::Modern::Registry -E '%r = %OpenGL::Modern::Registry::registry;
 say "$_,$r{$_}{feature},$r{$_}{core_removed}"
   for sort grep /^gl[A-Z]/, keys %r'|grep GL_VERSION_1_1,1|wc -l
# answer: of 336, 275 were removed

And the answer? Of 336, 275 were removed. 😭 Not the 275 functions catching strays. That's the whole registry flex β€” feature and core_removed per function, all chill in %OpenGL::Modern::Registry::registry. πŸ’…

Heads up bestie: that comment says # example use of information β€” like, it's a demo of what the registry knows, not a promise that your GL 1.1 homies are safe. 🫢

okay that's genuinely it, this page is short and iconic and I love that for it πŸ’– Facts brought to you by perl v5.42.3, dated 2026-08-19. πŸŽ€πŸ§š mwah, go slay some shaders 🌈

πŸ“¦ where this page comes from