Raspberry PI does not support OpenGL/GLFW very well. The easiest approach would be to add a canvas_fb.c that implements the canvas interface but writes directly to a mapped /dev/fb0, which should be fast enough or even faster than an OpenGL ES Implementation.