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

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

Issue 822423004: Move most of the transform logic into the primitive processors (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: more cleanup Created 5 years, 11 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
Index: src/gpu/gl/GrGLCaps.h
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h
index 0018263b02e855b92cf51b599ee4141870c43f54..8d34078220c4aab4265f269aff660dd45525572f 100644
--- a/src/gpu/gl/GrGLCaps.h
+++ b/src/gpu/gl/GrGLCaps.h
@@ -284,6 +284,18 @@ public:
LATCAlias latcAlias() const { return fLATCAlias; }
+ /**
+ * Which type of path rendering is supported, if any
+ * TODO delete this when we only support normal non-legacy nvpr
+ */
+ enum NvprSupport {
+ kNone_NvprSupport,
+ kLegacy_NvprSupport,
+ kNormal_NvprSupport,
+ };
+
+ NvprSupport nvprSupport() const { return fNvprSupport; }
+
private:
/**
* Maintains a bit per GrPixelConfig. It is used to avoid redundantly
@@ -352,6 +364,7 @@ private:
InvalidateFBType fInvalidateFBType;
MapBufferType fMapBufferType;
LATCAlias fLATCAlias;
+ NvprSupport fNvprSupport;
bool fRGBA8RenderbufferSupport : 1;
bool fBGRAIsInternalFormat : 1;

Powered by Google App Engine
This is Rietveld 408576698