From 4b91f768b348aa1cebeb54f3ff9331938734c242 Mon Sep 17 00:00:00 2001 From: bsalomon Date: Tue, 19 May 2015 09:29:46 -0700 Subject: rename GrDrawTargetCaps to GrCaps Review URL: https://codereview.chromium.org/1133123009 --- src/gpu/GrDrawTargetCaps.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/gpu/GrDrawTargetCaps.h') diff --git a/src/gpu/GrDrawTargetCaps.h b/src/gpu/GrDrawTargetCaps.h index 086b61579a..c1b7381cc2 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; -- cgit v1.2.3