aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/debug/GrTextureObj.h
diff options
context:
space:
mode:
authorGravatar rmistry@google.com <rmistry@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-23 18:09:54 +0000
committerGravatar rmistry@google.com <rmistry@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-23 18:09:54 +0000
commitfbfcd5602128ec010c82cb733c9cdc0a3254f9f3 (patch)
treed8b4815d15946c32ee9d254e932411e93be942bb /src/gpu/gl/debug/GrTextureObj.h
parent2abed834789bb64c7da740df4c47efc142b7311a (diff)
Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/)
This CL is part I of IV (I broke down the 1280 files into 4 CLs). Review URL: https://codereview.appspot.com/6485054 git-svn-id: http://skia.googlecode.com/svn/trunk@5262 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/gl/debug/GrTextureObj.h')
-rw-r--r--src/gpu/gl/debug/GrTextureObj.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gpu/gl/debug/GrTextureObj.h b/src/gpu/gl/debug/GrTextureObj.h
index 0443ab7c7a..7673cd118e 100644
--- a/src/gpu/gl/debug/GrTextureObj.h
+++ b/src/gpu/gl/debug/GrTextureObj.h
@@ -18,7 +18,7 @@ class GrTextureObj : public GrFBBindableObj {
GR_DEFINE_CREATOR(GrTextureObj);
public:
- GrTextureObj()
+ GrTextureObj()
: GrFBBindableObj() {
}
@@ -26,20 +26,20 @@ public:
GrAlwaysAssert(0 == fTextureUnitReferees.count());
}
- void setBound(GrTextureUnitObj *referee) {
+ void setBound(GrTextureUnitObj *referee) {
fTextureUnitReferees.append(1, &referee);
}
- void resetBound(GrTextureUnitObj *referee) {
+ void resetBound(GrTextureUnitObj *referee) {
int index = fTextureUnitReferees.find(referee);
GrAlwaysAssert(0 <= index);
fTextureUnitReferees.removeShuffle(index);
}
- bool getBound(GrTextureUnitObj *referee) const {
+ bool getBound(GrTextureUnitObj *referee) const {
int index = fTextureUnitReferees.find(referee);
return 0 <= index;
}
- bool getBound() const {
+ bool getBound() const {
return 0 != fTextureUnitReferees.count();
}
@@ -49,7 +49,7 @@ protected:
private:
// texture units that bind this texture (via "glBindTexture")
- SkTDArray<GrTextureUnitObj *> fTextureUnitReferees;
+ SkTDArray<GrTextureUnitObj *> fTextureUnitReferees;
typedef GrFBBindableObj INHERITED;
};