commit | b7f8533e2b78cfba9c39f618251a12fc74bf5036 | [log] [tgz] |
---|---|---|
author | Neil Roberts <neil@linux.intel.com> | Fri Mar 07 18:05:49 2014 +0000 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Wed Mar 12 14:44:00 2014 -0700 |
tree | 76ae1ed0126bfe71b8ac5b22cde1a3b5007173fd | |
parent | 3c2e66bb6ce386d864ff0234b95273a47fc9983e [diff] |
Split gl_renderer_setup into two functions Part of the gl_renderer_setup function only deals with checking EGL extensions and doesn't need to have a current context. This patch moves these checks so that they are done during gl_renderer_create instead of waiting until we have an output. We will need this in a later patch because some of the EGL extensions will affect how we create the EGLSurface.