summaryrefslogtreecommitdiff
path: root/cpu_ref/rsd_cpu.h
diff options
context:
space:
mode:
authorYang Ni <yangni@google.com>2016-11-29 09:21:36 -0800
committerYang Ni <yangni@google.com>2017-01-09 18:10:36 +0000
commitcf34bdc8b16fe8768128835d50912290e5c33a68 (patch)
tree39a16357d2872a1bc1ba1929a9b4854eb6e723ca /cpu_ref/rsd_cpu.h
parent961e5a07fd0ebb33f791e346347b77d670df9a57 (diff)
downloadrs-cf34bdc8b16fe8768128835d50912290e5c33a68.tar.gz
Minor cleanup
Avoid heavy include by using forward declarations instead. Test: mm && RSTest Change-Id: I96b2fc7d124e40787d1ae47a196009fff244f36f
Diffstat (limited to 'cpu_ref/rsd_cpu.h')
-rw-r--r--cpu_ref/rsd_cpu.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpu_ref/rsd_cpu.h b/cpu_ref/rsd_cpu.h
index a8d980e1..46c17437 100644
--- a/cpu_ref/rsd_cpu.h
+++ b/cpu_ref/rsd_cpu.h
@@ -17,13 +17,17 @@
#ifndef RSD_CPU_H
#define RSD_CPU_H
-#include "rsAllocation.h"
+#include "rsInternalDefines.h"
typedef const char* (*RSSelectRTCallback) (const char*, size_t);
namespace android {
namespace renderscript {
+class Allocation;
+class Context;
+class Element;
+class ObjectBase;
class ScriptC;
class Script;
class ScriptGroupBase;