Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Attributes | List of all members
GrGLCaps::ColorTypeInfo::ExternalIOFormats Struct Reference

#include <GrGLCaps.h>

Public Attributes

GrColorType fColorType = GrColorType::kUnknown
 
GrGLenum fExternalType = 0
 
GrGLenum fExternalTexImageFormat = 0
 
GrGLenum fExternalReadFormat = 0
 
bool fRequiresImplementationReadQuery = false
 

Detailed Description

Definition at line 684 of file GrGLCaps.h.

Member Data Documentation

◆ fColorType

GrColorType GrGLCaps::ColorTypeInfo::ExternalIOFormats::fColorType = GrColorType::kUnknown

Definition at line 685 of file GrGLCaps.h.

◆ fExternalReadFormat

GrGLenum GrGLCaps::ColorTypeInfo::ExternalIOFormats::fExternalReadFormat = 0

Definition at line 695 of file GrGLCaps.h.

◆ fExternalTexImageFormat

GrGLenum GrGLCaps::ColorTypeInfo::ExternalIOFormats::fExternalTexImageFormat = 0

Definition at line 694 of file GrGLCaps.h.

◆ fExternalType

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.

◆ fRequiresImplementationReadQuery

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.


The documentation for this struct was generated from the following file: