2 ms·
Most demos don't push pixels but vertices. Graphics hardware turns that into pixels. If you'd do all pixel rendering on the CPU your code size would maybe, what
by skrebbel 12y ago
Most demos don't push pixels but vertices. Graphics hardware turns that into pixels. If you'd do all pixel rendering on the CPU your code size would maybe, what, double, but you usually don't want that because the GPU is multiple orders of magnitude faster than that. Also, given that most size in demos is taken up by data, not code (except in 4k intros and the likes), it wouldn't make a significant size difference, really - just an effort difference.
Additionally, many effects in modern demos run purely in shaders, written in HLSL or GLSL. The CPU part draws a single rectangle and the rest happens in a shader. Would you count that as depending on system libraries? Shader languages aren't much more high level than C, so its pretty close to the metal. In any case, you can't go more low level because GPU machine code (which HLSL etc compile down to) is pretty inaccessible in practice.