Index: src/gpu/gl/GrGLCaps.h |
=================================================================== |
--- src/gpu/gl/GrGLCaps.h (revision 8359) |
+++ src/gpu/gl/GrGLCaps.h (working copy) |
@@ -12,6 +12,7 @@ |
#include "SkTArray.h" |
#include "SkTDArray.h" |
#include "GrGLStencilBuffer.h" |
+#include "GrDrawTarget.h" |
class GrGLContextInfo; |
@@ -20,7 +21,7 @@ |
* version and the extensions string. It also tracks formats that have passed |
* the FBO completeness test. |
*/ |
-class GrGLCaps { |
+class GrGLCaps : public GrDrawTarget::Caps { |
public: |
typedef GrGLStencilBuffer::Format StencilFormat; |
@@ -93,7 +94,7 @@ |
/** |
* Resets the caps such that nothing is supported. |
*/ |
- void reset(); |
+ virtual void reset() SK_OVERRIDE; |
/** |
* Initializes the GrGLCaps to the set of features supported in the current |
@@ -158,7 +159,7 @@ |
/** |
* Prints the caps info using GrPrintf. |
*/ |
- void print() const; |
+ virtual void print() const SK_OVERRIDE; |
/** |
* Gets an array of legal stencil formats. These formats are not guaranteed |
@@ -308,6 +309,8 @@ |
bool fVertexArrayObjectSupport : 1; |
bool fUseNonVBOVertexAndIndexDynamicData : 1; |
bool fIsCoreProfile : 1; |
+ |
+ typedef GrDrawTarget::Caps INHERITED; |
}; |
#endif |