Index: include/gpu/GrCaps.h |
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h |
index be62d8a851972a8cd1182852e34a430696264a46..4eb2a56ce43648add2f5dbdbb7957c5e57c11791 100644 |
--- a/include/gpu/GrCaps.h |
+++ b/include/gpu/GrCaps.h |
@@ -194,6 +194,11 @@ public: |
return fDrawPathMasksToCompressedTextureSupport; } |
protected: |
+ /** Subclasses must call this at the end of their constructors in order to apply caps |
+ overrides requested by the client. Note that overrides will only reduce the caps never |
+ expand them. */ |
+ void applyOptionsOverrides(const GrContextOptions& options); |
+ |
SkAutoTUnref<GrShaderCaps> fShaderCaps; |
bool fNPOTTextureTileSupport : 1; |