14#define GLX_GLXEXT_PROTOTYPES 1
20 if (0 == strncmp(
name,
"egl", 3)) {
26 return glXGetProcAddress(
reinterpret_cast<const GLubyte*
>(
name));
31 if (
nullptr == glXGetCurrentContext()) {
39#if !defined(SK_DISABLE_LEGACY_GLXINTERFACE_FACTORY)
SK_API sk_sp< const GrGLInterface > GrGLMakeAssembledInterface(void *ctx, GrGLGetProc get)
sk_sp< const GrGLInterface > GrGLMakeGLXInterface()
static GrGLFuncPtr glx_get(void *ctx, const char name[])
SK_API sk_sp< const GrGLInterface > MakeGLX()
DEF_SWITCHES_START aot vmservice shared library name