Flutter Engine
The Flutter Engine
|
#include <GrGLContext.h>
Classes | |
struct | ConstructorArgs |
Public Member Functions | |
GrGLContextInfo (GrGLContextInfo &&)=default | |
GrGLContextInfo & | operator= (GrGLContextInfo &&)=default |
virtual | ~GrGLContextInfo () |
GrGLStandard | standard () const |
GrGLVersion | version () const |
SkSL::GLSLGeneration | glslGeneration () const |
GrGLVendor | vendor () const |
GrGLRenderer | renderer () const |
GrGLANGLEBackend | angleBackend () const |
GrGLDriver | angleDriver () const |
GrGLVendor | angleVendor () const |
GrGLRenderer | angleRenderer () const |
GrGLVendor | webglVendor () const |
GrGLRenderer | webglRenderer () const |
GrGLDriver | driver () const |
GrGLDriverVersion | driverVersion () const |
bool | isOverCommandBuffer () const |
bool | isRunningOverVirgl () const |
const GrGLCaps * | caps () const |
GrGLCaps * | caps () |
bool | hasExtension (const char *ext) const |
const GrGLExtensions & | extensions () const |
Protected Member Functions | |
GrGLContextInfo & | operator= (const GrGLContextInfo &)=default |
GrGLContextInfo (const GrGLContextInfo &)=default | |
GrGLContextInfo (ConstructorArgs &&) | |
Protected Attributes | |
sk_sp< const GrGLInterface > | fInterface |
GrGLDriverInfo | fDriverInfo |
SkSL::GLSLGeneration | fGLSLGeneration |
sk_sp< GrGLCaps > | fGLCaps |
Encapsulates information about an OpenGL context including the OpenGL version, the GrGLStandard type of the context, and GLSL version.
Definition at line 23 of file GrGLContext.h.
|
default |
|
inlinevirtual |
Definition at line 28 of file GrGLContext.h.
|
protecteddefault |
|
protected |
Definition at line 78 of file GrGLContext.cpp.
|
inline |
Definition at line 54 of file GrGLContext.h.
|
inline |
Definition at line 55 of file GrGLContext.h.
|
inline |
Definition at line 57 of file GrGLContext.h.
|
inline |
Definition at line 56 of file GrGLContext.h.
|
inline |
Definition at line 70 of file GrGLContext.h.
|
inline |
Definition at line 69 of file GrGLContext.h.
|
inline |
What driver is running our GL implementation? This is not necessarily related to the vendor. (e.g. Intel GPU being driven by Mesa)
Definition at line 64 of file GrGLContext.h.
|
inline |
Definition at line 65 of file GrGLContext.h.
|
inline |
Definition at line 76 of file GrGLContext.h.
|
inline |
Definition at line 32 of file GrGLContext.h.
|
inline |
Definition at line 72 of file GrGLContext.h.
|
inline |
Definition at line 66 of file GrGLContext.h.
|
inline |
Definition at line 67 of file GrGLContext.h.
|
protecteddefault |
|
default |
|
inline |
Definition at line 47 of file GrGLContext.h.
|
inline |
Definition at line 30 of file GrGLContext.h.
|
inline |
We've accumlated a lot of GL driver workarounds and performance preferences based on vendor and renderer. When we have GL sitting on top of Angle it is not clear which of these are necessary and which are handle by Angle. Thus to be safe we get the underlying GL vendor and renderer from Angle so we can enable these workarounds. It may mean that the same workaround is implemented both in Skia and Angle, but that is better than missing out on one.
Definition at line 40 of file GrGLContext.h.
|
inline |
Definition at line 31 of file GrGLContext.h.
|
inline |
Definition at line 60 of file GrGLContext.h.
|
inline |
Definition at line 59 of file GrGLContext.h.
|
protected |
Definition at line 92 of file GrGLContext.h.
Definition at line 94 of file GrGLContext.h.
|
protected |
Definition at line 93 of file GrGLContext.h.
|
protected |
Definition at line 91 of file GrGLContext.h.