OK, with some fiddling I can confirm the same bugs are visible in Mir's demo servers (from package mir-demos). So Unity8 is not a problem.
I can now also see what the problems are:
1. Seeing double: This is SDL incorrectly telling the app that a 16-bit pixel size is supported. It is not supported in Mir.
2. Wrong colours: This is also SDL incorrectly telling the app that it can use 16-bit colour. Mir only supports 24 or 32-bit colour right now.
OK, with some fiddling I can confirm the same bugs are visible in Mir's demo servers (from package mir-demos). So Unity8 is not a problem.
I can now also see what the problems are:
1. Seeing double: This is SDL incorrectly telling the app that a 16-bit pixel size is supported. It is not supported in Mir.
2. Wrong colours: This is also SDL incorrectly telling the app that it can use 16-bit colour. Mir only supports 24 or 32-bit colour right now.
From gles:
$ env LD_LIBRARY_ PATH=./ lib/arm- linux-gnueabihf ./gles compressed_ ATC_texture GL_AMD_ performance_ monitor GL_APPLE_ texture_ 2D_limited_ npot GL_ARB_ vertex_ buffer_ object GL_EXT_ texture_ filter_ anisotropic GL_EXT_ texture_ format_ BGRA8888 GL_EXT_ texture_ type_2_ 10_10_10_ REV GL_OES_ blend_equation_ separate GL_OES_ blend_func_ separate GL_OES_ blend_subtract GL_OES_ compressed_ ETC1_RGB8_ texture GL_OES_ compressed_ paletted_ texture GL_OES_ depth_texture GL_OES_depth24 GL_OES_draw_texture GL_OES_EGL_image GL_OES_ EGL_image_ external GL_OES_ framebuffer_ object GL_OES_ matrix_ palette GL_OES_ packed_ depth_stencil GL_OES_ point_size_ array GL_OES_point_sprite GL_OES_read_format GL_OES_rgb8_rgba8 GL_OES_stencil_wrap GL_OES_ texture_ cube_map GL_OES_ texture_ env_crossbar GL_OES_ texture_ float GL_OES_ texture_ half_float GL_OES_ texture_ half_float_ linear GL_OES_texture_npot GL_OES_ texture_ mirrored_ repeat GL_QCOM_ binning_ control GL_QCOM_ extended_ get GL_QCOM_ tiled_rendering
Window requested size 640x480, got 768x1280
INFO: Screen bpp: 24
INFO:
INFO: Vendor : Qualcomm
INFO: Renderer : Adreno (TM) 320
INFO: Version : OpenGL ES-CM 1.1
INFO: Extensions : GL_EXT_debug_marker GL_AMD_
INFO:
INFO: SDL_GL_RED_SIZE: requested 5, got 5
INFO: SDL_GL_GREEN_SIZE: requested 5, got 6
INFO: SDL_GL_BLUE_SIZE: requested 5, got 5
INFO: SDL_GL_DEPTH_SIZE: requested 16, got 16