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

Unified Diff: include/gpu/GrCaps.h

Issue 1151603005: Revert of Store context options on caps. (Closed) Base URL: https://skia.googlesource.com/skia.git@onecaps
Patch Set: Created 5 years, 7 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 | « gyp/gpu.gypi ('k') | include/gpu/GrContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrCaps.h
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h
index be62d8a851972a8cd1182852e34a430696264a46..580017a9fe40283d80ee6f5bee6a7c9398dc8496 100644
--- a/include/gpu/GrCaps.h
+++ b/include/gpu/GrCaps.h
@@ -13,8 +13,6 @@
#include "GrShaderVar.h"
#include "SkRefCnt.h"
#include "SkString.h"
-
-struct GrContextOptions;
class GrShaderCaps : public SkRefCnt {
public:
@@ -105,7 +103,7 @@
public:
SK_DECLARE_INST_COUNT(GrCaps)
- GrCaps(const GrContextOptions&);
+ GrCaps();
virtual SkString dump() const;
@@ -188,11 +186,6 @@
return fConfigTextureSupport[config];
}
- bool suppressPrints() const { return fSupressPrints; }
-
- bool drawPathMasksToCompressedTexturesSupport() const {
- return fDrawPathMasksToCompressedTextureSupport; }
-
protected:
SkAutoTUnref<GrShaderCaps> fShaderCaps;
@@ -221,9 +214,6 @@
bool fConfigTextureSupport[kGrPixelConfigCnt];
private:
- bool fSupressPrints : 1;
- bool fDrawPathMasksToCompressedTextureSupport : 1;
-
typedef SkRefCnt INHERITED;
};
« no previous file with comments | « gyp/gpu.gypi ('k') | include/gpu/GrContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698