Flutter Engine
The Flutter Engine
|
#include <GrGLTypes.h>
Public Member Functions | |
bool | operator== (const GrGLTextureInfo &that) const |
bool | isProtected () const |
Public Attributes | |
GrGLenum | fTarget |
GrGLuint | fID |
GrGLenum | fFormat = 0 |
skgpu::Protected | fProtected = skgpu::Protected::kNo |
Types for interacting with GL resources created externally to Skia. GrBackendObjects for GL textures are really const GrGLTexture*. The fFormat here should be a sized, internal format for the texture. We will try to use the sized format if the GL Context supports it, otherwise we will internally fall back to using the base internal formats.
Definition at line 180 of file GrGLTypes.h.
|
inline |
Definition at line 193 of file GrGLTypes.h.
|
inline |
Definition at line 186 of file GrGLTypes.h.
GrGLenum GrGLTextureInfo::fFormat = 0 |
Definition at line 183 of file GrGLTypes.h.
GrGLuint GrGLTextureInfo::fID |
Definition at line 182 of file GrGLTypes.h.
skgpu::Protected GrGLTextureInfo::fProtected = skgpu::Protected::kNo |
Definition at line 184 of file GrGLTypes.h.
GrGLenum GrGLTextureInfo::fTarget |
Definition at line 181 of file GrGLTypes.h.