|
|
|
|
|
by revelation
3279 days ago
|
|
Of course they do, modern games are a complex interaction of many different shaders operating on all levels of abstraction on many different classes of runtime data that they compose, renew and adapt many many times in 16 ms. Is the whole CSS debacle a particularly unlikely concept to yield anything close to a reasonable performing implementation? Sure, but that is because nobody has applied the pressure necessary. People won't play a game that doesn't consistently meet a 30 ms deadline but they seem to happily put up with 3 seconds to final render and call it "amazing". |
|
GPUs work here because games fundamentally operate on a list-like datastructure (the display list), with little interdependence.
Styling on the other hand operates on a tree like datastructure (the DOM), with lots of interdependence.
Cascading isn't something games need at all, and if it was, it could be precomputed. THis can't be done in webpages.