diff options
author | 2015-04-27 10:36:27 -0700 | |
---|---|---|
committer | 2015-04-27 10:36:27 -0700 | |
commit | 505306374de4ceca7b6dfcf155fb64840c7f07a0 (patch) | |
tree | f5e1e81a7941f67bd51fe41b403a8dbaba4f2436 /src/gpu/gl/GrGLCaps.h | |
parent | d79c549467e5e7be025e38357f179b7965ed2ec3 (diff) |
Remove legacy NVPR support
BUG=skia:
Review URL: https://codereview.chromium.org/1110553003
Diffstat (limited to 'src/gpu/gl/GrGLCaps.h')
-rw-r--r-- | src/gpu/gl/GrGLCaps.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h index a1d53e30fa..71bbafd8d9 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; |