Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Functions
GrGLInterfaces Namespace Reference

Functions

SK_API sk_sp< const GrGLInterfaceMakeEGL ()
 
SK_API sk_sp< const GrGLInterfaceMakeEpoxyEGL ()
 
SK_API sk_sp< const GrGLInterfaceMakeGLX ()
 
SK_API sk_sp< const GrGLInterfaceMakeWebGL ()
 
SK_API sk_sp< const GrGLInterfaceMakeIOS ()
 
SK_API sk_sp< const GrGLInterfaceMakeMac ()
 

Function Documentation

◆ MakeEGL()

sk_sp< const GrGLInterface > GrGLInterfaces::MakeEGL ( )

Definition at line 27 of file GrGLMakeEGLInterface.cpp.

27 {
29}
SK_API sk_sp< const GrGLInterface > GrGLMakeAssembledInterface(void *ctx, GrGLGetProc get)
static GrGLFuncPtr egl_get_gl_proc(void *ctx, const char name[])

◆ MakeEpoxyEGL()

sk_sp< const GrGLInterface > GrGLInterfaces::MakeEpoxyEGL ( )

Definition at line 27 of file GrGLMakeEpoxyEGLInterface.cpp.

27 {
29}
static GrGLFuncPtr epoxy_get_gl_proc(void *ctx, const char name[])

◆ MakeGLX()

sk_sp< const GrGLInterface > GrGLInterfaces::MakeGLX ( )

Definition at line 30 of file GrGLMakeGLXInterface.cpp.

30 {
31 if (nullptr == glXGetCurrentContext()) {
32 return nullptr;
33 }
34
35 return GrGLMakeAssembledInterface(nullptr, glx_get);
36}
static GrGLFuncPtr glx_get(void *ctx, const char name[])

◆ MakeIOS()

SK_API sk_sp< const GrGLInterface > GrGLInterfaces::MakeIOS ( )

◆ MakeMac()

SK_API sk_sp< const GrGLInterface > GrGLInterfaces::MakeMac ( )

◆ MakeWebGL()

sk_sp< const GrGLInterface > GrGLInterfaces::MakeWebGL ( )

Definition at line 29 of file GrGLMakeNativeInterface_webgl.cpp.

29 {
31}
SK_API sk_sp< const GrGLInterface > GrGLMakeAssembledWebGLInterface(void *ctx, GrGLGetProc get)
static GrGLFuncPtr webgl_get_gl_proc(void *ctx, const char name[])