Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
GrGLMakeEpoxyEGLInterface.cpp File Reference
#include "include/gpu/gl/GrGLAssembleInterface.h"
#include "include/gpu/gl/GrGLInterface.h"
#include "src/gpu/ganesh/gl/GrGLCoreFunctions.h"
#include "src/gpu/ganesh/gl/GrGLUtil.h"
#include "include/gpu/ganesh/gl/epoxy/GrGLMakeEpoxyEGLInterface.h"
#include <epoxy/egl.h>
#include <epoxy/gl.h>

Go to the source code of this file.

Namespaces

namespace  GrGLInterfaces
 

Macros

#define M(X)   if (0 == strcmp(#X, name)) { return (GrGLFuncPtr) epoxy_ ## X; }
 

Functions

static GrGLFuncPtr epoxy_get_gl_proc (void *ctx, const char name[])
 
SK_API sk_sp< const GrGLInterfaceGrGLInterfaces::MakeEpoxyEGL ()
 

Macro Definition Documentation

◆ M

#define M (   X)    if (0 == strcmp(#X, name)) { return (GrGLFuncPtr) epoxy_ ## X; }

Function Documentation

◆ epoxy_get_gl_proc()

static GrGLFuncPtr epoxy_get_gl_proc ( void *  ctx,
const char  name[] 
)
static

Definition at line 17 of file GrGLMakeEpoxyEGLInterface.cpp.

18{
19 SkASSERT(nullptr == ctx);
20 #define M(X) if (0 == strcmp(#X, name)) { return (GrGLFuncPtr) epoxy_ ## X; }
22 #undef M
24}
#define GR_GL_CORE_FUNCTIONS_EACH(M)
#define M(X)
#define SkASSERT(cond)
Definition SkAssert.h:116
const char * name
Definition fuchsia.cc:50
void(*(* epoxy_eglGetProcAddress)(const char *procname))(void)