|
|
|
|
|
by pcwalton
3685 days ago
|
|
I actually think that CSS is better for drawing with modern GPUs than native UI frameworks are. CSS is declarative, which enables global optimizations--very important on GPUs, where state changes are expensive and overdraw hurts. By contrast, native UI frameworks were designed for slow CPU rendering in the '90s via legacy APIs like GDI. |
|
If it should be faster with CSS, why isn't it? In fact, I develop a web app. What am I doing wrong?