Revert "Deprecate"
This reverts commit a0c2eb27b4
.
Conflicts:
api/current.txt
graphics/java/android/renderscript/Element.java
graphics/java/android/renderscript/Script.java
Change-Id: I3c8fa62b12da95b3dbc842b5284dbed65d3cf963
This commit is contained in:
@ -32,7 +32,7 @@ import android.view.Surface;
|
||||
|
||||
|
||||
|
||||
/** @deprecated renderscript is deprecated in J
|
||||
/**
|
||||
* Renderscript base master class. An instance of this class creates native
|
||||
* worker threads for processing commands from this object. This base class
|
||||
* does not provide any extended capabilities beyond simple data processing.
|
||||
@ -743,7 +743,7 @@ public class RenderScript {
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
||||
/** @deprecated renderscript is deprecated in J
|
||||
/**
|
||||
* Base class application should derive from for handling RS messages
|
||||
* coming from their scripts. When a script calls sendToClient the data
|
||||
* fields will be filled in and then the run method called by a message
|
||||
@ -758,7 +758,7 @@ public class RenderScript {
|
||||
public void run() {
|
||||
}
|
||||
}
|
||||
/** @deprecated renderscript is deprecated in J
|
||||
/**
|
||||
* If an application is expecting messages it should set this field to an
|
||||
* instance of RSMessage. This instance will receive all the user messages
|
||||
* sent from sendToClient by scripts from this context.
|
||||
@ -773,7 +773,7 @@ public class RenderScript {
|
||||
return mMessageCallback;
|
||||
}
|
||||
|
||||
/** @deprecated renderscript is deprecated in J
|
||||
/**
|
||||
* Runtime error base class. An application should derive from this class
|
||||
* if it wishes to install an error handler. When errors occur at runtime
|
||||
* the fields in this class will be filled and the run method called.
|
||||
@ -786,7 +786,7 @@ public class RenderScript {
|
||||
}
|
||||
}
|
||||
|
||||
/** @deprecated renderscript is deprecated in J
|
||||
/**
|
||||
* Application Error handler. All runtime errors will be dispatched to the
|
||||
* instance of RSAsyncError set here. If this field is null a
|
||||
* RSRuntimeException will instead be thrown with details about the error.
|
||||
@ -802,7 +802,7 @@ public class RenderScript {
|
||||
return mErrorCallback;
|
||||
}
|
||||
|
||||
/** @deprecated renderscript is deprecated in J
|
||||
/**
|
||||
* RenderScript worker threads priority enumeration. The default value is
|
||||
* NORMAL. Applications wishing to do background processing such as
|
||||
* wallpapers should set their priority to LOW to avoid starving forground
|
||||
@ -825,7 +825,7 @@ public class RenderScript {
|
||||
}
|
||||
|
||||
|
||||
/** @deprecated renderscript is deprecated in J
|
||||
/**
|
||||
* Change the priority of the worker threads for this context.
|
||||
*
|
||||
* @param p New priority to be set.
|
||||
@ -922,7 +922,7 @@ public class RenderScript {
|
||||
}
|
||||
}
|
||||
|
||||
/** @deprecated renderscript is deprecated in J
|
||||
/**
|
||||
* Gets the application context associated with the RenderScript context.
|
||||
*
|
||||
* @return The application context.
|
||||
@ -931,7 +931,7 @@ public class RenderScript {
|
||||
return mApplicationContext;
|
||||
}
|
||||
|
||||
/** @deprecated renderscript is deprecated in J
|
||||
/**
|
||||
* Create a basic RenderScript context.
|
||||
*
|
||||
* @hide
|
||||
@ -951,7 +951,7 @@ public class RenderScript {
|
||||
return rs;
|
||||
}
|
||||
|
||||
/** @deprecated renderscript is deprecated in J
|
||||
/**
|
||||
* Create a basic RenderScript context.
|
||||
*
|
||||
* @param ctx The context.
|
||||
@ -962,7 +962,7 @@ public class RenderScript {
|
||||
return create(ctx, v);
|
||||
}
|
||||
|
||||
/** @deprecated renderscript is deprecated in J
|
||||
/**
|
||||
* Print the currently available debugging information about the state of
|
||||
* the RS context to the log.
|
||||
*
|
||||
@ -972,7 +972,7 @@ public class RenderScript {
|
||||
nContextDump(0);
|
||||
}
|
||||
|
||||
/** @deprecated renderscript is deprecated in J
|
||||
/**
|
||||
* Wait for any commands in the fifo between the java bindings and native to
|
||||
* be processed.
|
||||
*
|
||||
@ -981,7 +981,7 @@ public class RenderScript {
|
||||
nContextFinish();
|
||||
}
|
||||
|
||||
/** @deprecated renderscript is deprecated in J
|
||||
/**
|
||||
* Destroy this renderscript context. Once this function is called its no
|
||||
* longer legal to use this or any objects created by this context.
|
||||
*
|
||||
|
Reference in New Issue
Block a user