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
diff --git a/rsSampler.cpp b/rsSampler.cpp
index 2a8476a..0cf0b55 100644
--- a/rsSampler.cpp
+++ b/rsSampler.cpp
@@ -107,6 +107,11 @@
Sampler *s = new (allocMem) Sampler(rsc, magFilter, minFilter, wrapS, wrapT, wrapR, aniso);
returnRef.set(s);
+#ifdef RS_FIND_OFFSETS
+ ALOGE("pointer for sampler: %p", s);
+ ALOGE("pointer for sampler.drv: %p", &s->mHal.drv);
+#endif
+
ObjectBase::asyncLock();
rsc->mStateSampler.mAllSamplers.push(s);
ObjectBase::asyncUnlock();