Flutter Engine
The Flutter Engine
|
#include <GrGLCaps.h>
Public Attributes | |
GrColorType | fColorType = GrColorType::kUnknown |
GrGLenum | fExternalType = 0 |
GrGLenum | fExternalTexImageFormat = 0 |
GrGLenum | fExternalReadFormat = 0 |
bool | fRequiresImplementationReadQuery = false |
Definition at line 684 of file GrGLCaps.h.
GrColorType GrGLCaps::ColorTypeInfo::ExternalIOFormats::fColorType = GrColorType::kUnknown |
Definition at line 685 of file GrGLCaps.h.
GrGLenum GrGLCaps::ColorTypeInfo::ExternalIOFormats::fExternalReadFormat = 0 |
Definition at line 695 of file GrGLCaps.h.
GrGLenum GrGLCaps::ColorTypeInfo::ExternalIOFormats::fExternalTexImageFormat = 0 |
Definition at line 694 of file GrGLCaps.h.
GrGLenum GrGLCaps::ColorTypeInfo::ExternalIOFormats::fExternalType = 0 |
The external format and type are to be used when uploading/downloading data using data of fColorType and uploading to a texture of a given GrGLFormat and its intended GrColorType. The fExternalTexImageFormat is the format to use for TexImage calls. The fExternalReadFormat is used when calling ReadPixels. If either is zero that signals that either TexImage or ReadPixels is not supported for the combination of format and color types.
Definition at line 693 of file GrGLCaps.h.
bool GrGLCaps::ColorTypeInfo::ExternalIOFormats::fRequiresImplementationReadQuery = false |
Must check whether GL_IMPLEMENTATION_COLOR_READ_FORMAT and _TYPE match fExternalReadFormat and fExternalType before using with glReadPixels.
Definition at line 700 of file GrGLCaps.h.