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

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

Issue 1110553003: Remove legacy NVPR support (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address comments Created 5 years, 8 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 | « src/gpu/GrPathProcessor.cpp ('k') | 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 a1d53e30fa3093cfc0f6dca1f7d2a26e9c0f4d8a..71bbafd8d9b046d4c673c5769e4180cda90deb3c 100644
--- a/src/gpu/gl/GrGLCaps.h
+++ b/src/gpu/gl/GrGLCaps.h
@@ -203,9 +203,6 @@ public:
/// maximum number of texture units accessible in the fragment shader.
int maxFragmentTextureUnits() const { return fMaxFragmentTextureUnits; }
- /// maximum number of fixed-function texture coords, or zero if no fixed-function.
- int maxFixedFunctionTextureCoords() const { return fMaxFixedFunctionTextureCoords; }
-
/// ES requires an extension to support RGBA8 in RenderBufferStorage
bool rgba8RenderbufferSupport() const { return fRGBA8RenderbufferSupport; }
@@ -288,18 +285,6 @@ 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
@@ -362,13 +347,11 @@ private:
int fMaxFragmentUniformVectors;
int fMaxVertexAttributes;
int fMaxFragmentTextureUnits;
- int fMaxFixedFunctionTextureCoords;
MSFBOType fMSFBOType;
InvalidateFBType fInvalidateFBType;
MapBufferType fMapBufferType;
LATCAlias fLATCAlias;
- NvprSupport fNvprSupport;
bool fRGBA8RenderbufferSupport : 1;
bool fBGRAIsInternalFormat : 1;
« no previous file with comments | « src/gpu/GrPathProcessor.cpp ('k') | src/gpu/gl/GrGLCaps.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698