News for hackers. Stuff that matters.
Re:True 8-bit Color Cycling with HTML5 by exDM69 on Thursday April 26, 2012 @05:58AM (#3893137)
Look at your CPU usage while viewing this page. The idea behind the original palette rotation tricks was to use less CPU. The actual palette values were deep inside the graphics adapter and was faster to change than the actual pixels on the screen.

Maybe we should do palette rotation tricks with (WebGL) shaders running on the GPU h/w to get a similar effect without the CPU hit.

Re:True 8-bit Color Cycling with HTML5 by ajross on Thursday April 26, 2012 @11:52AM (#3894492)
Even that wouldn't pass the "true" test. You could implement the "pallet" using a texture lookup on the GPU of course, but could only apply it by rewriting all the pixels.