Flutter Engine
The Flutter Engine
Macros | Functions
GrGLUniformHandler.cpp File Reference
#include "src/gpu/ganesh/gl/GrGLUniformHandler.h"
#include "src/gpu/ganesh/GrTexture.h"
#include "src/gpu/ganesh/GrUtil.h"
#include "src/gpu/ganesh/gl/GrGLCaps.h"
#include "src/gpu/ganesh/gl/GrGLGpu.h"
#include "src/gpu/ganesh/gl/builders/GrGLProgramBuilder.h"
#include "src/sksl/SkSLCompiler.h"

Go to the source code of this file.

Macros

#define GL_CALL(X)   GR_GL_CALL(this->glGpu()->glInterface(), X)
 
#define GL_CALL_RET(R, X)   GR_GL_CALL_RET(this->glGpu()->glInterface(), R, X)
 

Functions

bool valid_name (const char *name)
 

Macro Definition Documentation

◆ GL_CALL

#define GL_CALL (   X)    GR_GL_CALL(this->glGpu()->glInterface(), X)

Definition at line 17 of file GrGLUniformHandler.cpp.

◆ GL_CALL_RET

#define GL_CALL_RET (   R,
  X 
)    GR_GL_CALL_RET(this->glGpu()->glInterface(), R, X)

Definition at line 18 of file GrGLUniformHandler.cpp.

Function Documentation

◆ valid_name()

bool valid_name ( const char *  name)

Definition at line 20 of file GrGLUniformHandler.cpp.

20 {
21 // disallow unknown names that start with "sk_"
22 if (!strncmp(name, GR_NO_MANGLE_PREFIX, strlen(GR_NO_MANGLE_PREFIX))) {
23 return !strcmp(name, SkSL::Compiler::RTADJUST_NAME);
24 }
25 return true;
26}
#define GR_NO_MANGLE_PREFIX
static constexpr const char RTADJUST_NAME[]
Definition: SkSLCompiler.h:72
DEF_SWITCHES_START aot vmservice shared library name
Definition: switches.h:32