How to display a simple image in the ui?

This is pretty interesting, gotta try it out.
I wonder if there is some wrapper already that makes the gpu module more pythonic/simpler. Looks very close to its C part.

shader.bind()? reminds me of using Python’s stdlib socket module vs using requests.

edit: seems like there’s a module for higher level functions, and there’s one to draw a texture: https://docs.blender.org/api/blender2.8/gpu_extras.presets.html