createFromNativePointers
Creates an OpenGL interface object.
There must be a current OpenGL context set (i.e., by calling eglMakeCurrent before this), otherwise this function will fail. For more information refer to skia GrGLMakeAssembledInterface function.
For example, this GetGLFuncPtrByName function could be passed as a fPtr:
typedef void(*GLFuncPtr)();
GLFuncPtr GetGLFuncPtrByName(void* ctx, const char* name);Content copied to clipboard