Enable very basic tracing support.
Change-Id: I524a857390e0bbc49273989caf56f03b51de65cf
diff --git a/rsContext.h b/rsContext.h
index abc9b27..4162b64 100644
--- a/rsContext.h
+++ b/rsContext.h
@@ -26,6 +26,11 @@
#include "rsScriptGroup.h"
#include "rsSampler.h"
+#ifndef RS_SERVER
+#define ATRACE_TAG ATRACE_TAG_RS
+#include "utils/Trace.h"
+#endif
+
#ifndef RS_COMPATIBILITY_LIB
#include "rsFont.h"
#include "rsPath.h"
@@ -34,6 +39,7 @@
#include "rsProgramRaster.h"
#include "rsProgramVertex.h"
#include "rsFBOCache.h"
+
#endif
@@ -62,6 +68,8 @@
#define CHECK_OBJ_OR_NULL(o)
#endif
+
+
class Context {
public:
struct Hal {