check if gbm buffer is created, check for EGL_KHR_surfaceless_opengl, convert indentation tabs into spaces