Live data from Hacker News

Meta releases Intermediate Graphics Library

khronos.org

101–110 of 221 posts

Re: Meta releases Intermediate Graphics Library

#101
post #36

For an intermediate library, it doesn't actually seem to be very much backend-independent. At least the desktop sample [1] has a disappointing amount of code paths with parallel implementations for OpenGL and Vulkan, switched at compile time using "#if USE_OPENGL_BACKEND". I guess this means that this sample will use OpenGL rather than Metal on macOS? They claim there's a Metal backend, but how would one enable that…

This looks like what happens when the "All abstractions are leaky" crowd go too far. It's an absence of abstraction to the point that the intermediary layer is not helpful enough, and will simply end up hidden behind another layer of obfuscatory gunk. Graphics people need to face the fact that writing optimised cross platform renderers is not something that can be solved by divide/conquer into layers in this bottom u…

Reads to me like the usual collection of utility/glue that people build for their own needs? Those usually don't get open sourced, but it's also not wrong to do that. At least if you can resist the urge to announce it as the graphics API to end all graphics APIs...

Re: Meta releases Intermediate Graphics Library

#103

They claim to support WebGL as a compile target, it seems like a pretty big missed opportunity that all of their demos don't link to in-browser WebGL running examples!

To be fair, we don't want WebGL anymore, we want WebGPU now =P

WebGPU will take ages and ages to be fully usable across all platforms (eg old androids)

Re: Meta releases Intermediate Graphics Library

#105
post #101

Earlier quoted context omitted.

This looks like what happens when the "All abstractions are leaky" crowd go too far. It's an absence of abstraction to the point that the intermediary layer is not helpful enough, and will simply end up hidden behind another layer of obfuscatory gunk. Graphics people need to face the fact that writing optimised cross platform renderers is not something that can be solved by divide/conquer into layers in this bottom u…

Reads to me like the usual collection of utility/glue that people build for their own needs? Those usually don't get open sourced, but it's also not wrong to do that. At least if you can resist the urge to announce it as the graphics API to end all graphics APIs...

> can resist the urge to announce it as the graphics API to end all graphics APIs

Please quote the text that made you believe this. It's a very negative take.

Re: Meta releases Intermediate Graphics Library

#106

No mention of Metal

Supported platforms from the repo README: - Metal 2+ - OpenGL 2.x (requires GL_ARB_framebuffer_object) - OpenGL 3.1+ - OpenGL ES 2.0+ - Vulkan 1.1 (requires VK_KHR_buffer_device_address and VK_EXT_descriptor_indexing) - WebGL 2.0

But not in the linked article.

“It supports various graphics APIs, such as OpenGL®, OpenGL ES™, WebGL™, and Vulkan®”

Seems strange that’s missing from one and showing in the other.

Re: Meta releases Intermediate Graphics Library

#107
post #104
post #97

Earlier quoted context omitted.

I prefer the minimalist WebG approach.

I like HTML. Wait, what are we talking about?

Tangent you got me thinking about:

HTML clicked for me one day when I mentally decoupled the hypertext from the actual browser rendering. So many of us think HTML and imagine the point is to render a webpage. But HTML describes the semantics, topology, and content of a document. It’s 100% valid to “render” HTML in some other format like a PDF or an mp3.

Re: Meta releases Intermediate Graphics Library

#108
post #105
post #101

Earlier quoted context omitted.

Reads to me like the usual collection of utility/glue that people build for their own needs? Those usually don't get open sourced, but it's also not wrong to do that. At least if you can resist the urge to announce it as the graphics API to end all graphics APIs...

> can resist the urge to announce it as the graphics API to end all graphics APIs Please quote the text that made you believe this. It's a very negative take.

I did not intend to imply that they did. Sorry if that hasn't been clear. I was considering adding a few words in that direction but went with brevity.

Re: Meta releases Intermediate Graphics Library

#109
post #104

Earlier quoted context omitted.

I like HTML. Wait, what are we talking about?

Tangent you got me thinking about: HTML clicked for me one day when I mentally decoupled the hypertext from the actual browser rendering. So many of us think HTML and imagine the point is to render a webpage. But HTML describes the semantics, topology, and content of a document. It’s 100% valid to “render” HTML in some other format like a PDF or an mp3.

I'm hoping we see a move to allow the rendering of the webpage to be entirely up to the users. Just provide the data, and let me decide how I want to interact with it. But that would ruin SEO and Ads, so we're gonna get in a buncha legal battles about web scrapers instead.
Post reply on HN