summaryrefslogtreecommitdiff
path: root/rsContext.h
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2013-05-23 13:19:36 -0700
committerTim Murray <timmurray@google.com>2013-05-23 14:38:58 -0700
commitfa85e9143c6f6a227c67bab5f08ff86194abdf2a (patch)
treef5293c1d7a79551c80f13f795ad8839d29ea82e9 /rsContext.h
parent224acfd22e2e110bafb75afb732d900c7c110416 (diff)
downloadrs-fa85e9143c6f6a227c67bab5f08ff86194abdf2a.tar.gz
Enable very basic tracing support.
Change-Id: I524a857390e0bbc49273989caf56f03b51de65cf
Diffstat (limited to 'rsContext.h')
-rw-r--r--rsContext.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/rsContext.h b/rsContext.h
index abc9b279..4162b647 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 @@ class Device;
#define CHECK_OBJ_OR_NULL(o)
#endif
+
+
class Context {
public:
struct Hal {