|
|
|
|
|
by ghusbands
1666 days ago
|
|
One cool related thing is that (I believe) modern graphics cards (even Intel) can store and use JPG blocks directly from GPU memory, so it's not necessarily beneficial in the long term to convert to RGBA in advance. Though I think no modern browser actually does this, especially given how power-cheap decoding jpeg (with SIMD) already is and how likely it is that gpu bugs would interfere. |
|
It is however perfectly possible to decode blocks of JPG on a GPU by using shader code.