kripken/emscripten — pull request #466 by caiiiycuk (2012-06-08 17:20:08+00:00)
Title: Implementation of SDL_Surface with SDL_HWPALETTE flag (8bpp surface)

Implementation of SDL_Surface with SDL_HWPALETTE flag (8bpp surface).

Also, i found problem with SDL_SetColors. When it uses Array_copy function then i have dramatic slow perfomance in FF 13. You can check it with test_sdl_canvas_palette_2. If i use Array_copy perfomance is about **1-2 fps** or even slower. But when i use my implementation all looking fast. I think may be this function (Array_copy) used some where else, so this information might be significant.

Another problem with old implementation that is on my pc colors after array_copy had negative values.