summaryrefslogtreecommitdiff
path: root/rsElement.cpp
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2014-06-10 09:46:51 -0700
committerTim Murray <timmurray@google.com>2014-06-10 10:24:42 -0700
commite3af53b643677c40d228ffd3624cf259f4dc68ed (patch)
tree87ece7302c71da8ac9cfc514fd220787033a3b1b /rsElement.cpp
parent5e0109a20a4c6c950c0e4938a204acb4dec82d7e (diff)
Update structs and defines for 64-bit.
Also adds RS_FIND_OFFSETS, which prints address info for various types that allow us to easily update __pad. Change-Id: I4d57248e155d113c83ff69f4f8f64160aa24fb9b
Diffstat (limited to 'rsElement.cpp')
-rw-r--r--rsElement.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/rsElement.cpp b/rsElement.cpp
index a81df48e..1418e957 100644
--- a/rsElement.cpp
+++ b/rsElement.cpp
@@ -243,6 +243,12 @@ ObjectBaseRef<const Element> Element::createRef(Context *rsc, RsDataType dt, RsD
e->mComponent.set(dt, dk, isNorm, vecSize);
e->compute();
+#ifdef RS_FIND_OFFSETS
+ ALOGE("pointer for element: %p", e);
+ ALOGE("pointer for element.drv: %p", &e->mHal.drv);
+#endif
+
+
ObjectBase::asyncLock();
rsc->mStateElement.mElements.push(e);
ObjectBase::asyncUnlock();