| 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;
|
|
|