unhide renderscript

Change-Id: I44dd19aec0a994316da22ea8bea01b9962f54680

api update

Change-Id: I77f5365b8b7a919cd572ceb65a9ab3871b9495d0
This commit is contained in:
Jason Sams
2011-01-04 18:59:12 -08:00
parent c91d8c3ea5
commit a23d4e792c
33 changed files with 5642 additions and 38 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -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 {

View File

@@ -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.

View File

@@ -21,7 +21,7 @@ import android.util.Log;
/**
* @hide
* Class for exposing the rs byte2 type back to java applications.
*
**/
public class Byte2 {

View File

@@ -21,7 +21,7 @@ import android.util.Log;
/**
* @hide
* Class for exposing the rs byte3 type back to java applications.
*
**/
public class Byte3 {

View File

@@ -21,7 +21,7 @@ import android.util.Log;
/**
* @hide
* Class for exposing the rs byte4 type back to java applications.
*
**/
public class Byte4 {

View File

@@ -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.

View File

@@ -18,7 +18,8 @@ package android.renderscript;
/**
* @hide
* Utility class for packing arguments and structures from java objects to rs
* objects.
*
**/
public class FieldPacker {

View File

@@ -21,7 +21,7 @@ import android.util.Log;
/**
* @hide
* Class for exposing the rs float2 type back to java applications.
*
**/
public class Float2 {

View File

@@ -21,7 +21,7 @@ import android.util.Log;
/**
* @hide
* Class for exposing the rs float3 type back to java applications.
*
**/
public class Float3 {

View File

@@ -21,7 +21,7 @@ import android.util.Log;
/**
* @hide
* Class for exposing the rs float4 type back to java applications.
*
**/
public class Float4 {

View File

@@ -21,7 +21,7 @@ import android.util.Log;
/**
* @hide
* Class for exposing the rs int2 type back to java applications.
*
**/
public class Int2 {

View File

@@ -21,7 +21,7 @@ import android.util.Log;
/**
* @hide
* Class for exposing the rs int3 type back to java applications.
*
**/
public class Int3 {

View File

@@ -21,7 +21,7 @@ import android.util.Log;
/**
* @hide
* Class for exposing the rs int4 type back to java applications.
*
**/
public class Int4 {

View File

@@ -21,7 +21,7 @@ import android.util.Log;
/**
* @hide
* Class for exposing the rs_matrix2x2 type back to java applications.
*
**/
public class Matrix2f {

View File

@@ -21,7 +21,7 @@ import android.util.Log;
/**
* @hide
* Class for exposing the rs_matrix3x3 type back to java applications.
*
**/
public class Matrix3f {

View File

@@ -21,7 +21,7 @@ import android.util.Log;
/**
* @hide
* Class for exposing the rs_matrix4x4 type back to java applications.
*
**/
public class Matrix4f {

View File

@@ -27,7 +27,6 @@ import android.util.Log;
/**
* @hide
*
**/
public class Program extends BaseObj {

View File

@@ -22,7 +22,6 @@ import android.util.Log;
/**
* @hide
*
**/
public class ProgramFragment extends Program {

View File

@@ -22,7 +22,6 @@ import android.util.Log;
/**
* @hide
*
**/
public class ProgramFragmentFixedFunction extends ProgramFragment {

View File

@@ -22,7 +22,6 @@ import android.util.Log;
/**
* @hide
*
**/
public class ProgramRaster extends BaseObj {

View File

@@ -22,7 +22,6 @@ import android.util.Log;
/**
* @hide
*
**/
public class ProgramStore extends BaseObj {

View File

@@ -23,7 +23,6 @@ import android.util.Log;
/**
* @hide
*
**/
public class ProgramVertex extends Program {

View File

@@ -23,7 +23,6 @@ import android.util.Log;
/**
* @hide
*
**/
public class ProgramVertexFixedFunction extends ProgramVertex {

View File

@@ -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.

View File

@@ -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

View File

@@ -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.

View File

@@ -17,7 +17,7 @@
package android.renderscript;
/**
* @hide
*
**/
public class Script extends BaseObj {
public static final int MAX_SLOT = 16;

View File

@@ -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";

View File

@@ -21,7 +21,7 @@ import android.util.Log;
/**
* @hide
* Class for exposing the rs short2 type back to java applications.
*
**/
public class Short2 {

View File

@@ -21,7 +21,7 @@ import android.util.Log;
/**
* @hide
* Class for exposing the rs short3 type back to java applications.
*
**/
public class Short3 {

View File

@@ -21,7 +21,7 @@ import android.util.Log;
/**
* @hide
* Class for exposing the rs short4 type back to java applications.
*
**/
public class Short4 {

View File

@@ -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.