summaryrefslogtreecommitdiff
path: root/rsSampler.h
diff options
context:
space:
mode:
authorAlex Sakhartchouk <alexst@google.com>2010-11-09 17:00:54 -0800
committerAlex Sakhartchouk <alexst@google.com>2010-11-10 11:30:51 -0800
commitafb743aca56c18beb7ab924e75cb6e070ef3e55a (patch)
tree9c2683d418230dd7cb53e667cdd876e617bb3d27 /rsSampler.h
parentb60d757354880b6a711840eb35cc381cf7172246 (diff)
downloadrs-afb743aca56c18beb7ab924e75cb6e070ef3e55a.tar.gz
Code cleanup to make formatting consistent
across all the renderscript files. Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
Diffstat (limited to 'rsSampler.h')
-rw-r--r--rsSampler.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/rsSampler.h b/rsSampler.h
index 49463559..737bb8b0 100644
--- a/rsSampler.h
+++ b/rsSampler.h
@@ -28,8 +28,7 @@ const static uint32_t RS_MAX_SAMPLER_SLOT = 16;
class SamplerState;
-class Sampler : public ObjectBase
-{
+class Sampler : public ObjectBase {
public:
Sampler(Context *,
RsSamplerValue magFilter,
@@ -63,14 +62,11 @@ protected:
private:
Sampler(Context *);
-
};
-class SamplerState
-{
+class SamplerState {
public:
-
RsSamplerValue mMagFilter;
RsSamplerValue mMinFilter;
RsSamplerValue mWrapS;
@@ -78,15 +74,9 @@ public:
RsSamplerValue mWrapR;
float mAniso;
-
ObjectBaseRef<Sampler> mSamplers[RS_MAX_SAMPLER_SLOT];
-
- //void setupGL();
-
};
-
-
}
}
#endif //ANDROID_RS_SAMPLER_H