8#if defined(SK_BUILD_FOR_WIN)
30 if (
nullptr == wglGetCurrentContext()) {
34 struct FreeModule {
void operator()(
HMODULE m) { (void)FreeLibrary(
m); } };
36 LoadLibraryA(
"opengl32.dll"));
56 const char* verStr =
reinterpret_cast<const char*
>(getString(
GR_GL_VERSION));
SK_API sk_sp< const GrGLInterface > GrGLMakeAssembledGLInterface(void *ctx, GrGLGetProc get)
GrGLFuncPtr(* GrGLGetProc)(void *ctx, const char name[])
SK_API sk_sp< const GrGLInterface > GrGLMakeAssembledGLESInterface(void *ctx, GrGLGetProc get)
const GrGLubyte *GR_GL_FUNCTION_TYPE(GrGLenum name) GrGLGetStringFn
SK_API sk_sp< const GrGLInterface > GrGLMakeNativeInterface()
#define GR_IS_GR_GL(standard)
#define GR_IS_GR_GL_ES(standard)
GrGLStandard GrGLGetStandardInUseFromString(const char *versionString)
DEF_SWITCHES_START aot vmservice shared library name