Flutter Engine
The Flutter Engine
|
#include "include/core/SkRefCnt.h"
#include "include/gpu/GpuTypes.h"
#include "include/gpu/gl/GrGLConfig.h"
Go to the source code of this file.
Classes | |
struct | GrGLDrawArraysIndirectCommand |
struct | GrGLDrawElementsIndirectCommand |
struct | GrGLTextureInfo |
struct | GrGLFramebufferInfo |
struct | GrGLSurfaceInfo |
Macros | |
#define | GR_IS_GR_GL(standard) (kGL_GrGLStandard == standard) |
#define | GR_IS_GR_GL_ES(standard) (kGLES_GrGLStandard == standard) |
#define | GR_IS_GR_WEBGL(standard) (kWebGL_GrGLStandard == standard) |
Typedefs | |
typedef unsigned int | GrGLenum |
typedef unsigned char | GrGLboolean |
typedef unsigned int | GrGLbitfield |
typedef signed char | GrGLbyte |
typedef char | GrGLchar |
typedef short | GrGLshort |
typedef int | GrGLint |
typedef int | GrGLsizei |
typedef int64_t | GrGLint64 |
typedef unsigned char | GrGLubyte |
typedef unsigned short | GrGLushort |
typedef unsigned int | GrGLuint |
typedef uint64_t | GrGLuint64 |
typedef unsigned short int | GrGLhalf |
typedef float | GrGLfloat |
typedef float | GrGLclampf |
typedef double | GrGLdouble |
typedef double | GrGLclampd |
typedef void | GrGLvoid |
typedef signed long int | GrGLintptr |
typedef signed long int | GrGLsizeiptr |
typedef void * | GrGLeglImage |
typedef struct __GLsync * | GrGLsync |
typedef void(GR_GL_FUNCTION_TYPE * | GRGLDEBUGPROC) (GrGLenum source, GrGLenum type, GrGLuint id, GrGLenum severity, GrGLsizei length, const GrGLchar *message, const void *userParam) |
typedef void * | GrEGLImage |
typedef void * | GrEGLDisplay |
typedef void * | GrEGLContext |
typedef void * | GrEGLClientBuffer |
typedef unsigned int | GrEGLenum |
typedef int32_t | GrEGLint |
typedef unsigned int | GrEGLBoolean |
Enumerations | |
enum | GrGLStandard { kNone_GrGLStandard , kGL_GrGLStandard , kGLES_GrGLStandard , kWebGL_GrGLStandard } |
enum class | GrGLFormat { kUnknown , kRGBA8 , kR8 , kALPHA8 , kLUMINANCE8 , kLUMINANCE8_ALPHA8 , kBGRA8 , kRGB565 , kRGBA16F , kR16F , kRGB8 , kRGBX8 , kRG8 , kRGB10_A2 , kRGBA4 , kSRGB8_ALPHA8 , kCOMPRESSED_ETC1_RGB8 , kCOMPRESSED_RGB8_ETC2 , kCOMPRESSED_RGB8_BC1 , kCOMPRESSED_RGBA8_BC1 , kR16 , kRG16 , kRGBA16 , kRG16F , kLUMINANCE16F , kLastColorFormat = kLUMINANCE16F , kSTENCIL_INDEX8 , kSTENCIL_INDEX16 , kDEPTH24_STENCIL8 , kLast = kDEPTH24_STENCIL8 } |
Variables | |
static const int | kGrGLStandardCnt = 4 |
#define GR_IS_GR_GL | ( | standard | ) | (kGL_GrGLStandard == standard) |
Definition at line 48 of file GrGLTypes.h.
#define GR_IS_GR_GL_ES | ( | standard | ) | (kGLES_GrGLStandard == standard) |
Definition at line 49 of file GrGLTypes.h.
#define GR_IS_GR_WEBGL | ( | standard | ) | (kWebGL_GrGLStandard == standard) |
Definition at line 50 of file GrGLTypes.h.
typedef unsigned int GrEGLBoolean |
Definition at line 171 of file GrGLTypes.h.
typedef void* GrEGLClientBuffer |
Definition at line 168 of file GrGLTypes.h.
typedef void* GrEGLContext |
Definition at line 167 of file GrGLTypes.h.
typedef void* GrEGLDisplay |
Definition at line 166 of file GrGLTypes.h.
Definition at line 169 of file GrGLTypes.h.
typedef void* GrEGLImage |
EGL types.
Definition at line 165 of file GrGLTypes.h.
typedef int32_t GrEGLint |
Definition at line 170 of file GrGLTypes.h.
typedef unsigned int GrGLbitfield |
Definition at line 104 of file GrGLTypes.h.
typedef unsigned char GrGLboolean |
Definition at line 103 of file GrGLTypes.h.
typedef signed char GrGLbyte |
Definition at line 105 of file GrGLTypes.h.
typedef char GrGLchar |
Definition at line 106 of file GrGLTypes.h.
typedef double GrGLclampd |
Definition at line 119 of file GrGLTypes.h.
typedef float GrGLclampf |
Definition at line 117 of file GrGLTypes.h.
typedef void(GR_GL_FUNCTION_TYPE * GRGLDEBUGPROC) (GrGLenum source, GrGLenum type, GrGLuint id, GrGLenum severity, GrGLsizei length, const GrGLchar *message, const void *userParam) |
KHR_debug
Definition at line 154 of file GrGLTypes.h.
typedef double GrGLdouble |
Definition at line 118 of file GrGLTypes.h.
typedef void* GrGLeglImage |
Definition at line 128 of file GrGLTypes.h.
Declares typedefs for all the GL functions used in GrGLInterface
Definition at line 102 of file GrGLTypes.h.
typedef float GrGLfloat |
Definition at line 116 of file GrGLTypes.h.
Definition at line 115 of file GrGLTypes.h.
Definition at line 108 of file GrGLTypes.h.
typedef int64_t GrGLint64 |
Definition at line 110 of file GrGLTypes.h.
typedef signed long int GrGLintptr |
Definition at line 125 of file GrGLTypes.h.
typedef short GrGLshort |
Definition at line 107 of file GrGLTypes.h.
Definition at line 109 of file GrGLTypes.h.
typedef signed long int GrGLsizeiptr |
Definition at line 126 of file GrGLTypes.h.
typedef struct __GLsync* GrGLsync |
Definition at line 129 of file GrGLTypes.h.
typedef unsigned char GrGLubyte |
Definition at line 111 of file GrGLTypes.h.
Definition at line 113 of file GrGLTypes.h.
typedef uint64_t GrGLuint64 |
Definition at line 114 of file GrGLTypes.h.
typedef unsigned short GrGLushort |
Definition at line 112 of file GrGLTypes.h.
typedef void GrGLvoid |
Definition at line 120 of file GrGLTypes.h.
|
strong |
The supported GL formats represented as an enum. Actual support by GrContext depends on GL context version and extensions.
Definition at line 59 of file GrGLTypes.h.
enum GrGLStandard |
Classifies GL contexts by which standard they implement (currently as OpenGL vs. OpenGL ES).
Enumerator | |
---|---|
kNone_GrGLStandard | |
kGL_GrGLStandard | |
kGLES_GrGLStandard | |
kWebGL_GrGLStandard |
Definition at line 19 of file GrGLTypes.h.
|
static |
Definition at line 25 of file GrGLTypes.h.