unhide renderscript
Change-Id: I44dd19aec0a994316da22ea8bea01b9962f54680 api update Change-Id: I77f5365b8b7a919cd572ceb65a9ab3871b9495d0
This commit is contained in:
5610
api/current.xml
5610
api/current.xml
File diff suppressed because it is too large
Load Diff
@@ -27,7 +27,19 @@ import android.util.Log;
|
||||
import android.util.TypedValue;
|
||||
|
||||
/**
|
||||
* @hide
|
||||
* Memory allocation class for renderscript. An allocation combines a Type with
|
||||
* memory to provide storage for user data and objects.
|
||||
*
|
||||
* Allocations may exist in one or more memory spaces. Currently those are
|
||||
* Script: accessable by RS scripts.
|
||||
* Graphics Texture: accessable as a graphics texture.
|
||||
* Graphics Vertex: accessable as graphical vertex data.
|
||||
* Graphics Constants: Accessable as constants in user shaders
|
||||
*
|
||||
* By default java side updates are always applied to the script accessable
|
||||
* memory. If this is not present they are then applied to the various HW
|
||||
* memory types. A syncAll call is necessary after the script data is update to
|
||||
* keep the other memory spaces in sync.
|
||||
*
|
||||
**/
|
||||
public class Allocation extends BaseObj {
|
||||
|
||||
@@ -19,8 +19,6 @@ package android.renderscript;
|
||||
import android.util.Log;
|
||||
|
||||
/**
|
||||
* @hide
|
||||
*
|
||||
* BaseObj is the base class for interfacing with native renderscript objects.
|
||||
* It primarly contains code for tracking the native object ID and forcably
|
||||
* disconecting the object from the native allocation for early cleanup.
|
||||
|
||||
@@ -21,7 +21,7 @@ import android.util.Log;
|
||||
|
||||
|
||||
/**
|
||||
* @hide
|
||||
* Class for exposing the rs byte2 type back to java applications.
|
||||
*
|
||||
**/
|
||||
public class Byte2 {
|
||||
|
||||
@@ -21,7 +21,7 @@ import android.util.Log;
|
||||
|
||||
|
||||
/**
|
||||
* @hide
|
||||
* Class for exposing the rs byte3 type back to java applications.
|
||||
*
|
||||
**/
|
||||
public class Byte3 {
|
||||
|
||||
@@ -21,7 +21,7 @@ import android.util.Log;
|
||||
|
||||
|
||||
/**
|
||||
* @hide
|
||||
* Class for exposing the rs byte4 type back to java applications.
|
||||
*
|
||||
**/
|
||||
public class Byte4 {
|
||||
|
||||
@@ -20,8 +20,6 @@ import java.lang.reflect.Field;
|
||||
import android.util.Log;
|
||||
|
||||
/**
|
||||
* @hide
|
||||
*
|
||||
* Element is the basic data type of RenderScript. An element can be of 2
|
||||
* forms. Basic elements contain a single component of data. This can be of
|
||||
* any of the legal RS types. Examples of basic element types.
|
||||
|
||||
@@ -18,7 +18,8 @@ package android.renderscript;
|
||||
|
||||
|
||||
/**
|
||||
* @hide
|
||||
* Utility class for packing arguments and structures from java objects to rs
|
||||
* objects.
|
||||
*
|
||||
**/
|
||||
public class FieldPacker {
|
||||
|
||||
@@ -21,7 +21,7 @@ import android.util.Log;
|
||||
|
||||
|
||||
/**
|
||||
* @hide
|
||||
* Class for exposing the rs float2 type back to java applications.
|
||||
*
|
||||
**/
|
||||
public class Float2 {
|
||||
|
||||
@@ -21,7 +21,7 @@ import android.util.Log;
|
||||
|
||||
|
||||
/**
|
||||
* @hide
|
||||
* Class for exposing the rs float3 type back to java applications.
|
||||
*
|
||||
**/
|
||||
public class Float3 {
|
||||
|
||||
@@ -21,7 +21,7 @@ import android.util.Log;
|
||||
|
||||
|
||||
/**
|
||||
* @hide
|
||||
* Class for exposing the rs float4 type back to java applications.
|
||||
*
|
||||
**/
|
||||
public class Float4 {
|
||||
|
||||
@@ -21,7 +21,7 @@ import android.util.Log;
|
||||
|
||||
|
||||
/**
|
||||
* @hide
|
||||
* Class for exposing the rs int2 type back to java applications.
|
||||
*
|
||||
**/
|
||||
public class Int2 {
|
||||
|
||||
@@ -21,7 +21,7 @@ import android.util.Log;
|
||||
|
||||
|
||||
/**
|
||||
* @hide
|
||||
* Class for exposing the rs int3 type back to java applications.
|
||||
*
|
||||
**/
|
||||
public class Int3 {
|
||||
|
||||
@@ -21,7 +21,7 @@ import android.util.Log;
|
||||
|
||||
|
||||
/**
|
||||
* @hide
|
||||
* Class for exposing the rs int4 type back to java applications.
|
||||
*
|
||||
**/
|
||||
public class Int4 {
|
||||
|
||||
@@ -21,7 +21,7 @@ import android.util.Log;
|
||||
|
||||
|
||||
/**
|
||||
* @hide
|
||||
* Class for exposing the rs_matrix2x2 type back to java applications.
|
||||
*
|
||||
**/
|
||||
public class Matrix2f {
|
||||
|
||||
@@ -21,7 +21,7 @@ import android.util.Log;
|
||||
|
||||
|
||||
/**
|
||||
* @hide
|
||||
* Class for exposing the rs_matrix3x3 type back to java applications.
|
||||
*
|
||||
**/
|
||||
public class Matrix3f {
|
||||
|
||||
@@ -21,7 +21,7 @@ import android.util.Log;
|
||||
|
||||
|
||||
/**
|
||||
* @hide
|
||||
* Class for exposing the rs_matrix4x4 type back to java applications.
|
||||
*
|
||||
**/
|
||||
public class Matrix4f {
|
||||
|
||||
@@ -27,7 +27,6 @@ import android.util.Log;
|
||||
|
||||
|
||||
/**
|
||||
* @hide
|
||||
*
|
||||
**/
|
||||
public class Program extends BaseObj {
|
||||
|
||||
@@ -22,7 +22,6 @@ import android.util.Log;
|
||||
|
||||
|
||||
/**
|
||||
* @hide
|
||||
*
|
||||
**/
|
||||
public class ProgramFragment extends Program {
|
||||
|
||||
@@ -22,7 +22,6 @@ import android.util.Log;
|
||||
|
||||
|
||||
/**
|
||||
* @hide
|
||||
*
|
||||
**/
|
||||
public class ProgramFragmentFixedFunction extends ProgramFragment {
|
||||
|
||||
@@ -22,7 +22,6 @@ import android.util.Log;
|
||||
|
||||
|
||||
/**
|
||||
* @hide
|
||||
*
|
||||
**/
|
||||
public class ProgramRaster extends BaseObj {
|
||||
|
||||
@@ -22,7 +22,6 @@ import android.util.Log;
|
||||
|
||||
|
||||
/**
|
||||
* @hide
|
||||
*
|
||||
**/
|
||||
public class ProgramStore extends BaseObj {
|
||||
|
||||
@@ -23,7 +23,6 @@ import android.util.Log;
|
||||
|
||||
|
||||
/**
|
||||
* @hide
|
||||
*
|
||||
**/
|
||||
public class ProgramVertex extends Program {
|
||||
|
||||
@@ -23,7 +23,6 @@ import android.util.Log;
|
||||
|
||||
|
||||
/**
|
||||
* @hide
|
||||
*
|
||||
**/
|
||||
public class ProgramVertexFixedFunction extends ProgramVertex {
|
||||
|
||||
@@ -27,8 +27,6 @@ import android.view.Surface;
|
||||
|
||||
|
||||
/**
|
||||
* @hide
|
||||
*
|
||||
* 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.
|
||||
|
||||
@@ -29,8 +29,6 @@ import android.view.SurfaceHolder;
|
||||
import android.view.SurfaceView;
|
||||
|
||||
/**
|
||||
* @hide
|
||||
*
|
||||
* The Graphics derivitive of RenderScript. Extends the basic context to add a
|
||||
* root script which is the display window for graphical output. When the
|
||||
* system needs to update the display the currently bound root script will be
|
||||
|
||||
@@ -29,8 +29,6 @@ import android.graphics.Bitmap;
|
||||
import android.graphics.BitmapFactory;
|
||||
|
||||
/**
|
||||
* @hide
|
||||
*
|
||||
* Sampler object which defines how data is extracted from textures. Samplers
|
||||
* are attached to Program objects (currently only fragment) when those objects
|
||||
* need to access texture data.
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
package android.renderscript;
|
||||
|
||||
/**
|
||||
* @hide
|
||||
*
|
||||
**/
|
||||
public class Script extends BaseObj {
|
||||
public static final int MAX_SLOT = 16;
|
||||
|
||||
@@ -30,7 +30,7 @@ import java.lang.reflect.Field;
|
||||
import java.lang.reflect.Modifier;
|
||||
|
||||
/**
|
||||
* @hide
|
||||
*
|
||||
**/
|
||||
public class ScriptC extends Script {
|
||||
private static final String TAG = "ScriptC";
|
||||
|
||||
@@ -21,7 +21,7 @@ import android.util.Log;
|
||||
|
||||
|
||||
/**
|
||||
* @hide
|
||||
* Class for exposing the rs short2 type back to java applications.
|
||||
*
|
||||
**/
|
||||
public class Short2 {
|
||||
|
||||
@@ -21,7 +21,7 @@ import android.util.Log;
|
||||
|
||||
|
||||
/**
|
||||
* @hide
|
||||
* Class for exposing the rs short3 type back to java applications.
|
||||
*
|
||||
**/
|
||||
public class Short3 {
|
||||
|
||||
@@ -21,7 +21,7 @@ import android.util.Log;
|
||||
|
||||
|
||||
/**
|
||||
* @hide
|
||||
* Class for exposing the rs short4 type back to java applications.
|
||||
*
|
||||
**/
|
||||
public class Short4 {
|
||||
|
||||
@@ -21,8 +21,6 @@ import java.lang.reflect.Field;
|
||||
import android.util.Log;
|
||||
|
||||
/**
|
||||
* @hide
|
||||
*
|
||||
* Type is an allocation template. It consists of an Element and one or more
|
||||
* dimensions. It describes only the layout of memory but does not allocate and
|
||||
* storage for the data thus described.
|
||||
|
||||
Reference in New Issue
Block a user