Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(323)

Unified Diff: src/gpu/gl/GrGLCaps.h

Issue 23587014: Add bit to GrGLCaps for fixed function support (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Add printout for new bool and other fields Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/gpu/gl/GrGLCaps.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/GrGLCaps.h
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h
index 79251b2645334785b1d8d7393c52cdc4f7c25f25..a4d567351e635166b8668dd9d251656f6530c025 100644
--- a/src/gpu/gl/GrGLCaps.h
+++ b/src/gpu/gl/GrGLCaps.h
@@ -282,6 +282,8 @@ public:
bool isCoreProfile() const { return fIsCoreProfile; }
+ bool fixedFunctionSupport() const { return fFixedFunctionSupport; }
+
/// Is there support for discarding the frame buffer
bool discardFBSupport() const { return fDiscardFBSupport; }
@@ -364,6 +366,7 @@ private:
bool fVertexArrayObjectSupport : 1;
bool fUseNonVBOVertexAndIndexDynamicData : 1;
bool fIsCoreProfile : 1;
+ bool fFixedFunctionSupport : 1;
bool fDiscardFBSupport : 1;
typedef GrDrawTargetCaps INHERITED;
« no previous file with comments | « no previous file | src/gpu/gl/GrGLCaps.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698