Flutter Engine
The Flutter Engine
|
#include "include/gpu/GrTypes.h"
Go to the source code of this file.
Macros | |
#define | GR_GL_FUNCTION_TYPE |
#define | GR_GL_LOG_CALLS 0 |
#define | GR_GL_LOG_CALLS_START 0 |
#define | GR_GL_CHECK_ERROR 0 |
#define | GR_GL_CHECK_ERROR_START 1 |
#define GR_GL_CHECK_ERROR 0 |
Definition at line 71 of file GrGLConfig.h.
#define GR_GL_CHECK_ERROR_START 1 |
Definition at line 76 of file GrGLConfig.h.
#define GR_GL_FUNCTION_TYPE |
Optional GL config file.
Definition at line 27 of file GrGLConfig.h.
#define GR_GL_LOG_CALLS 0 |
The following are optional defines that can be enabled at the compiler command line, in a IDE project, in a GrUserConfig.h file, or in a GL custom file (if one is in use). If a GR_GL_CUSTOM_SETUP_HEADER is used they can also be placed there.
GR_GL_LOG_CALLS: if 1 Gr can print every GL call using SkDebugf. Defaults to 0. Logging can be enabled and disabled at runtime using a debugger via to global gLogCallsGL. The initial value of gLogCallsGL is controlled by GR_GL_LOG_CALLS_START.
GR_GL_LOG_CALLS_START: controls the initial value of gLogCallsGL when GR_GL_LOG_CALLS is 1. Defaults to 0.
GR_GL_CHECK_ERROR: if enabled Gr can do a glGetError() after every GL call. Defaults to 1 if SK_DEBUG is set, otherwise 0. When GR_GL_CHECK_ERROR is 1 this can be toggled in a debugger using the gCheckErrorGL global. The initial value of gCheckErrorGL is controlled by by GR_GL_CHECK_ERROR_START.
GR_GL_CHECK_ERROR_START: controls the initial value of gCheckErrorGL when GR_GL_CHECK_ERROR is 1. Defaults to 1.
Definition at line 59 of file GrGLConfig.h.
#define GR_GL_LOG_CALLS_START 0 |
Definition at line 64 of file GrGLConfig.h.