summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/rs/rsContext.h')
-rw-r--r--libs/rs/rsContext.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/libs/rs/rsContext.h b/libs/rs/rsContext.h
index 2b9e57a..6945342 100644
--- a/libs/rs/rsContext.h
+++ b/libs/rs/rsContext.h
@@ -51,13 +51,13 @@ namespace renderscript {
#if 0
#define CHECK_OBJ(o) { \
GET_TLS(); \
- if(!ObjectBase::isValid(rsc, (const ObjectBase *)o)) { \
+ if (!ObjectBase::isValid(rsc, (const ObjectBase *)o)) { \
LOGE("Bad object %p at %s, %i", o, __FILE__, __LINE__); \
} \
}
#define CHECK_OBJ_OR_NULL(o) { \
GET_TLS(); \
- if(o && !ObjectBase::isValid(rsc, (const ObjectBase *)o)) { \
+ if (o && !ObjectBase::isValid(rsc, (const ObjectBase *)o)) { \
LOGE("Bad object %p at %s, %i", o, __FILE__, __LINE__); \
} \
}
@@ -66,8 +66,7 @@ namespace renderscript {
#define CHECK_OBJ_OR_NULL(o)
#endif
-class Context
-{
+class Context {
public:
static Context * createContext(Device *, const RsSurfaceConfig *sc);
~Context();
@@ -155,7 +154,6 @@ public:
uint32_t getWidth() const {return mWidth;}
uint32_t getHeight() const {return mHeight;}
-
ThreadIO mIO;
// Timers