diff options
author | 2014-12-16 09:49:38 -0800 | |
---|---|---|
committer | 2014-12-16 09:49:39 -0800 | |
commit | 3f801cbb67895fa9fa29498aa017a7666960a627 (patch) | |
tree | 40b78acb3e6e8c3ba2bfba1f870dc6ea7dd9552c /src/gpu/gl/GrGLCaps.h | |
parent | ed31343805e8cc416ff6b2de28aefffa59c975ed (diff) |
Change desktop and ES 3.0 to always use sized internal texture formats.
Committed: https://skia.googlesource.com/skia/+/bc02bf0ee4221604796cd6d0394ca3af60c0a579
Review URL: https://codereview.chromium.org/806943002
Diffstat (limited to 'src/gpu/gl/GrGLCaps.h')
-rw-r--r-- | src/gpu/gl/GrGLCaps.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h index 19e9b878de..0018263b02 100644 --- a/src/gpu/gl/GrGLCaps.h +++ b/src/gpu/gl/GrGLCaps.h @@ -245,6 +245,9 @@ public: /// Is there support for Vertex Array Objects? bool vertexArrayObjectSupport() const { return fVertexArrayObjectSupport; } + /// Is there support for ES2 compatability? + bool ES2CompatibilitySupport() const { return fES2CompatibilitySupport; } + /// Use indices or vertices in CPU arrays rather than VBOs for dynamic content. bool useNonVBOVertexAndIndexDynamicData() const { return fUseNonVBOVertexAndIndexDynamicData; @@ -364,6 +367,7 @@ private: bool fTwoFormatLimit : 1; bool fFragCoordsConventionSupport : 1; bool fVertexArrayObjectSupport : 1; + bool fES2CompatibilitySupport : 1; bool fUseNonVBOVertexAndIndexDynamicData : 1; bool fIsCoreProfile : 1; bool fFullClearIsFree : 1; |