Skip to content

Comment on Opossum: Cross-platform web browser written in Golang, optimized for Plan 9parent

Comments

You aren't going to be sending vertices through the pipe every frame.

You are going to be sending commands to create the vertex buffers and upload textures (with the relevant data) and then most of your commands will be referencing those. Which is basically exactly what discrete GPUs already do anyway.

IIRC, unlike OpenGL, WebGL doesn't even allow you to do things in another way.

What X Windows did isn't very relevant because the use is very different. It'd only be somewhat comparable if the WebGL programs would treat WebGL as a way to stream new frame data for every frame (e.g. video). Also all X Windows communication with clients is done via commands sent through unix sockets which have similar performance to pipes.

GPUs and game consoles use DMA with command buffers for transfers, and synchronization points, not file handles with IO APIs.

Right but WebGL and OpenGL without vendor-specific extensions does not expose those so they are irrelevant here.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.