diff options
author | Alex Sakhartchouk <alexst@google.com> | 2012-03-09 09:24:39 -0800 |
---|---|---|
committer | Alex Sakhartchouk <alexst@google.com> | 2012-03-09 09:24:39 -0800 |
commit | 137ccbb8de51fd2e7936e1da447856373cc90c17 (patch) | |
tree | 53dc65f712c176bc5d14e287f52dd3df64975da0 /libs | |
parent | 3b88729d2bf1f62ef913ea5d188846282ae32fef (diff) | |
download | frameworks_base-137ccbb8de51fd2e7936e1da447856373cc90c17.zip frameworks_base-137ccbb8de51fd2e7936e1da447856373cc90c17.tar.gz frameworks_base-137ccbb8de51fd2e7936e1da447856373cc90c17.tar.bz2 |
Starting to untangle header spaghetti.
Change-Id: I31f38d05dc8b55c659e8c7e9c0a87b94b9ac1db5
Diffstat (limited to 'libs')
-rw-r--r-- | libs/rs/RenderScript.cpp | 1 | ||||
-rw-r--r-- | libs/rs/RenderScript.h | 2 | ||||
-rw-r--r-- | libs/rs/rsComponent.h | 1 | ||||
-rw-r--r-- | libs/rs/rsContext.cpp | 1 | ||||
-rw-r--r-- | libs/rs/rsElement.h | 1 | ||||
-rw-r--r-- | libs/rs/rsFileA3D.cpp | 2 | ||||
-rw-r--r-- | libs/rs/rsFileA3D.h | 1 | ||||
-rw-r--r-- | libs/rs/rsFont.cpp | 2 | ||||
-rw-r--r-- | libs/rs/rsFont.h | 1 | ||||
-rw-r--r-- | libs/rs/rsMesh.cpp | 1 | ||||
-rw-r--r-- | libs/rs/rsMesh.h | 2 | ||||
-rw-r--r-- | libs/rs/rsObjectBase.h | 1 | ||||
-rw-r--r-- | libs/rs/rsSampler.cpp | 2 | ||||
-rw-r--r-- | libs/rs/rsSampler.h | 1 | ||||
-rw-r--r-- | libs/rs/rsUtils.h | 2 |
15 files changed, 11 insertions, 10 deletions
diff --git a/libs/rs/RenderScript.cpp b/libs/rs/RenderScript.cpp index 0b42055..217b921 100644 --- a/libs/rs/RenderScript.cpp +++ b/libs/rs/RenderScript.cpp @@ -21,6 +21,7 @@ #include <string.h> #include "RenderScript.h" +#include "rs.h" bool RenderScript::gInitialized = false; pthread_mutex_t RenderScript::gInitMutex = PTHREAD_MUTEX_INITIALIZER; diff --git a/libs/rs/RenderScript.h b/libs/rs/RenderScript.h index 0eb6a6d..5ad76e2 100644 --- a/libs/rs/RenderScript.h +++ b/libs/rs/RenderScript.h @@ -22,7 +22,7 @@ #include <utils/String8.h> #include <utils/Vector.h> -#include "rs.h" +#include "rsDefines.h" class Element; class Type; diff --git a/libs/rs/rsComponent.h b/libs/rs/rsComponent.h index 8629d0d..a2e8c0f 100644 --- a/libs/rs/rsComponent.h +++ b/libs/rs/rsComponent.h @@ -18,6 +18,7 @@ #define ANDROID_COMPONENT_H #include "rsUtils.h" +#include "rsDefines.h" // --------------------------------------------------------------------------- namespace android { diff --git a/libs/rs/rsContext.cpp b/libs/rs/rsContext.cpp index 0f3cea7..748b72a 100644 --- a/libs/rs/rsContext.cpp +++ b/libs/rs/rsContext.cpp @@ -14,6 +14,7 @@ * limitations under the License. */ +#include "rs.h" #include "rsDevice.h" #include "rsContext.h" #include "rsThreadIO.h" diff --git a/libs/rs/rsElement.h b/libs/rs/rsElement.h index 4b6b460..b86d3bc 100644 --- a/libs/rs/rsElement.h +++ b/libs/rs/rsElement.h @@ -19,6 +19,7 @@ #include "rsComponent.h" #include "rsUtils.h" +#include "rsDefines.h" #include "rsObjectBase.h" // --------------------------------------------------------------------------- diff --git a/libs/rs/rsFileA3D.cpp b/libs/rs/rsFileA3D.cpp index ac658c8..173b9a5 100644 --- a/libs/rs/rsFileA3D.cpp +++ b/libs/rs/rsFileA3D.cpp @@ -20,7 +20,7 @@ #include "rsMesh.h" #include "rsAnimation.h" - +#include "rs.h" using namespace android; using namespace android::renderscript; diff --git a/libs/rs/rsFileA3D.h b/libs/rs/rsFileA3D.h index baf81de..08062c6 100644 --- a/libs/rs/rsFileA3D.h +++ b/libs/rs/rsFileA3D.h @@ -17,7 +17,6 @@ #ifndef ANDROID_RS_FILE_A3D_H #define ANDROID_RS_FILE_A3D_H -#include "rs.h" #include "rsMesh.h" #include <androidfw/Asset.h> diff --git a/libs/rs/rsFont.cpp b/libs/rs/rsFont.cpp index c4276cf..2bf9a75 100644 --- a/libs/rs/rsFont.cpp +++ b/libs/rs/rsFont.cpp @@ -16,7 +16,7 @@ */ #include "rsContext.h" - +#include "rs.h" #include "rsFont.h" #include "rsProgramFragment.h" #include <cutils/properties.h> diff --git a/libs/rs/rsFont.h b/libs/rs/rsFont.h index 88c4795..2bd30b7 100644 --- a/libs/rs/rsFont.h +++ b/libs/rs/rsFont.h @@ -17,7 +17,6 @@ #ifndef ANDROID_RS_FONT_H #define ANDROID_RS_FONT_H -#include "rs.h" #include "rsStream.h" #include <utils/String8.h> #include <utils/Vector.h> diff --git a/libs/rs/rsMesh.cpp b/libs/rs/rsMesh.cpp index 67c7299..f9dbc33 100644 --- a/libs/rs/rsMesh.cpp +++ b/libs/rs/rsMesh.cpp @@ -15,6 +15,7 @@ */ #include "rsContext.h" +#include "rs.h" using namespace android; using namespace android::renderscript; diff --git a/libs/rs/rsMesh.h b/libs/rs/rsMesh.h index 8eea427..7ca63cf 100644 --- a/libs/rs/rsMesh.h +++ b/libs/rs/rsMesh.h @@ -18,7 +18,7 @@ #define ANDROID_RS_MESH_H -#include "rs.h" +#include "rsObjectBase.h" // --------------------------------------------------------------------------- namespace android { diff --git a/libs/rs/rsObjectBase.h b/libs/rs/rsObjectBase.h index d9f5f3b..586da19 100644 --- a/libs/rs/rsObjectBase.h +++ b/libs/rs/rsObjectBase.h @@ -18,6 +18,7 @@ #define ANDROID_RS_OBJECT_BASE_H #include "rsUtils.h" +#include "rsDefines.h" #define RS_OBJECT_DEBUG 0 diff --git a/libs/rs/rsSampler.cpp b/libs/rs/rsSampler.cpp index 5fc64a4..c7180bd 100644 --- a/libs/rs/rsSampler.cpp +++ b/libs/rs/rsSampler.cpp @@ -16,7 +16,7 @@ #include "rsContext.h" #include "rsSampler.h" - +#include "rs.h" using namespace android; using namespace android::renderscript; diff --git a/libs/rs/rsSampler.h b/libs/rs/rsSampler.h index 013e4ca..dea4cb6 100644 --- a/libs/rs/rsSampler.h +++ b/libs/rs/rsSampler.h @@ -18,7 +18,6 @@ #define ANDROID_RS_SAMPLER_H #include "rsAllocation.h" -#include "rs.h" // --------------------------------------------------------------------------- namespace android { diff --git a/libs/rs/rsUtils.h b/libs/rs/rsUtils.h index a9a992a..cbbae6c 100644 --- a/libs/rs/rsUtils.h +++ b/libs/rs/rsUtils.h @@ -34,8 +34,6 @@ #include <math.h> -#include "rs.h" - namespace android { namespace renderscript { |