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

Unified Diff: src/gpu/GrDrawTargetCaps.h

Issue 1133123009: rename GrDrawTargetCaps to GrCaps (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix gypi filename 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 | « src/gpu/GrDrawTarget.cpp ('k') | src/gpu/GrGpu.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrDrawTargetCaps.h
diff --git a/src/gpu/GrDrawTargetCaps.h b/src/gpu/GrDrawTargetCaps.h
index 086b61579a82e0dfe418cf0bd8a11f82ae691de5..c1b7381cc20f43a350ac920c0da42859bc062c50 100644
--- a/src/gpu/GrDrawTargetCaps.h
+++ b/src/gpu/GrDrawTargetCaps.h
@@ -5,8 +5,8 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
-#ifndef GrDrawTargetCaps_DEFINED
-#define GrDrawTargetCaps_DEFINED
+#ifndef GrCaps_DEFINED
+#define GrCaps_DEFINED
#include "GrTypes.h"
#include "GrTypesPriv.h"
@@ -103,21 +103,21 @@ private:
};
/**
- * Represents the draw target capabilities.
+ * Represents the capabilities of a GrContext.
*/
-class GrDrawTargetCaps : public SkRefCnt {
+class GrCaps : public SkRefCnt {
public:
- SK_DECLARE_INST_COUNT(GrDrawTargetCaps)
+ SK_DECLARE_INST_COUNT(GrCaps)
- GrDrawTargetCaps() {
+ GrCaps() {
fShaderCaps.reset(NULL);
this->reset();
}
- GrDrawTargetCaps(const GrDrawTargetCaps& other) : INHERITED() {
+ GrCaps(const GrCaps& other) : INHERITED() {
*this = other;
}
- virtual ~GrDrawTargetCaps() {}
- GrDrawTargetCaps& operator= (const GrDrawTargetCaps&);
+ virtual ~GrCaps() {}
+ GrCaps& operator= (const GrCaps&);
virtual void reset();
virtual SkString dump() const;
« no previous file with comments | « src/gpu/GrDrawTarget.cpp ('k') | src/gpu/GrGpu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698