![]() |
Flutter Engine
The Flutter Engine
|
#include "include/gpu/gl/GrGLAssembleInterface.h"#include "include/gpu/gl/GrGLAssembleHelpers.h"#include "include/private/base/SkTemplates.h"#include "src/gpu/ganesh/gl/GrGLUtil.h"Go to the source code of this file.
Macros | |
| #define | GET_PROC_LOCAL(F) GrGL##F##Fn* F = (GrGL##F##Fn*)get(ctx, "gl" #F) |
Functions | |
| sk_sp< const GrGLInterface > | GrGLMakeAssembledInterface (void *ctx, GrGLGetProc get) |
| const GrGLInterface * | GrGLAssembleInterface (void *ctx, GrGLGetProc get) |
Definition at line 14 of file GrGLAssembleInterface.cpp.
| const GrGLInterface * GrGLAssembleInterface | ( | void * | ctx, |
| GrGLGetProc | get | ||
| ) |
Deprecated version of GrGLMakeAssembledInterface() that returns a bare pointer.
Definition at line 41 of file GrGLAssembleInterface.cpp.
| sk_sp< const GrGLInterface > GrGLMakeAssembledInterface | ( | void * | ctx, |
| GrGLGetProc | get | ||
| ) |
Generic function for creating a GrGLInterface for an either OpenGL or GLES. It calls get() to get each function address. ctx is a generic ptr passed to and interpreted by get().
Definition at line 16 of file GrGLAssembleInterface.cpp.