Merge "Starting to untangle header spaghetti."
This commit is contained in:
committed by
Android (Google) Code Review
commit
a7e6f3a704
@@ -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;
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#include <utils/String8.h>
|
||||
#include <utils/Vector.h>
|
||||
|
||||
#include "rs.h"
|
||||
#include "rsDefines.h"
|
||||
|
||||
class Element;
|
||||
class Type;
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#define ANDROID_COMPONENT_H
|
||||
|
||||
#include "rsUtils.h"
|
||||
#include "rsDefines.h"
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
namespace android {
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "rs.h"
|
||||
#include "rsDevice.h"
|
||||
#include "rsContext.h"
|
||||
#include "rsThreadIO.h"
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
#include "rsComponent.h"
|
||||
#include "rsUtils.h"
|
||||
#include "rsDefines.h"
|
||||
#include "rsObjectBase.h"
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
#include "rsMesh.h"
|
||||
#include "rsAnimation.h"
|
||||
|
||||
#include "rs.h"
|
||||
|
||||
using namespace android;
|
||||
using namespace android::renderscript;
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
#include "rsContext.h"
|
||||
|
||||
#include "rs.h"
|
||||
#include "rsFont.h"
|
||||
#include "rsProgramFragment.h"
|
||||
#include <cutils/properties.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>
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
|
||||
#include "rsContext.h"
|
||||
#include "rs.h"
|
||||
|
||||
using namespace android;
|
||||
using namespace android::renderscript;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#define ANDROID_RS_MESH_H
|
||||
|
||||
|
||||
#include "rs.h"
|
||||
#include "rsObjectBase.h"
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
namespace android {
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#define ANDROID_RS_OBJECT_BASE_H
|
||||
|
||||
#include "rsUtils.h"
|
||||
#include "rsDefines.h"
|
||||
|
||||
#define RS_OBJECT_DEBUG 0
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
#include "rsContext.h"
|
||||
#include "rsSampler.h"
|
||||
|
||||
#include "rs.h"
|
||||
|
||||
using namespace android;
|
||||
using namespace android::renderscript;
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
#define ANDROID_RS_SAMPLER_H
|
||||
|
||||
#include "rsAllocation.h"
|
||||
#include "rs.h"
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
namespace android {
|
||||
|
||||
@@ -34,8 +34,6 @@
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#include "rs.h"
|
||||
|
||||
namespace android {
|
||||
namespace renderscript {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user