lib/glesv2: use the hex litteral instead of `to_hex`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/sdl: native_blit is private

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/sdl: improve implementation and doc of `SDLDisplay::events`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/c: move up general logic from `CIntArray` to `CArray`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/c: intro `CIntArray::from`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/c: intro `CByteArray`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>