commit | b2e3dc51dcbbe52b5e72d9c6a16de7000de70edf | [log] [tgz] |
---|---|---|
author | Jason Sams <rjsams@android.com> | Thu Feb 23 17:14:39 2012 -0800 |
committer | Jason Sams <rjsams@android.com> | Thu Feb 23 17:14:39 2012 -0800 |
tree | 1724f0daf4b3f9574aeafa8ef3f2332c742992e5 | |
parent | 9e666cb250e84f3d6bed949d4565a09507b00ed1 [diff] [blame] |
More RS cpp binding work. All classes for compute should be partially implemented at this time. Change-Id: Iddf9405cc69513b708975d20783395f0be04c680
diff --git a/BaseObj.cpp b/BaseObj.cpp index b2f5450..66e6fac 100644 --- a/BaseObj.cpp +++ b/BaseObj.cpp
@@ -27,6 +27,11 @@ return mID; } +void * BaseObj::getObjID(const BaseObj *o) { + return o == NULL ? NULL : o->getID(); +} + + BaseObj::BaseObj(void *id, RenderScript *rs) { mRS = rs; mID = id;