Name Description Size Coverage
egl -
epoxy -
glx -
GrGLAssembleHelpers.h 552 -
GrGLAssembleInterface.h 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(). 1806 -
GrGLBackendSurface.h 2069 -
GrGLConfig.h 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. 1978 -
GrGLDirectContext.h Creates a GrDirectContext for a backend context. GrGLInterface must be non-null. 815 -
GrGLExtensions.h This helper queries the current GL context for its extensions, remembers them, and can be queried. It supports both glGetString- and glGetStringi-style extension string APIs and will use the latter if it is available. It also will query for EGL extensions if a eglQueryString implementation is provided. 2335 -
GrGLFunctions.h 26542 -
GrGLInterface.h Rather than depend on platform-specific GL headers and libraries, we require the client to provide a struct of GL function pointers. This struct can be specified per-GrContext as a parameter to GrContext::MakeGL. If no interface is passed to MakeGL then a default GL interface is created using GrGLMakeNativeInterface(). If this returns nullptr then GrContext::MakeGL() will fail. The implementation of GrGLMakeNativeInterface is platform-specific. Several implementations have been provided (for GLX, WGL, EGL, etc), along with an implementation that simply returns nullptr. Clients should select the most appropriate one to build. 17747 -
GrGLMakeWebGLInterface.h 440 -
GrGLTypes.h Classifies GL contexts by which standard they implement (currently as OpenGL vs. OpenGL ES). 6211 -
ios -
mac -
win -