Add support to Java for RS tracing.

Change-Id: I95c365345fea3a1e132a7eb2270d541be0745d02
This commit is contained in:
Tim Murray
2013-05-23 16:59:23 -07:00
parent 664ed997a2
commit 6d7a53cbdd
3 changed files with 94 additions and 5 deletions

View File

@ -30,8 +30,7 @@ import android.os.Process;
import android.util.Log;
import android.view.Surface;
import android.os.SystemProperties;
import android.os.Trace;
/**
* Renderscript base master class. An instance of this class creates native
@ -46,6 +45,8 @@ import android.os.SystemProperties;
* </div>
**/
public class RenderScript {
static final long TRACE_TAG = Trace.TRACE_TAG_RS;
static final String LOG_TAG = "RenderScript_jni";
static final boolean DEBUG = false;
@SuppressWarnings({"UnusedDeclaration", "deprecation"})