summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2013-02-13 14:52:20 -0800
committerTim Murray <timmurray@google.com>2013-02-13 14:52:42 -0800
commitb206acefa7ef03e02d3e8e161f8a1493329246b3 (patch)
tree941a0f61ae3c5e750fb4ac84c6772f0c48929dff
parent96267c2ff0133c20cc5643419a3ed3b1e75fe568 (diff)
downloadrs-b206acefa7ef03e02d3e8e161f8a1493329246b3.tar.gz
Move rs.h includes to source files.
Change-Id: Ic49e3fa5580c67f35a21f95872794ea03dd114b6
-rw-r--r--cpp/Allocation.cpp1
-rw-r--r--cpp/BaseObj.cpp1
-rw-r--r--cpp/Element.cpp1
-rw-r--r--cpp/Script.cpp1
-rw-r--r--cpp/ScriptC.cpp1
-rw-r--r--cpp/ScriptIntrinsics.cpp1
-rw-r--r--cpp/Type.cpp1
-rw-r--r--cpp/rsCppStructs.h2
8 files changed, 7 insertions, 2 deletions
diff --git a/cpp/Allocation.cpp b/cpp/Allocation.cpp
index 9f3ce209..d2d81c97 100644
--- a/cpp/Allocation.cpp
+++ b/cpp/Allocation.cpp
@@ -15,6 +15,7 @@
*/
#include "RenderScript.h"
+#include <rs.h>
using namespace android;
using namespace RSC;
diff --git a/cpp/BaseObj.cpp b/cpp/BaseObj.cpp
index bb92bceb..d0102d06 100644
--- a/cpp/BaseObj.cpp
+++ b/cpp/BaseObj.cpp
@@ -17,6 +17,7 @@
#define LOG_TAG "libRS_cpp"
#include "RenderScript.h"
+#include <rs.h>
using namespace android;
using namespace RSC;
diff --git a/cpp/Element.cpp b/cpp/Element.cpp
index 198aac84..f3e83d0c 100644
--- a/cpp/Element.cpp
+++ b/cpp/Element.cpp
@@ -18,6 +18,7 @@
#include <string.h>
#include "RenderScript.h"
+#include <rs.h>
using namespace android;
using namespace RSC;
diff --git a/cpp/Script.cpp b/cpp/Script.cpp
index 0f87adbc..ee03aafa 100644
--- a/cpp/Script.cpp
+++ b/cpp/Script.cpp
@@ -18,6 +18,7 @@
#include <malloc.h>
#include "RenderScript.h"
+#include <rs.h>
using namespace android;
using namespace RSC;
diff --git a/cpp/ScriptC.cpp b/cpp/ScriptC.cpp
index bc7ca0e0..95bd9a42 100644
--- a/cpp/ScriptC.cpp
+++ b/cpp/ScriptC.cpp
@@ -18,6 +18,7 @@
#include <malloc.h>
#include "RenderScript.h"
+#include <rs.h>
using namespace android;
using namespace RSC;
diff --git a/cpp/ScriptIntrinsics.cpp b/cpp/ScriptIntrinsics.cpp
index 12847360..4a39d0e5 100644
--- a/cpp/ScriptIntrinsics.cpp
+++ b/cpp/ScriptIntrinsics.cpp
@@ -18,6 +18,7 @@
#include <malloc.h>
#include "RenderScript.h"
+#include <rs.h>
#include "rsDefines.h"
using namespace android;
diff --git a/cpp/Type.cpp b/cpp/Type.cpp
index 0b473c4b..675f66e0 100644
--- a/cpp/Type.cpp
+++ b/cpp/Type.cpp
@@ -20,6 +20,7 @@
#include <malloc.h>
#include <string.h>
+#include <rs.h>
#include "RenderScript.h"
using namespace android;
diff --git a/cpp/rsCppStructs.h b/cpp/rsCppStructs.h
index f5bfd0cd..67df2027 100644
--- a/cpp/rsCppStructs.h
+++ b/cpp/rsCppStructs.h
@@ -21,8 +21,6 @@
#include <utils/Vector.h>
#include "utils/RefBase.h"
-#include <rs.h>
-
// Every row in an RS allocation is guaranteed to be aligned by this amount
// Every row in a user-backed allocation must be aligned by this amount
#define RS_CPU_ALLOCATION_ALIGNMENT 16