From fd73b5844c9a25038ad31c872529e269536d2e70 Mon Sep 17 00:00:00 2001 From: Robert Ly Date: Thu, 21 Jun 2012 17:00:34 -0700 Subject: docs: rs api docs Change-Id: Ib2f1ae1ba47118242d4a52b943f5eba26714aa1f --- docs/html/reference/renderscript/annotated.html | 1 + docs/html/reference/renderscript/globals.html | 19 +- docs/html/reference/renderscript/globals_func.html | 23 +- docs/html/reference/renderscript/index.html | 6 +- .../renderscript/rs__allocation_8rsh.html | 4 +- .../renderscript/rs__allocation_8rsh_source.html | 34 ++- .../reference/renderscript/rs__atomic_8rsh.html | 4 +- .../renderscript/rs__atomic_8rsh_source.html | 6 +- docs/html/reference/renderscript/rs__cl_8rsh.html | 4 +- .../reference/renderscript/rs__cl_8rsh_source.html | 6 +- .../html/reference/renderscript/rs__core_8rsh.html | 11 +- .../renderscript/rs__core_8rsh_source.html | 154 +++++------ .../reference/renderscript/rs__debug_8rsh.html | 4 +- .../renderscript/rs__debug_8rsh_source.html | 4 +- .../reference/renderscript/rs__element_8rsh.html | 38 +++ .../renderscript/rs__element_8rsh_source.html | 90 +++++++ .../reference/renderscript/rs__graphics_8rsh.html | 96 ++++++- .../renderscript/rs__graphics_8rsh_source.html | 275 ++++++++++--------- .../html/reference/renderscript/rs__math_8rsh.html | 4 +- .../renderscript/rs__math_8rsh_source.html | 4 +- .../reference/renderscript/rs__matrix_8rsh.html | 4 +- .../renderscript/rs__matrix_8rsh_source.html | 4 +- .../html/reference/renderscript/rs__mesh_8rsh.html | 38 +++ .../renderscript/rs__mesh_8rsh_source.html | 75 ++++++ .../reference/renderscript/rs__object_8rsh.html | 71 ++++- .../renderscript/rs__object_8rsh_source.html | 84 +++--- .../reference/renderscript/rs__program_8rsh.html | 38 +++ .../renderscript/rs__program_8rsh_source.html | 91 +++++++ .../renderscript/rs__quaternion_8rsh.html | 4 +- .../renderscript/rs__quaternion_8rsh_source.html | 4 +- .../reference/renderscript/rs__sampler_8rsh.html | 38 +++ .../renderscript/rs__sampler_8rsh_source.html | 75 ++++++ .../html/reference/renderscript/rs__time_8rsh.html | 4 +- .../renderscript/rs__time_8rsh_source.html | 4 +- .../reference/renderscript/rs__types_8rsh.html | 68 ++--- .../renderscript/rs__types_8rsh_source.html | 295 +++++++++++++++------ .../renderscript/structrs__allocation.html | 2 +- .../reference/renderscript/structrs__element.html | 2 +- .../reference/renderscript/structrs__font.html | 4 +- .../renderscript/structrs__matrix2x2.html | 4 +- .../renderscript/structrs__matrix3x3.html | 4 +- .../renderscript/structrs__matrix4x4.html | 4 +- .../reference/renderscript/structrs__mesh.html | 2 +- .../reference/renderscript/structrs__path.html | 45 ++++ .../renderscript/structrs__program__fragment.html | 4 +- .../renderscript/structrs__program__raster.html | 4 +- .../renderscript/structrs__program__store.html | 4 +- .../renderscript/structrs__program__vertex.html | 4 +- .../reference/renderscript/structrs__sampler.html | 2 +- .../reference/renderscript/structrs__script.html | 2 +- .../renderscript/structrs__script__call.html | 4 +- docs/html/reference/renderscript/structrs__tm.html | 2 +- .../reference/renderscript/structrs__type.html | 2 +- 53 files changed, 1321 insertions(+), 458 deletions(-) create mode 100644 docs/html/reference/renderscript/rs__element_8rsh.html create mode 100644 docs/html/reference/renderscript/rs__element_8rsh_source.html create mode 100644 docs/html/reference/renderscript/rs__mesh_8rsh.html create mode 100644 docs/html/reference/renderscript/rs__mesh_8rsh_source.html create mode 100644 docs/html/reference/renderscript/rs__program_8rsh.html create mode 100644 docs/html/reference/renderscript/rs__program_8rsh_source.html create mode 100644 docs/html/reference/renderscript/rs__sampler_8rsh.html create mode 100644 docs/html/reference/renderscript/rs__sampler_8rsh_source.html create mode 100644 docs/html/reference/renderscript/structrs__path.html (limited to 'docs/html/reference/renderscript') diff --git a/docs/html/reference/renderscript/annotated.html b/docs/html/reference/renderscript/annotated.html index 0425db2..62badd9 100644 --- a/docs/html/reference/renderscript/annotated.html +++ b/docs/html/reference/renderscript/annotated.html @@ -36,6 +36,7 @@ rs_matrix3x33x3 float matrix rs_matrix4x44x4 float matrix rs_meshOpaque handle to a Renderscript mesh object + rs_pathOpaque handle to a Renderscript Path object rs_program_fragmentOpaque handle to a Renderscript ProgramFragment object rs_program_rasterOpaque handle to a Renderscript ProgramRaster object rs_program_storeOpaque handle to a Renderscript ProgramStore object diff --git a/docs/html/reference/renderscript/globals.html b/docs/html/reference/renderscript/globals.html index f6fa413..ffbd052 100644 --- a/docs/html/reference/renderscript/globals.html +++ b/docs/html/reference/renderscript/globals.html @@ -366,7 +366,7 @@ : rs_math.rsh
  • rsClearObject() -: rs_object.rsh +: rs_object.rsh
  • rsDebug() : rs_debug.rsh @@ -383,6 +383,9 @@
  • rsgAllocationSyncAll() : rs_graphics.rsh
  • +
  • rsgBindConstant() +: rs_graphics.rsh +
  • rsgBindFont() : rs_graphics.rsh
  • @@ -411,7 +414,7 @@ : rs_graphics.rsh
  • rsgDrawMesh() -: rs_graphics.rsh +: rs_graphics.rsh
  • rsgDrawQuad() : rs_graphics.rsh @@ -468,7 +471,7 @@ : rs_graphics.rsh
  • rsIsObject() -: rs_object.rsh +: rs_object.rsh
  • rsIsSphereInFrustum() : rs_math.rsh @@ -477,7 +480,7 @@ : rs_time.rsh
  • rsMatrixGet() -: rs_matrix.rsh +: rs_matrix.rsh
  • rsMatrixInverse() : rs_matrix.rsh @@ -513,7 +516,7 @@ : rs_matrix.rsh
  • rsMatrixMultiply() -: rs_matrix.rsh +: rs_matrix.rsh
  • rsMatrixRotate() : rs_matrix.rsh @@ -522,7 +525,7 @@ : rs_matrix.rsh
  • rsMatrixSet() -: rs_matrix.rsh +: rs_matrix.rsh
  • rsMatrixTranslate() : rs_matrix.rsh @@ -555,7 +558,7 @@ : rs_quaternion.rsh
  • rsQuaternionMultiply() -: rs_quaternion.rsh +: rs_quaternion.rsh
  • rsQuaternionNormalize() : rs_quaternion.rsh @@ -567,7 +570,7 @@ : rs_quaternion.rsh
  • rsRand() -: rs_math.rsh +: rs_math.rsh
  • rsSendToClient() : rs_core.rsh diff --git a/docs/html/reference/renderscript/globals_func.html b/docs/html/reference/renderscript/globals_func.html index 5886454..c1a622d 100644 --- a/docs/html/reference/renderscript/globals_func.html +++ b/docs/html/reference/renderscript/globals_func.html @@ -299,7 +299,7 @@ : rs_object.rsh
  • rsDebug() -: rs_debug.rsh +: rs_debug.rsh
  • rsExtractFrustumPlanes() : rs_math.rsh @@ -313,6 +313,9 @@
  • rsgAllocationSyncAll() : rs_graphics.rsh
  • +
  • rsgBindConstant() +: rs_graphics.rsh +
  • rsgBindFont() : rs_graphics.rsh
  • @@ -398,7 +401,7 @@ : rs_graphics.rsh
  • rsIsObject() -: rs_object.rsh +: rs_object.rsh
  • rsIsSphereInFrustum() : rs_math.rsh @@ -407,7 +410,7 @@ : rs_time.rsh
  • rsMatrixGet() -: rs_matrix.rsh +: rs_matrix.rsh
  • rsMatrixInverse() : rs_matrix.rsh @@ -443,7 +446,7 @@ : rs_matrix.rsh
  • rsMatrixMultiply() -: rs_matrix.rsh +: rs_matrix.rsh
  • rsMatrixRotate() : rs_matrix.rsh @@ -458,10 +461,10 @@ : rs_matrix.rsh
  • rsMatrixTranspose() -: rs_matrix.rsh +: rs_matrix.rsh
  • rsPackColorTo8888() -: rs_math.rsh +: rs_math.rsh
  • rsqrt() : rs_cl.rsh @@ -497,16 +500,16 @@ : rs_quaternion.rsh
  • rsRand() -: rs_math.rsh +: rs_math.rsh
  • rsSendToClient() -: rs_core.rsh +: rs_core.rsh
  • rsSendToClientBlocking() -: rs_core.rsh +: rs_core.rsh
  • rsSetObject() -: rs_object.rsh +: rs_object.rsh
  • rsTime() : rs_time.rsh diff --git a/docs/html/reference/renderscript/index.html b/docs/html/reference/renderscript/index.html index c4c057e..212f000 100644 --- a/docs/html/reference/renderscript/index.html +++ b/docs/html/reference/renderscript/index.html @@ -24,9 +24,9 @@
    -

    Renderscript is a high-performance runtime that provides graphics rendering and compute operations at the native level. Renderscript code is compiled on devices at runtime to allow platform-independence as well. This reference documentation describes the Renderscript runtime APIs, which you can utilize to write Renderscript code in C99. The Renderscript header files are automatically included for you, except for the rs_graphics.rsh header. If you are doing graphics rendering, include the graphics header file like this:

    -

    #include "rs_graphics.rsh"

    -

    To use Renderscript, you need to utilize the Renderscript runtime APIs documented here as well as the Android framework APIs for Renderscript. For documentation on the Android framework APIs, see the android.renderscript package reference. For more information on how to develop with Renderscript and how the runtime and Android framework APIs interact, see the Renderscript developer guide and the Renderscript samples.

    +

    Renderscript is a high-performance runtime that provides graphics rendering and compute operations at the native level. Renderscript code is compiled on devices at runtime to allow platform-independence as well. This reference documentation describes the Renderscript runtime APIs, which you can utilize to write Renderscript code in C99. The Renderscript header files are automatically included for you.

    +

    To use Renderscript, you need to utilize the Renderscript runtime APIs documented here as well as the Android framework APIs for Renderscript. For documentation on the Android framework APIs, see the android.renderscript package reference.

    +

    For more information on how to develop with Renderscript and how the runtime and Android framework APIs interact, see the Renderscript developer guide and the Renderscript SDK samples.

    diff --git a/docs/html/reference/renderscript/rs__allocation_8rsh.html b/docs/html/reference/renderscript/rs__allocation_8rsh.html index ca2663b..9dd06d3 100644 --- a/docs/html/reference/renderscript/rs__allocation_8rsh.html +++ b/docs/html/reference/renderscript/rs__allocation_8rsh.html @@ -3,7 +3,7 @@ -/src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_allocation.rsh File Reference +rs_allocation.rsh File Reference @@ -27,7 +27,7 @@
    -
    /src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_allocation.rsh File Reference
    +
    rs_allocation.rsh File Reference
    diff --git a/docs/html/reference/renderscript/rs__allocation_8rsh_source.html b/docs/html/reference/renderscript/rs__allocation_8rsh_source.html index 0d1c167..3358cff 100644 --- a/docs/html/reference/renderscript/rs__allocation_8rsh_source.html +++ b/docs/html/reference/renderscript/rs__allocation_8rsh_source.html @@ -3,7 +3,7 @@ -/src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_allocation.rsh Source File +rs_allocation.rsh Source File @@ -24,7 +24,7 @@
    -
    /src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_allocation.rsh
    +
    rs_allocation.rsh
    Go to the documentation of this file.
    00001 /*
    @@ -93,8 +93,34 @@
     00143 extern const void * __attribute__((overloadable))
     00144     rsGetElementAt(rs_allocation, uint32_t x, uint32_t y, uint32_t z);
     00145 
    -00146 #endif
    -00147 
    +00146 // New API's
    +00147 #if (defined(RS_VERSION) && (RS_VERSION >= 16))
    +00148 
    +00153 extern const void __attribute__((overloadable))
    +00154     rsAllocationIoSend(rs_allocation a);
    +00155 
    +00160 extern const void __attribute__((overloadable))
    +00161     rsAllocationIoReceive(rs_allocation a);
    +00162 
    +00163 
    +00169 extern rs_element __attribute__((overloadable))
    +00170     rsAllocationGetElement(rs_allocation a);
    +00171 
    +00178 extern const float4 __attribute__((overloadable))
    +00179     rsSample(rs_allocation a, rs_sampler s, float location);
    +00189 extern const float4 __attribute__((overloadable))
    +00190     rsSample(rs_allocation a, rs_sampler s, float location, float lod);
    +00191 
    +00198 extern const float4 __attribute__((overloadable))
    +00199     rsSample(rs_allocation a, rs_sampler s, float2 location);
    +00200 
    +00210 extern const float4 __attribute__((overloadable))
    +00211     rsSample(rs_allocation a, rs_sampler s, float2 location, float lod);
    +00212 
    +00213 #endif // (defined(RS_VERSION) && (RS_VERSION >= 16))
    +00214 
    +00215 #endif
    +00216 
     
    diff --git a/docs/html/reference/renderscript/rs__atomic_8rsh.html b/docs/html/reference/renderscript/rs__atomic_8rsh.html index 3d0e97e..bb33fc3 100644 --- a/docs/html/reference/renderscript/rs__atomic_8rsh.html +++ b/docs/html/reference/renderscript/rs__atomic_8rsh.html @@ -3,7 +3,7 @@ -/src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_atomic.rsh File Reference +rs_atomic.rsh File Reference @@ -25,7 +25,7 @@
    -
    /src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_atomic.rsh File Reference
    +
    rs_atomic.rsh File Reference

    Detailed Description

    diff --git a/docs/html/reference/renderscript/rs__atomic_8rsh_source.html b/docs/html/reference/renderscript/rs__atomic_8rsh_source.html index a1400bd..63d1a68 100644 --- a/docs/html/reference/renderscript/rs__atomic_8rsh_source.html +++ b/docs/html/reference/renderscript/rs__atomic_8rsh_source.html @@ -3,7 +3,7 @@ -/src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_atomic.rsh Source File +rs_atomic.rsh Source File @@ -24,7 +24,7 @@
    -
    /src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_atomic.rsh
    +
    rs_atomic.rsh
    Go to the documentation of this file.
    00001 /*
    @@ -97,7 +97,7 @@
     00231     rsAtomicCas(volatile int32_t* addr, int32_t compareValue, int32_t newValue);
     00232 
     00244 extern uint32_t __attribute__((overloadable))
    -00245     rsAtomicCas(volatile uint32_t* addr, int32_t compareValue, int32_t newValue);
    +00245     rsAtomicCas(volatile uint32_t* addr, uint32_t compareValue, uint32_t newValue);
     00246 
     00247 #endif //defined(RS_VERSION) && (RS_VERSION >= 14)
     00248 
    diff --git a/docs/html/reference/renderscript/rs__cl_8rsh.html b/docs/html/reference/renderscript/rs__cl_8rsh.html
    index 5c499e6..999fe0d 100644
    --- a/docs/html/reference/renderscript/rs__cl_8rsh.html
    +++ b/docs/html/reference/renderscript/rs__cl_8rsh.html
    @@ -3,7 +3,7 @@
     
     
     
    -/src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_cl.rsh File Reference
    +rs_cl.rsh File Reference
     
     
     
    @@ -27,7 +27,7 @@
       
       
    -
    /src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_cl.rsh File Reference
    +
    rs_cl.rsh File Reference
    diff --git a/docs/html/reference/renderscript/rs__cl_8rsh_source.html b/docs/html/reference/renderscript/rs__cl_8rsh_source.html index 73ecdc6..8cc3cb7 100644 --- a/docs/html/reference/renderscript/rs__cl_8rsh_source.html +++ b/docs/html/reference/renderscript/rs__cl_8rsh_source.html @@ -3,7 +3,7 @@ -/src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_cl.rsh Source File +rs_cl.rsh Source File @@ -24,7 +24,7 @@
    -
    /src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_cl.rsh
    +
    rs_cl.rsh
    Go to the documentation of this file.
    00001 /*
    @@ -275,7 +275,7 @@
     00501 extern float __attribute__((overloadable)) modf(float x, float *iret);
     00502 FN_FUNC_FN_PFN(modf);
     00503 
    -00504 //extern float __attribute__((overloadable)) nan(uint);
    +00504 extern float __attribute__((overloadable)) nan(uint);
     00505 
     00511 extern float __attribute__((overloadable)) nextafter(float x, float y);
     00512 FN_FUNC_FN_FN(nextafter)
    diff --git a/docs/html/reference/renderscript/rs__core_8rsh.html b/docs/html/reference/renderscript/rs__core_8rsh.html
    index 5a32e19..6212598 100644
    --- a/docs/html/reference/renderscript/rs__core_8rsh.html
    +++ b/docs/html/reference/renderscript/rs__core_8rsh.html
    @@ -3,7 +3,7 @@
     
     
     
    -/src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_core.rsh File Reference
    +rs_core.rsh File Reference
     
     
     
    @@ -30,7 +30,7 @@
     Enumerations |
     Functions  
    -
    /src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_core.rsh File Reference
    +
    rs_core.rsh File Reference
    #include "rs_types.rsh"
    @@ -38,10 +38,12 @@ #include "rs_atomic.rsh"
    #include "rs_cl.rsh"
    #include "rs_debug.rsh"
    +#include "rs_element.rsh"
    #include "rs_math.rsh"
    #include "rs_matrix.rsh"
    #include "rs_object.rsh"
    #include "rs_quaternion.rsh"
    +#include "rs_sampler.rsh"
    #include "rs_time.rsh"

    @@ -63,8 +65,7 @@ Functions

    void rsForEach (rs_script script, rs_allocation input, rs_allocation output, const void *usrData)

    Detailed Description

    -

    todo-jsams

    - +

    Definition in file rs_core.rsh.


    Typedef Documentation

    @@ -95,7 +96,7 @@ Functions

    Launch order hint for rsForEach calls. This provides a hint to the system to determine in which order the root function of the target is called with each cell of the allocation.

    This is a hint and implementations may not obey the order.

    -

    Definition at line 74 of file rs_core.rsh.

    +

    Definition at line 92 of file rs_core.rsh.

    diff --git a/docs/html/reference/renderscript/rs__core_8rsh_source.html b/docs/html/reference/renderscript/rs__core_8rsh_source.html index fac83e0..888a8b4 100644 --- a/docs/html/reference/renderscript/rs__core_8rsh_source.html +++ b/docs/html/reference/renderscript/rs__core_8rsh_source.html @@ -3,7 +3,7 @@ -/src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_core.rsh Source File +rs_core.rsh Source File @@ -24,11 +24,11 @@
    -
    /src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_core.rsh
    +
    rs_core.rsh
    Go to the documentation of this file.
    00001 /*
    -00002  * Copyright (C) 2011 The Android Open Source Project
    +00002  * Copyright (C) 2011-2012 The Android Open Source Project
     00003  *
     00004  * Licensed under the Apache License, Version 2.0 (the "License");
     00005  * you may not use this file except in compliance with the License.
    @@ -43,81 +43,81 @@
     00014  * limitations under the License.
     00015  */
     00016 
    -00024 #ifndef __RS_CORE_RSH__
    -00025 #define __RS_CORE_RSH__
    -00026 
    -00027 #define _RS_RUNTIME extern
    -00028 
    -00029 #include "rs_types.rsh"
    -00030 #include "rs_allocation.rsh"
    -00031 #include "rs_atomic.rsh"
    -00032 #include "rs_cl.rsh"
    -00033 #include "rs_debug.rsh"
    -00034 #include "rs_math.rsh"
    -00035 #include "rs_matrix.rsh"
    -00036 #include "rs_object.rsh"
    -00037 #include "rs_quaternion.rsh"
    -00038 #include "rs_time.rsh"
    -00039 
    -00040 
    -00041 
    -00047 extern bool __attribute__((overloadable))
    -00048     rsSendToClient(int cmdID);
    -00052 extern bool __attribute__((overloadable))
    -00053     rsSendToClient(int cmdID, const void *data, uint len);
    -00058 extern void __attribute__((overloadable))
    -00059     rsSendToClientBlocking(int cmdID);
    -00063 extern void __attribute__((overloadable))
    -00064     rsSendToClientBlocking(int cmdID, const void *data, uint len);
    -00065 
    -00066 
    -00074 enum rs_for_each_strategy {
    -00075     RS_FOR_EACH_STRATEGY_SERIAL,
    -00076     RS_FOR_EACH_STRATEGY_DONT_CARE,
    -00077     RS_FOR_EACH_STRATEGY_DST_LINEAR,
    -00078     RS_FOR_EACH_STRATEGY_TILE_SMALL,
    -00079     RS_FOR_EACH_STRATEGY_TILE_MEDIUM,
    -00080     RS_FOR_EACH_STRATEGY_TILE_LARGE
    -00081 };
    -00082 
    +00042 #ifndef __RS_CORE_RSH__
    +00043 #define __RS_CORE_RSH__
    +00044 
    +00045 #define _RS_RUNTIME extern
    +00046 
    +00047 #include "rs_types.rsh"
    +00048 #include "rs_allocation.rsh"
    +00049 #include "rs_atomic.rsh"
    +00050 #include "rs_cl.rsh"
    +00051 #include "rs_debug.rsh"
    +00052 #include "rs_element.rsh"
    +00053 #include "rs_math.rsh"
    +00054 #include "rs_matrix.rsh"
    +00055 #include "rs_object.rsh"
    +00056 #include "rs_quaternion.rsh"
    +00057 #include "rs_sampler.rsh"
    +00058 #include "rs_time.rsh"
    +00059 
    +00065 extern bool __attribute__((overloadable))
    +00066     rsSendToClient(int cmdID);
    +00070 extern bool __attribute__((overloadable))
    +00071     rsSendToClient(int cmdID, const void *data, uint len);
    +00076 extern void __attribute__((overloadable))
    +00077     rsSendToClientBlocking(int cmdID);
    +00081 extern void __attribute__((overloadable))
    +00082     rsSendToClientBlocking(int cmdID, const void *data, uint len);
     00083 
    -00088 typedef struct rs_script_call {
    -00089     enum rs_for_each_strategy strategy;
    -00090     uint32_t xStart;
    -00091     uint32_t xEnd;
    -00092     uint32_t yStart;
    -00093     uint32_t yEnd;
    -00094     uint32_t zStart;
    -00095     uint32_t zEnd;
    -00096     uint32_t arrayStart;
    -00097     uint32_t arrayEnd;
    -00098 } rs_script_call_t;
    -00099 
    -00116 #if !defined(RS_VERSION) || (RS_VERSION < 14)
    -00117 extern void __attribute__((overloadable))
    -00118     rsForEach(rs_script script, rs_allocation input,
    -00119               rs_allocation output, const void * usrData,
    -00120               const rs_script_call_t *sc);
    -00124 extern void __attribute__((overloadable))
    -00125     rsForEach(rs_script script, rs_allocation input,
    -00126               rs_allocation output, const void * usrData);
    -00127 #else
    -00128 
    -00147 extern void __attribute__((overloadable))
    -00148     rsForEach(rs_script script, rs_allocation input, rs_allocation output,
    -00149               const void * usrData, size_t usrDataLen, const rs_script_call_t *);
    -00153 extern void __attribute__((overloadable))
    -00154     rsForEach(rs_script script, rs_allocation input, rs_allocation output,
    -00155               const void * usrData, size_t usrDataLen);
    -00159 extern void __attribute__((overloadable))
    -00160     rsForEach(rs_script script, rs_allocation input, rs_allocation output);
    -00161 #endif
    -00162 
    -00163 
    -00164 
    -00165 #undef _RS_RUNTIME
    -00166 
    -00167 #endif
    +00084 
    +00092 enum rs_for_each_strategy {
    +00093     RS_FOR_EACH_STRATEGY_SERIAL,
    +00094     RS_FOR_EACH_STRATEGY_DONT_CARE,
    +00095     RS_FOR_EACH_STRATEGY_DST_LINEAR,
    +00096     RS_FOR_EACH_STRATEGY_TILE_SMALL,
    +00097     RS_FOR_EACH_STRATEGY_TILE_MEDIUM,
    +00098     RS_FOR_EACH_STRATEGY_TILE_LARGE
    +00099 };
    +00100 
    +00101 
    +00106 typedef struct rs_script_call {
    +00107     enum rs_for_each_strategy strategy;
    +00108     uint32_t xStart;
    +00109     uint32_t xEnd;
    +00110     uint32_t yStart;
    +00111     uint32_t yEnd;
    +00112     uint32_t zStart;
    +00113     uint32_t zEnd;
    +00114     uint32_t arrayStart;
    +00115     uint32_t arrayEnd;
    +00116 } rs_script_call_t;
    +00117 
    +00134 #if !defined(RS_VERSION) || (RS_VERSION < 14)
    +00135 extern void __attribute__((overloadable))
    +00136     rsForEach(rs_script script, rs_allocation input,
    +00137               rs_allocation output, const void * usrData,
    +00138               const rs_script_call_t *sc);
    +00142 extern void __attribute__((overloadable))
    +00143     rsForEach(rs_script script, rs_allocation input,
    +00144               rs_allocation output, const void * usrData);
    +00145 #else
    +00146 
    +00165 extern void __attribute__((overloadable))
    +00166     rsForEach(rs_script script, rs_allocation input, rs_allocation output,
    +00167               const void * usrData, size_t usrDataLen, const rs_script_call_t *);
    +00171 extern void __attribute__((overloadable))
    +00172     rsForEach(rs_script script, rs_allocation input, rs_allocation output,
    +00173               const void * usrData, size_t usrDataLen);
    +00177 extern void __attribute__((overloadable))
    +00178     rsForEach(rs_script script, rs_allocation input, rs_allocation output);
    +00179 #endif
    +00180 
    +00181 
    +00182 
    +00183 #undef _RS_RUNTIME
    +00184 
    +00185 #endif
     
    diff --git a/docs/html/reference/renderscript/rs__debug_8rsh.html b/docs/html/reference/renderscript/rs__debug_8rsh.html index 75ce9db..7259cf2 100644 --- a/docs/html/reference/renderscript/rs__debug_8rsh.html +++ b/docs/html/reference/renderscript/rs__debug_8rsh.html @@ -3,7 +3,7 @@ -/src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_debug.rsh File Reference +rs_debug.rsh File Reference @@ -27,7 +27,7 @@
    -
    /src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_debug.rsh File Reference
    +
    rs_debug.rsh File Reference
    diff --git a/docs/html/reference/renderscript/rs__debug_8rsh_source.html b/docs/html/reference/renderscript/rs__debug_8rsh_source.html index b06e99c..b1589aa 100644 --- a/docs/html/reference/renderscript/rs__debug_8rsh_source.html +++ b/docs/html/reference/renderscript/rs__debug_8rsh_source.html @@ -3,7 +3,7 @@ -/src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_debug.rsh Source File +rs_debug.rsh Source File @@ -24,7 +24,7 @@
    -
    /src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_debug.rsh
    +
    rs_debug.rsh
    Go to the documentation of this file.
    00001 /*
    diff --git a/docs/html/reference/renderscript/rs__element_8rsh.html b/docs/html/reference/renderscript/rs__element_8rsh.html
    new file mode 100644
    index 0000000..5f23ae9
    --- /dev/null
    +++ b/docs/html/reference/renderscript/rs__element_8rsh.html
    @@ -0,0 +1,38 @@
    +
    +
    +
    +
    +
    +rs_element.rsh File Reference
    +
    +
    +
    +
    +
    +
    +
    +
    + + + + +
    +
    +
    +
    rs_element.rsh File Reference
    +
    +
    +

    Detailed Description

    +

    Element routines.

    + +

    Definition in file rs_element.rsh.

    +
    + + + diff --git a/docs/html/reference/renderscript/rs__element_8rsh_source.html b/docs/html/reference/renderscript/rs__element_8rsh_source.html new file mode 100644 index 0000000..47ebb4d --- /dev/null +++ b/docs/html/reference/renderscript/rs__element_8rsh_source.html @@ -0,0 +1,90 @@ + + + + + +rs_element.rsh Source File + + + + + + + +
    + + + + +
    +
    +
    rs_element.rsh
    +
    +
    +Go to the documentation of this file.
    00001 /*
    +00002  * Copyright (C) 2012 The Android Open Source Project
    +00003  *
    +00004  * Licensed under the Apache License, Version 2.0 (the "License");
    +00005  * you may not use this file except in compliance with the License.
    +00006  * You may obtain a copy of the License at
    +00007  *
    +00008  *      http://www.apache.org/licenses/LICENSE-2.0
    +00009  *
    +00010  * Unless required by applicable law or agreed to in writing, software
    +00011  * distributed under the License is distributed on an "AS IS" BASIS,
    +00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +00013  * See the License for the specific language governing permissions and
    +00014  * limitations under the License.
    +00015  */
    +00016 
    +00023 #ifndef __RS_ELEMENT_RSH__
    +00024 #define __RS_ELEMENT_RSH__
    +00025 
    +00026 // New API's
    +00027 #if (defined(RS_VERSION) && (RS_VERSION >= 16))
    +00028 
    +00038 extern uint32_t __attribute__((overloadable))
    +00039     rsElementGetSubElementCount(rs_element e);
    +00040 
    +00049 extern rs_element __attribute__((overloadable))
    +00050     rsElementGetSubElement(rs_element, uint32_t index);
    +00051 
    +00061 extern uint32_t __attribute__((overloadable))
    +00062     rsElementGetSubElementNameLength(rs_element e, uint32_t index);
    +00063 
    +00075 extern uint32_t __attribute__((overloadable))
    +00076     rsElementGetSubElementName(rs_element e, uint32_t index, char *name, uint32_t nameLength);
    +00077 
    +00088 extern uint32_t __attribute__((overloadable))
    +00089     rsElementGetSubElementArraySize(rs_element e, uint32_t index);
    +00090 
    +00100 extern uint32_t __attribute__((overloadable))
    +00101     rsElementGetSubElementOffsetBytes(rs_element e, uint32_t index);
    +00102 
    +00109 extern uint32_t __attribute__((overloadable))
    +00110     rsElementGetBytesSize(rs_element e);
    +00111 
    +00118 extern rs_data_type __attribute__((overloadable))
    +00119     rsElementGetDataType(rs_element e);
    +00120 
    +00127 extern rs_data_kind __attribute__((overloadable))
    +00128     rsElementGetDataKind(rs_element e);
    +00129 
    +00137 extern uint32_t __attribute__((overloadable))
    +00138     rsElementGetVectorSize(rs_element e);
    +00139 
    +00140 #endif // (defined(RS_VERSION) && (RS_VERSION >= 16))
    +00141 
    +00142 #endif // __RS_ELEMENT_RSH__
    +00143 
    +
    +
    + + + diff --git a/docs/html/reference/renderscript/rs__graphics_8rsh.html b/docs/html/reference/renderscript/rs__graphics_8rsh.html index 8a17b30..de62965 100644 --- a/docs/html/reference/renderscript/rs__graphics_8rsh.html +++ b/docs/html/reference/renderscript/rs__graphics_8rsh.html @@ -3,7 +3,7 @@ -/src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_graphics.rsh File Reference +rs_graphics.rsh File Reference @@ -27,10 +27,12 @@
    -
    /src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_graphics.rsh File Reference
    +
    rs_graphics.rsh File Reference
    -
    +
    #include "rs_mesh.rsh"
    +#include "rs_program.rsh"
    +
    @@ -44,6 +46,8 @@ Functions + + @@ -95,6 +99,90 @@ Functions + +
    +
    +

    Functions

    void rsgBindProgramFragment (rs_program_fragment pf)
    void rsgProgramVertexLoadTextureMatrix (const rs_matrix4x4 *tex)
    void rsgProgramVertexGetProjectionMatrix (rs_matrix4x4 *proj)
    void rsgProgramFragmentConstantColor (rs_program_fragment pf, float r, float g, float b, float a)
    void rsgBindConstant (rs_program_fragment ps, uint slot, rs_allocation c)
    void rsgBindConstant (rs_program_vertex pv, uint slot, rs_allocation c)
    uint rsgGetWidth (void)
    uint rsgGetHeight (void)
    void rsgAllocationSyncAll (rs_allocation alloc)
    + + + + + + + + + + + + + + + + + + + + + + + +
    void rsgBindConstant (rs_program_fragment ps,
    uint slot,
    rs_allocation c 
    )
    +
    +
    +

    Bind a new Allocation object to a ProgramFragment. The Allocation must be a valid constant input for the Program.

    +
    Parameters:
    + + + + +
    psprogram object
    slotindex of the constant buffer on the program
    cconstants to bind
    +
    +
    + +
    + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void rsgBindConstant (rs_program_vertex pv,
    uint slot,
    rs_allocation c 
    )
    +
    +
    +

    Bind a new Allocation object to a ProgramVertex. The Allocation must be a valid constant input for the Program.

    +
    Parameters:
    + + + + +
    pvprogram object
    slotindex of the constant buffer on the program
    cconstants to bind
    +
    +
    + +
    +
    @@ -1185,7 +1273,7 @@ Functions

    This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

    -

    Definition at line 380 of file rs_graphics.rsh.

    +

    Definition at line 409 of file rs_graphics.rsh.

    diff --git a/docs/html/reference/renderscript/rs__graphics_8rsh_source.html b/docs/html/reference/renderscript/rs__graphics_8rsh_source.html index b9ce0b7..9f673bd 100644 --- a/docs/html/reference/renderscript/rs__graphics_8rsh_source.html +++ b/docs/html/reference/renderscript/rs__graphics_8rsh_source.html @@ -3,7 +3,7 @@ -/src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_graphics.rsh Source File +rs_graphics.rsh Source File @@ -24,11 +24,11 @@
    -
    /src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_graphics.rsh
    +
    rs_graphics.rsh
    Go to the documentation of this file.
    00001 /*
    -00002  * Copyright (C) 2011 The Android Open Source Project
    +00002  * Copyright (C) 2011-2012 The Android Open Source Project
     00003  *
     00004  * Licensed under the Apache License, Version 2.0 (the "License");
     00005  * you may not use this file except in compliance with the License.
    @@ -45,137 +45,150 @@
     00016 
     00023 #ifndef __RS_GRAPHICS_RSH__
     00024 #define __RS_GRAPHICS_RSH__
    -00025 #if (defined(RS_VERSION) && (RS_VERSION >= 14))
    -00026 
    -00031 extern void __attribute__((overloadable))
    -00032     rsgBindColorTarget(rs_allocation colorTarget, uint slot);
    -00033 
    -00038 extern void __attribute__((overloadable))
    -00039     rsgClearColorTarget(uint slot);
    -00040 
    -00045 extern void __attribute__((overloadable))
    -00046     rsgBindDepthTarget(rs_allocation depthTarget);
    -00047 
    -00051 extern void __attribute__((overloadable))
    -00052     rsgClearDepthTarget(void);
    -00053 
    -00058 extern void __attribute__((overloadable))
    -00059     rsgClearAllRenderTargets(void);
    -00060 
    -00064 extern uint __attribute__((overloadable))
    -00065     rsgFinish(void);
    -00066 
    -00067 #endif //defined(RS_VERSION) && (RS_VERSION >= 14)
    -00068 
    -00074 extern void __attribute__((overloadable))
    -00075     rsgBindProgramFragment(rs_program_fragment pf);
    -00076 
    -00082 extern void __attribute__((overloadable))
    -00083     rsgBindProgramStore(rs_program_store ps);
    -00084 
    -00090 extern void __attribute__((overloadable))
    -00091     rsgBindProgramVertex(rs_program_vertex pv);
    -00092 
    -00098 extern void __attribute__((overloadable))
    -00099     rsgBindProgramRaster(rs_program_raster pr);
    -00100 
    -00107 extern void __attribute__((overloadable))
    -00108     rsgBindSampler(rs_program_fragment, uint slot, rs_sampler);
    -00109 
    -00118 extern void __attribute__((overloadable))
    -00119     rsgBindTexture(rs_program_fragment, uint slot, rs_allocation);
    -00120 
    -00127 extern void __attribute__((overloadable))
    -00128     rsgProgramVertexLoadProjectionMatrix(const rs_matrix4x4 *proj);
    -00135 extern void __attribute__((overloadable))
    -00136     rsgProgramVertexLoadModelMatrix(const rs_matrix4x4 *model);
    -00143 extern void __attribute__((overloadable))
    -00144     rsgProgramVertexLoadTextureMatrix(const rs_matrix4x4 *tex);
    -00151 extern void __attribute__((overloadable))
    -00152     rsgProgramVertexGetProjectionMatrix(rs_matrix4x4 *proj);
    -00153 
    -00163 extern void __attribute__((overloadable))
    -00164     rsgProgramFragmentConstantColor(rs_program_fragment pf, float r, float g, float b, float a);
    -00165 
    -00171 extern uint __attribute__((overloadable))
    -00172     rsgGetWidth(void);
    -00173 
    -00179 extern uint __attribute__((overloadable))
    -00180     rsgGetHeight(void);
    -00181 
    -00182 
    +00025 
    +00026 #include "rs_mesh.rsh"
    +00027 #include "rs_program.rsh"
    +00028 
    +00029 #if (defined(RS_VERSION) && (RS_VERSION >= 14))
    +00030 
    +00035 extern void __attribute__((overloadable))
    +00036     rsgBindColorTarget(rs_allocation colorTarget, uint slot);
    +00037 
    +00042 extern void __attribute__((overloadable))
    +00043     rsgClearColorTarget(uint slot);
    +00044 
    +00049 extern void __attribute__((overloadable))
    +00050     rsgBindDepthTarget(rs_allocation depthTarget);
    +00051 
    +00055 extern void __attribute__((overloadable))
    +00056     rsgClearDepthTarget(void);
    +00057 
    +00062 extern void __attribute__((overloadable))
    +00063     rsgClearAllRenderTargets(void);
    +00064 
    +00068 extern uint __attribute__((overloadable))
    +00069     rsgFinish(void);
    +00070 
    +00071 #endif //defined(RS_VERSION) && (RS_VERSION >= 14)
    +00072 
    +00078 extern void __attribute__((overloadable))
    +00079     rsgBindProgramFragment(rs_program_fragment pf);
    +00080 
    +00086 extern void __attribute__((overloadable))
    +00087     rsgBindProgramStore(rs_program_store ps);
    +00088 
    +00094 extern void __attribute__((overloadable))
    +00095     rsgBindProgramVertex(rs_program_vertex pv);
    +00096 
    +00102 extern void __attribute__((overloadable))
    +00103     rsgBindProgramRaster(rs_program_raster pr);
    +00104 
    +00111 extern void __attribute__((overloadable))
    +00112     rsgBindSampler(rs_program_fragment, uint slot, rs_sampler);
    +00113 
    +00122 extern void __attribute__((overloadable))
    +00123     rsgBindTexture(rs_program_fragment, uint slot, rs_allocation);
    +00124 
    +00131 extern void __attribute__((overloadable))
    +00132     rsgProgramVertexLoadProjectionMatrix(const rs_matrix4x4 *proj);
    +00139 extern void __attribute__((overloadable))
    +00140     rsgProgramVertexLoadModelMatrix(const rs_matrix4x4 *model);
    +00147 extern void __attribute__((overloadable))
    +00148     rsgProgramVertexLoadTextureMatrix(const rs_matrix4x4 *tex);
    +00155 extern void __attribute__((overloadable))
    +00156     rsgProgramVertexGetProjectionMatrix(rs_matrix4x4 *proj);
    +00157 
    +00167 extern void __attribute__((overloadable))
    +00168     rsgProgramFragmentConstantColor(rs_program_fragment pf, float r, float g, float b, float a);
    +00169 
    +00178 extern void __attribute__((overloadable))
    +00179     rsgBindConstant(rs_program_fragment ps, uint slot, rs_allocation c);
    +00180 
     00189 extern void __attribute__((overloadable))
    -00190     rsgAllocationSyncAll(rs_allocation alloc);
    +00190     rsgBindConstant(rs_program_vertex pv, uint slot, rs_allocation c);
     00191 
    -00192 #if (defined(RS_VERSION) && (RS_VERSION >= 14))
    -00193 
    -00201 extern void __attribute__((overloadable))
    -00202     rsgAllocationSyncAll(rs_allocation alloc,
    -00203                          rs_allocation_usage_type source);
    -00204 
    -00205 #endif //defined(RS_VERSION) && (RS_VERSION >= 14)
    -00206 
    -00217 extern void __attribute__((overloadable))
    -00218     rsgDrawRect(float x1, float y1, float x2, float y2, float z);
    -00219 
    -00237 extern void __attribute__((overloadable))
    -00238     rsgDrawQuad(float x1, float y1, float z1,
    -00239                 float x2, float y2, float z2,
    -00240                 float x3, float y3, float z3,
    -00241                 float x4, float y4, float z4);
    -00242 
    -00243 
    -00269 extern void __attribute__((overloadable))
    -00270     rsgDrawQuadTexCoords(float x1, float y1, float z1, float u1, float v1,
    -00271                          float x2, float y2, float z2, float u2, float v2,
    -00272                          float x3, float y3, float z3, float u3, float v3,
    -00273                          float x4, float y4, float z4, float u4, float v4);
    -00274 
    -00275 
    -00288 extern void __attribute__((overloadable))
    -00289     rsgDrawSpriteScreenspace(float x, float y, float z, float w, float h);
    -00290 
    -00297 extern void __attribute__((overloadable))
    -00298     rsgDrawMesh(rs_mesh ism);
    -00305 extern void __attribute__((overloadable))
    -00306     rsgDrawMesh(rs_mesh ism, uint primitiveIndex);
    -00315 extern void __attribute__((overloadable))
    -00316     rsgDrawMesh(rs_mesh ism, uint primitiveIndex, uint start, uint len);
    -00317 
    +00197 extern uint __attribute__((overloadable))
    +00198     rsgGetWidth(void);
    +00199 
    +00205 extern uint __attribute__((overloadable))
    +00206     rsgGetHeight(void);
    +00207 
    +00208 
    +00215 extern void __attribute__((overloadable))
    +00216     rsgAllocationSyncAll(rs_allocation alloc);
    +00217 
    +00218 #if (defined(RS_VERSION) && (RS_VERSION >= 14))
    +00219 
    +00227 extern void __attribute__((overloadable))
    +00228     rsgAllocationSyncAll(rs_allocation alloc,
    +00229                          rs_allocation_usage_type source);
    +00230 
    +00231 #endif //defined(RS_VERSION) && (RS_VERSION >= 14)
    +00232 
    +00243 extern void __attribute__((overloadable))
    +00244     rsgDrawRect(float x1, float y1, float x2, float y2, float z);
    +00245 
    +00263 extern void __attribute__((overloadable))
    +00264     rsgDrawQuad(float x1, float y1, float z1,
    +00265                 float x2, float y2, float z2,
    +00266                 float x3, float y3, float z3,
    +00267                 float x4, float y4, float z4);
    +00268 
    +00269 
    +00295 extern void __attribute__((overloadable))
    +00296     rsgDrawQuadTexCoords(float x1, float y1, float z1, float u1, float v1,
    +00297                          float x2, float y2, float z2, float u2, float v2,
    +00298                          float x3, float y3, float z3, float u3, float v3,
    +00299                          float x4, float y4, float z4, float u4, float v4);
    +00300 
    +00301 
    +00314 extern void __attribute__((overloadable))
    +00315     rsgDrawSpriteScreenspace(float x, float y, float z, float w, float h);
    +00316 
    +00317 extern void __attribute__((overloadable))
    +00318     rsgDrawPath(rs_path p);
    +00319 
     00326 extern void __attribute__((overloadable))
    -00327     rsgClearColor(float r, float g, float b, float a);
    -00328 
    -00332 extern void __attribute__((overloadable))
    -00333     rsgClearDepth(float value);
    -00337 extern void __attribute__((overloadable))
    -00338     rsgDrawText(const char *, int x, int y);
    -00342 extern void __attribute__((overloadable))
    -00343     rsgDrawText(rs_allocation, int x, int y);
    -00348 extern void __attribute__((overloadable))
    -00349     rsgBindFont(rs_font font);
    -00357 extern void __attribute__((overloadable))
    -00358     rsgFontColor(float r, float g, float b, float a);
    -00363 extern void __attribute__((overloadable))
    -00364     rsgMeasureText(const char *, int *left, int *right, int *top, int *bottom);
    -00368 extern void __attribute__((overloadable))
    -00369     rsgMeasureText(rs_allocation, int *left, int *right, int *top, int *bottom);
    -00373 extern void __attribute__((overloadable))
    -00374     rsgMeshComputeBoundingBox(rs_mesh mesh, float *minX, float *minY, float *minZ,
    -00375                                                 float *maxX, float *maxY, float *maxZ);
    -00379 __inline__ static void __attribute__((overloadable, always_inline))
    -00380 rsgMeshComputeBoundingBox(rs_mesh mesh, float3 *bBoxMin, float3 *bBoxMax) {
    -00381     float x1, y1, z1, x2, y2, z2;
    -00382     rsgMeshComputeBoundingBox(mesh, &x1, &y1, &z1, &x2, &y2, &z2);
    -00383     bBoxMin->x = x1;
    -00384     bBoxMin->y = y1;
    -00385     bBoxMin->z = z1;
    -00386     bBoxMax->x = x2;
    -00387     bBoxMax->y = y2;
    -00388     bBoxMax->z = z2;
    -00389 }
    -00390 
    -00391 #endif
    -00392 
    +00327     rsgDrawMesh(rs_mesh ism);
    +00334 extern void __attribute__((overloadable))
    +00335     rsgDrawMesh(rs_mesh ism, uint primitiveIndex);
    +00344 extern void __attribute__((overloadable))
    +00345     rsgDrawMesh(rs_mesh ism, uint primitiveIndex, uint start, uint len);
    +00346 
    +00355 extern void __attribute__((overloadable))
    +00356     rsgClearColor(float r, float g, float b, float a);
    +00357 
    +00361 extern void __attribute__((overloadable))
    +00362     rsgClearDepth(float value);
    +00366 extern void __attribute__((overloadable))
    +00367     rsgDrawText(const char *, int x, int y);
    +00371 extern void __attribute__((overloadable))
    +00372     rsgDrawText(rs_allocation, int x, int y);
    +00377 extern void __attribute__((overloadable))
    +00378     rsgBindFont(rs_font font);
    +00386 extern void __attribute__((overloadable))
    +00387     rsgFontColor(float r, float g, float b, float a);
    +00392 extern void __attribute__((overloadable))
    +00393     rsgMeasureText(const char *, int *left, int *right, int *top, int *bottom);
    +00397 extern void __attribute__((overloadable))
    +00398     rsgMeasureText(rs_allocation, int *left, int *right, int *top, int *bottom);
    +00402 extern void __attribute__((overloadable))
    +00403     rsgMeshComputeBoundingBox(rs_mesh mesh, float *minX, float *minY, float *minZ,
    +00404                                                 float *maxX, float *maxY, float *maxZ);
    +00408 __inline__ static void __attribute__((overloadable, always_inline))
    +00409 rsgMeshComputeBoundingBox(rs_mesh mesh, float3 *bBoxMin, float3 *bBoxMax) {
    +00410     float x1, y1, z1, x2, y2, z2;
    +00411     rsgMeshComputeBoundingBox(mesh, &x1, &y1, &z1, &x2, &y2, &z2);
    +00412     bBoxMin->x = x1;
    +00413     bBoxMin->y = y1;
    +00414     bBoxMin->z = z1;
    +00415     bBoxMax->x = x2;
    +00416     bBoxMax->y = y2;
    +00417     bBoxMax->z = z2;
    +00418 }
    +00419 
    +00420 #endif
    +00421 
     
    diff --git a/docs/html/reference/renderscript/rs__math_8rsh.html b/docs/html/reference/renderscript/rs__math_8rsh.html index 9415c3a..96d5e8f 100644 --- a/docs/html/reference/renderscript/rs__math_8rsh.html +++ b/docs/html/reference/renderscript/rs__math_8rsh.html @@ -3,7 +3,7 @@ -/src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_math.rsh File Reference +rs_math.rsh File Reference @@ -27,7 +27,7 @@
    -
    /src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_math.rsh File Reference
    +
    rs_math.rsh File Reference
    diff --git a/docs/html/reference/renderscript/rs__math_8rsh_source.html b/docs/html/reference/renderscript/rs__math_8rsh_source.html index c056994..eb4ddac 100644 --- a/docs/html/reference/renderscript/rs__math_8rsh_source.html +++ b/docs/html/reference/renderscript/rs__math_8rsh_source.html @@ -3,7 +3,7 @@ -/src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_math.rsh Source File +rs_math.rsh Source File @@ -24,7 +24,7 @@
    -
    /src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_math.rsh
    +
    rs_math.rsh
    Go to the documentation of this file.
    00001 /*
    diff --git a/docs/html/reference/renderscript/rs__matrix_8rsh.html b/docs/html/reference/renderscript/rs__matrix_8rsh.html
    index b956301..583a92a 100644
    --- a/docs/html/reference/renderscript/rs__matrix_8rsh.html
    +++ b/docs/html/reference/renderscript/rs__matrix_8rsh.html
    @@ -3,7 +3,7 @@
     
     
     
    -/src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_matrix.rsh File Reference
    +rs_matrix.rsh File Reference
     
     
     
    @@ -27,7 +27,7 @@
       
       
    -
    /src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_matrix.rsh File Reference
    +
    rs_matrix.rsh File Reference
    diff --git a/docs/html/reference/renderscript/rs__matrix_8rsh_source.html b/docs/html/reference/renderscript/rs__matrix_8rsh_source.html index 531a3e3..be83c9b 100644 --- a/docs/html/reference/renderscript/rs__matrix_8rsh_source.html +++ b/docs/html/reference/renderscript/rs__matrix_8rsh_source.html @@ -3,7 +3,7 @@ -/src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_matrix.rsh Source File +rs_matrix.rsh Source File @@ -24,7 +24,7 @@
    -
    /src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_matrix.rsh
    +
    rs_matrix.rsh
    Go to the documentation of this file.
    00001 /*
    diff --git a/docs/html/reference/renderscript/rs__mesh_8rsh.html b/docs/html/reference/renderscript/rs__mesh_8rsh.html
    new file mode 100644
    index 0000000..81ac93e
    --- /dev/null
    +++ b/docs/html/reference/renderscript/rs__mesh_8rsh.html
    @@ -0,0 +1,38 @@
    +
    +
    +
    +
    +
    +rs_mesh.rsh File Reference
    +
    +
    +
    +
    +
    +
    +
    +
    + + + + +
    +
    +
    +
    rs_mesh.rsh File Reference
    +
    +
    +

    Detailed Description

    +

    Mesh routines.

    + +

    Definition in file rs_mesh.rsh.

    +
    + + + diff --git a/docs/html/reference/renderscript/rs__mesh_8rsh_source.html b/docs/html/reference/renderscript/rs__mesh_8rsh_source.html new file mode 100644 index 0000000..e344b47 --- /dev/null +++ b/docs/html/reference/renderscript/rs__mesh_8rsh_source.html @@ -0,0 +1,75 @@ + + + + + +rs_mesh.rsh Source File + + + + + + + +
    + + + + +
    +
    +
    rs_mesh.rsh
    +
    +
    +Go to the documentation of this file.
    00001 /*
    +00002  * Copyright (C) 2012 The Android Open Source Project
    +00003  *
    +00004  * Licensed under the Apache License, Version 2.0 (the "License");
    +00005  * you may not use this file except in compliance with the License.
    +00006  * You may obtain a copy of the License at
    +00007  *
    +00008  *      http://www.apache.org/licenses/LICENSE-2.0
    +00009  *
    +00010  * Unless required by applicable law or agreed to in writing, software
    +00011  * distributed under the License is distributed on an "AS IS" BASIS,
    +00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +00013  * See the License for the specific language governing permissions and
    +00014  * limitations under the License.
    +00015  */
    +00016 
    +00023 #ifndef __RS_MESH_RSH__
    +00024 #define __RS_MESH_RSH__
    +00025 
    +00026 // New API's
    +00027 #if (defined(RS_VERSION) && (RS_VERSION >= 16))
    +00028 
    +00037 extern uint32_t __attribute__((overloadable))
    +00038     rsgMeshGetVertexAllocationCount(rs_mesh m);
    +00039 
    +00049 extern uint32_t __attribute__((overloadable))
    +00050     rsgMeshGetPrimitiveCount(rs_mesh m);
    +00051 
    +00060 extern rs_allocation __attribute__((overloadable))
    +00061     rsgMeshGetVertexAllocation(rs_mesh m, uint32_t index);
    +00062 
    +00071 extern rs_allocation __attribute__((overloadable))
    +00072     rsgMeshGetIndexAllocation(rs_mesh m, uint32_t index);
    +00073 
    +00082 extern rs_primitive __attribute__((overloadable))
    +00083     rsgMeshGetPrimitive(rs_mesh m, uint32_t index);
    +00084 
    +00085 #endif // (defined(RS_VERSION) && (RS_VERSION >= 16))
    +00086 
    +00087 #endif // __RS_MESH_RSH__
    +00088 
    +
    +
    + + + diff --git a/docs/html/reference/renderscript/rs__object_8rsh.html b/docs/html/reference/renderscript/rs__object_8rsh.html index 464e7e5..9ac7bb8 100644 --- a/docs/html/reference/renderscript/rs__object_8rsh.html +++ b/docs/html/reference/renderscript/rs__object_8rsh.html @@ -3,7 +3,7 @@ -/src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_object.rsh File Reference +rs_object.rsh File Reference @@ -27,7 +27,7 @@
    -
    /src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_object.rsh File Reference
    +
    rs_object.rsh File Reference
    @@ -38,6 +38,7 @@ Functions + @@ -49,6 +50,7 @@ Functions + @@ -60,6 +62,7 @@ Functions + @@ -163,6 +166,24 @@ Functions + +
    +
    +
    void rsSetObject (rs_allocation *dst, rs_allocation src)
    void rsSetObject (rs_sampler *dst, rs_sampler src)
    void rsSetObject (rs_script *dst, rs_script src)
    void rsSetObject (rs_path *dst, rs_path src)
    void rsSetObject (rs_mesh *dst, rs_mesh src)
    void rsSetObject (rs_program_fragment *dst, rs_program_fragment src)
    void rsSetObject (rs_program_vertex *dst, rs_program_vertex src)
    void rsClearObject (rs_allocation *dst)
    void rsClearObject (rs_sampler *dst)
    void rsClearObject (rs_script *dst)
    void rsClearObject (rs_path *dst)
    void rsClearObject (rs_mesh *dst)
    void rsClearObject (rs_program_fragment *dst)
    void rsClearObject (rs_program_vertex *dst)
    bool rsIsObject (rs_allocation)
    bool rsIsObject (rs_sampler)
    bool rsIsObject (rs_script)
    bool rsIsObject (rs_path)
    bool rsIsObject (rs_mesh)
    bool rsIsObject (rs_program_fragment)
    bool rsIsObject (rs_program_vertex)
    + + + + + + + +
    void rsClearObject (rs_pathdst)
    +
    +
    +

    This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

    + +
    +
    @@ -362,6 +383,24 @@ Functions
    + +
    +
    + + + + + + + + +
    bool rsIsObject (rs_path )
    +
    +
    +

    This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

    + +
    +
    @@ -617,6 +656,34 @@ Functions
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void rsSetObject (rs_pathdst,
    rs_path src 
    )
    +
    +
    +

    This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

    + +
    +
    diff --git a/docs/html/reference/renderscript/rs__object_8rsh_source.html b/docs/html/reference/renderscript/rs__object_8rsh_source.html index 0f9b488..e55769b 100644 --- a/docs/html/reference/renderscript/rs__object_8rsh_source.html +++ b/docs/html/reference/renderscript/rs__object_8rsh_source.html @@ -3,7 +3,7 @@ -/src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_object.rsh Source File +rs_object.rsh Source File @@ -24,7 +24,7 @@
    -
    /src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_object.rsh
    +
    rs_object.rsh
    Go to the documentation of this file.
    00001 /*
    @@ -58,67 +58,73 @@
     00053 extern void __attribute__((overloadable))
     00054     rsSetObject(rs_script *dst, rs_script src);
     00058 extern void __attribute__((overloadable))
    -00059     rsSetObject(rs_mesh *dst, rs_mesh src);
    +00059     rsSetObject(rs_path *dst, rs_path src);
     00063 extern void __attribute__((overloadable))
    -00064     rsSetObject(rs_program_fragment *dst, rs_program_fragment src);
    +00064     rsSetObject(rs_mesh *dst, rs_mesh src);
     00068 extern void __attribute__((overloadable))
    -00069     rsSetObject(rs_program_vertex *dst, rs_program_vertex src);
    +00069     rsSetObject(rs_program_fragment *dst, rs_program_fragment src);
     00073 extern void __attribute__((overloadable))
    -00074     rsSetObject(rs_program_raster *dst, rs_program_raster src);
    +00074     rsSetObject(rs_program_vertex *dst, rs_program_vertex src);
     00078 extern void __attribute__((overloadable))
    -00079     rsSetObject(rs_program_store *dst, rs_program_store src);
    +00079     rsSetObject(rs_program_raster *dst, rs_program_raster src);
     00083 extern void __attribute__((overloadable))
    -00084     rsSetObject(rs_font *dst, rs_font src);
    -00085 
    -00091 extern void __attribute__((overloadable))
    -00092     rsClearObject(rs_element *dst);
    +00084     rsSetObject(rs_program_store *dst, rs_program_store src);
    +00088 extern void __attribute__((overloadable))
    +00089     rsSetObject(rs_font *dst, rs_font src);
    +00090 
     00096 extern void __attribute__((overloadable))
    -00097     rsClearObject(rs_type *dst);
    +00097     rsClearObject(rs_element *dst);
     00101 extern void __attribute__((overloadable))
    -00102     rsClearObject(rs_allocation *dst);
    +00102     rsClearObject(rs_type *dst);
     00106 extern void __attribute__((overloadable))
    -00107     rsClearObject(rs_sampler *dst);
    +00107     rsClearObject(rs_allocation *dst);
     00111 extern void __attribute__((overloadable))
    -00112     rsClearObject(rs_script *dst);
    +00112     rsClearObject(rs_sampler *dst);
     00116 extern void __attribute__((overloadable))
    -00117     rsClearObject(rs_mesh *dst);
    +00117     rsClearObject(rs_script *dst);
     00121 extern void __attribute__((overloadable))
    -00122     rsClearObject(rs_program_fragment *dst);
    +00122     rsClearObject(rs_path *dst);
     00126 extern void __attribute__((overloadable))
    -00127     rsClearObject(rs_program_vertex *dst);
    +00127     rsClearObject(rs_mesh *dst);
     00131 extern void __attribute__((overloadable))
    -00132     rsClearObject(rs_program_raster *dst);
    +00132     rsClearObject(rs_program_fragment *dst);
     00136 extern void __attribute__((overloadable))
    -00137     rsClearObject(rs_program_store *dst);
    +00137     rsClearObject(rs_program_vertex *dst);
     00141 extern void __attribute__((overloadable))
    -00142     rsClearObject(rs_font *dst);
    -00143 
    -00144 
    -00145 
    -00152 extern bool __attribute__((overloadable))
    -00153     rsIsObject(rs_element);
    -00157 extern bool __attribute__((overloadable))
    -00158     rsIsObject(rs_type);
    +00142     rsClearObject(rs_program_raster *dst);
    +00146 extern void __attribute__((overloadable))
    +00147     rsClearObject(rs_program_store *dst);
    +00151 extern void __attribute__((overloadable))
    +00152     rsClearObject(rs_font *dst);
    +00153 
    +00154 
    +00155 
     00162 extern bool __attribute__((overloadable))
    -00163     rsIsObject(rs_allocation);
    +00163     rsIsObject(rs_element);
     00167 extern bool __attribute__((overloadable))
    -00168     rsIsObject(rs_sampler);
    +00168     rsIsObject(rs_type);
     00172 extern bool __attribute__((overloadable))
    -00173     rsIsObject(rs_script);
    +00173     rsIsObject(rs_allocation);
     00177 extern bool __attribute__((overloadable))
    -00178     rsIsObject(rs_mesh);
    +00178     rsIsObject(rs_sampler);
     00182 extern bool __attribute__((overloadable))
    -00183     rsIsObject(rs_program_fragment);
    +00183     rsIsObject(rs_script);
     00187 extern bool __attribute__((overloadable))
    -00188     rsIsObject(rs_program_vertex);
    +00188     rsIsObject(rs_path);
     00192 extern bool __attribute__((overloadable))
    -00193     rsIsObject(rs_program_raster);
    +00193     rsIsObject(rs_mesh);
     00197 extern bool __attribute__((overloadable))
    -00198     rsIsObject(rs_program_store);
    +00198     rsIsObject(rs_program_fragment);
     00202 extern bool __attribute__((overloadable))
    -00203     rsIsObject(rs_font);
    -00204 
    -00205 #endif
    +00203     rsIsObject(rs_program_vertex);
    +00207 extern bool __attribute__((overloadable))
    +00208     rsIsObject(rs_program_raster);
    +00212 extern bool __attribute__((overloadable))
    +00213     rsIsObject(rs_program_store);
    +00217 extern bool __attribute__((overloadable))
    +00218     rsIsObject(rs_font);
    +00219 
    +00220 #endif
     
    diff --git a/docs/html/reference/renderscript/rs__program_8rsh.html b/docs/html/reference/renderscript/rs__program_8rsh.html new file mode 100644 index 0000000..f64cc7b --- /dev/null +++ b/docs/html/reference/renderscript/rs__program_8rsh.html @@ -0,0 +1,38 @@ + + + + + +rs_program.rsh File Reference + + + + + + + +
    + + + + +
    +
    +
    +
    rs_program.rsh File Reference
    +
    +
    +

    Detailed Description

    +

    Program object routines.

    + +

    Definition in file rs_program.rsh.

    +
    + + + diff --git a/docs/html/reference/renderscript/rs__program_8rsh_source.html b/docs/html/reference/renderscript/rs__program_8rsh_source.html new file mode 100644 index 0000000..dc901b3 --- /dev/null +++ b/docs/html/reference/renderscript/rs__program_8rsh_source.html @@ -0,0 +1,91 @@ + + + + + +rs_program.rsh Source File + + + + + + + +
    + + + + +
    +
    +
    rs_program.rsh
    +
    +
    +Go to the documentation of this file.
    00001 /*
    +00002  * Copyright (C) 2012 The Android Open Source Project
    +00003  *
    +00004  * Licensed under the Apache License, Version 2.0 (the "License");
    +00005  * you may not use this file except in compliance with the License.
    +00006  * You may obtain a copy of the License at
    +00007  *
    +00008  *      http://www.apache.org/licenses/LICENSE-2.0
    +00009  *
    +00010  * Unless required by applicable law or agreed to in writing, software
    +00011  * distributed under the License is distributed on an "AS IS" BASIS,
    +00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +00013  * See the License for the specific language governing permissions and
    +00014  * limitations under the License.
    +00015  */
    +00016 
    +00023 #ifndef __RS_PROGRAM_RSH__
    +00024 #define __RS_PROGRAM_RSH__
    +00025 
    +00026 #if (defined(RS_VERSION) && (RS_VERSION >= 16))
    +00027 
    +00033 extern rs_depth_func __attribute__((overloadable))
    +00034     rsgProgramStoreGetDepthFunc(rs_program_store ps);
    +00035 
    +00041 extern bool __attribute__((overloadable))
    +00042     rsgProgramStoreIsDepthMaskEnabled(rs_program_store ps);
    +00048 extern bool __attribute__((overloadable))
    +00049     rsgProgramStoreIsColorMaskRedEnabled(rs_program_store ps);
    +00050 
    +00056 extern bool __attribute__((overloadable))
    +00057     rsgProgramStoreIsColorMaskGreenEnabled(rs_program_store ps);
    +00058 
    +00064 extern bool __attribute__((overloadable))
    +00065     rsgProgramStoreIsColorMaskBlueEnabled(rs_program_store ps);
    +00066 
    +00072 extern bool __attribute__((overloadable))
    +00073     rsgProgramStoreIsColorMaskAlphaEnabled(rs_program_store ps);
    +00074 
    +00080 extern rs_blend_src_func __attribute__((overloadable))
    +00081         rsgProgramStoreGetBlendSrcFunc(rs_program_store ps);
    +00082 
    +00088 extern rs_blend_dst_func __attribute__((overloadable))
    +00089     rsgProgramStoreGetBlendDstFunc(rs_program_store ps);
    +00090 
    +00096 extern bool __attribute__((overloadable))
    +00097     rsgProgramStoreIsDitherEnabled(rs_program_store ps);
    +00098 
    +00104 extern bool __attribute__((overloadable))
    +00105     rsgProgramRasterIsPointSpriteEnabled(rs_program_raster pr);
    +00106 
    +00112 extern rs_cull_mode __attribute__((overloadable))
    +00113     rsgProgramRasterGetCullMode(rs_program_raster pr);
    +00114 
    +00115 #endif // (defined(RS_VERSION) && (RS_VERSION >= 16))
    +00116 
    +00117 #endif // __RS_PROGRAM_RSH__
    +00118 
    +
    +
    + + + diff --git a/docs/html/reference/renderscript/rs__quaternion_8rsh.html b/docs/html/reference/renderscript/rs__quaternion_8rsh.html index bd6979c..389b792 100644 --- a/docs/html/reference/renderscript/rs__quaternion_8rsh.html +++ b/docs/html/reference/renderscript/rs__quaternion_8rsh.html @@ -3,7 +3,7 @@ -/src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_quaternion.rsh File Reference +rs_quaternion.rsh File Reference @@ -27,7 +27,7 @@
    -
    /src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_quaternion.rsh File Reference
    +
    rs_quaternion.rsh File Reference
    diff --git a/docs/html/reference/renderscript/rs__quaternion_8rsh_source.html b/docs/html/reference/renderscript/rs__quaternion_8rsh_source.html index c08565a..93e4e5d 100644 --- a/docs/html/reference/renderscript/rs__quaternion_8rsh_source.html +++ b/docs/html/reference/renderscript/rs__quaternion_8rsh_source.html @@ -3,7 +3,7 @@ -/src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_quaternion.rsh Source File +rs_quaternion.rsh Source File @@ -24,7 +24,7 @@
    -
    /src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_quaternion.rsh
    +
    rs_quaternion.rsh
    Go to the documentation of this file.
    00001 /*
    diff --git a/docs/html/reference/renderscript/rs__sampler_8rsh.html b/docs/html/reference/renderscript/rs__sampler_8rsh.html
    new file mode 100644
    index 0000000..f45dd28
    --- /dev/null
    +++ b/docs/html/reference/renderscript/rs__sampler_8rsh.html
    @@ -0,0 +1,38 @@
    +
    +
    +
    +
    +
    +rs_sampler.rsh File Reference
    +
    +
    +
    +
    +
    +
    +
    +
    + + + + +
    +
    +
    +
    rs_sampler.rsh File Reference
    +
    +
    +

    Detailed Description

    +

    Sampler routines.

    + +

    Definition in file rs_sampler.rsh.

    +
    + + + diff --git a/docs/html/reference/renderscript/rs__sampler_8rsh_source.html b/docs/html/reference/renderscript/rs__sampler_8rsh_source.html new file mode 100644 index 0000000..30fb9c0 --- /dev/null +++ b/docs/html/reference/renderscript/rs__sampler_8rsh_source.html @@ -0,0 +1,75 @@ + + + + + +rs_sampler.rsh Source File + + + + + + + +
    + + + + +
    +
    +
    rs_sampler.rsh
    +
    +
    +Go to the documentation of this file.
    00001 /*
    +00002  * Copyright (C) 2012 The Android Open Source Project
    +00003  *
    +00004  * Licensed under the Apache License, Version 2.0 (the "License");
    +00005  * you may not use this file except in compliance with the License.
    +00006  * You may obtain a copy of the License at
    +00007  *
    +00008  *      http://www.apache.org/licenses/LICENSE-2.0
    +00009  *
    +00010  * Unless required by applicable law or agreed to in writing, software
    +00011  * distributed under the License is distributed on an "AS IS" BASIS,
    +00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +00013  * See the License for the specific language governing permissions and
    +00014  * limitations under the License.
    +00015  */
    +00016 
    +00023 #ifndef __RS_SAMPLER_RSH__
    +00024 #define __RS_SAMPLER_RSH__
    +00025 
    +00026 // New API's
    +00027 #if (defined(RS_VERSION) && (RS_VERSION >= 16))
    +00028 
    +00035 extern rs_sampler_value __attribute__((overloadable))
    +00036     rsSamplerGetMinification(rs_sampler s);
    +00037 
    +00044 extern rs_sampler_value __attribute__((overloadable))
    +00045     rsSamplerGetMagnification(rs_sampler s);
    +00046 
    +00053 extern rs_sampler_value __attribute__((overloadable))
    +00054     rsSamplerGetWrapS(rs_sampler s);
    +00055 
    +00062 extern rs_sampler_value __attribute__((overloadable))
    +00063     rsSamplerGetWrapT(rs_sampler s);
    +00064 
    +00071 extern float __attribute__((overloadable))
    +00072     rsSamplerGetAnisotropy(rs_sampler s);
    +00073 
    +00074 #endif // (defined(RS_VERSION) && (RS_VERSION >= 16))
    +00075 
    +00076 #endif // __RS_SAMPLER_RSH__
    +00077 
    +
    +
    + + + diff --git a/docs/html/reference/renderscript/rs__time_8rsh.html b/docs/html/reference/renderscript/rs__time_8rsh.html index 34ac9cd..a3e63d0 100644 --- a/docs/html/reference/renderscript/rs__time_8rsh.html +++ b/docs/html/reference/renderscript/rs__time_8rsh.html @@ -3,7 +3,7 @@ -/src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_time.rsh File Reference +rs_time.rsh File Reference @@ -29,7 +29,7 @@ Typedefs | Functions
    -
    /src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_time.rsh File Reference
    +
    rs_time.rsh File Reference
    diff --git a/docs/html/reference/renderscript/rs__time_8rsh_source.html b/docs/html/reference/renderscript/rs__time_8rsh_source.html index 1c5c74b..208924a 100644 --- a/docs/html/reference/renderscript/rs__time_8rsh_source.html +++ b/docs/html/reference/renderscript/rs__time_8rsh_source.html @@ -3,7 +3,7 @@ -/src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_time.rsh Source File +rs_time.rsh Source File @@ -24,7 +24,7 @@
    -
    /src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_time.rsh
    +
    rs_time.rsh
    Go to the documentation of this file.
    00001 /*
    diff --git a/docs/html/reference/renderscript/rs__types_8rsh.html b/docs/html/reference/renderscript/rs__types_8rsh.html
    index bd601f2..c3caa6f 100644
    --- a/docs/html/reference/renderscript/rs__types_8rsh.html
    +++ b/docs/html/reference/renderscript/rs__types_8rsh.html
    @@ -3,7 +3,7 @@
     
     
     
    -/src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_types.rsh File Reference
    +rs_types.rsh File Reference
     
     
     
    @@ -28,7 +28,7 @@
     Data Structures |
     Typedefs  
    -
    /src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_types.rsh File Reference
    +
    rs_types.rsh File Reference
    #include "stdbool.h"
    @@ -47,6 +47,8 @@ Data Structures
    + + @@ -132,7 +134,7 @@ Typedefs

    Vector version of the basic char type. Provides two char fields packed into a single 16 bit field with 16 bit alignment.

    -

    Definition at line 273 of file rs_types.rsh.

    +

    Definition at line 279 of file rs_types.rsh.

    @@ -148,7 +150,7 @@ Typedefs

    Vector version of the basic char type. Provides three char fields packed into a single 32 bit field with 32 bit alignment.

    -

    Definition at line 278 of file rs_types.rsh.

    +

    Definition at line 284 of file rs_types.rsh.

    @@ -164,7 +166,7 @@ Typedefs

    Vector version of the basic char type. Provides four char fields packed into a single 32 bit field with 32 bit alignment.

    -

    Definition at line 283 of file rs_types.rsh.

    +

    Definition at line 289 of file rs_types.rsh.

    @@ -180,7 +182,7 @@ Typedefs

    Vector version of the basic double type. Provides two double fields packed into a single 128 bit field with 128 bit alignment.

    -

    Definition at line 193 of file rs_types.rsh.

    +

    Definition at line 199 of file rs_types.rsh.

    @@ -196,7 +198,7 @@ Typedefs

    Vector version of the basic double type. Provides three double fields packed into a single 256 bit field with 256 bit alignment.

    -

    Definition at line 198 of file rs_types.rsh.

    +

    Definition at line 204 of file rs_types.rsh.

    @@ -212,7 +214,7 @@ Typedefs

    Vector version of the basic double type. Provides four double fields packed into a single 256 bit field with 256 bit alignment.

    -

    Definition at line 203 of file rs_types.rsh.

    +

    Definition at line 209 of file rs_types.rsh.

    @@ -228,7 +230,7 @@ Typedefs

    Vector version of the basic float type. Provides two float fields packed into a single 64 bit field with 64 bit alignment.

    -

    Definition at line 176 of file rs_types.rsh.

    +

    Definition at line 182 of file rs_types.rsh.

    @@ -244,7 +246,7 @@ Typedefs

    Vector version of the basic float type. Provides three float fields packed into a single 128 bit field with 128 bit alignment.

    -

    Definition at line 181 of file rs_types.rsh.

    +

    Definition at line 187 of file rs_types.rsh.

    @@ -260,7 +262,7 @@ Typedefs

    Vector version of the basic float type. Provides four float fields packed into a single 128 bit field with 128 bit alignment.

    -

    Definition at line 187 of file rs_types.rsh.

    +

    Definition at line 193 of file rs_types.rsh.

    @@ -292,7 +294,7 @@ Typedefs

    Vector version of the basic int type. Provides two int fields packed into a single 64 bit field with 64 bit alignment.

    -

    Definition at line 305 of file rs_types.rsh.

    +

    Definition at line 311 of file rs_types.rsh.

    @@ -308,7 +310,7 @@ Typedefs

    Vector version of the basic int type. Provides three int fields packed into a single 128 bit field with 128 bit alignment.

    -

    Definition at line 310 of file rs_types.rsh.

    +

    Definition at line 316 of file rs_types.rsh.

    @@ -340,7 +342,7 @@ Typedefs

    Vector version of the basic int type. Provides two four fields packed into a single 128 bit field with 128 bit alignment.

    -

    Definition at line 315 of file rs_types.rsh.

    +

    Definition at line 321 of file rs_types.rsh.

    @@ -388,7 +390,7 @@ Typedefs

    Vector version of the basic long type. Provides two long fields packed into a single 128 bit field with 128 bit alignment.

    -

    Definition at line 321 of file rs_types.rsh.

    +

    Definition at line 327 of file rs_types.rsh.

    @@ -404,7 +406,7 @@ Typedefs

    Vector version of the basic long type. Provides three long fields packed into a single 256 bit field with 256 bit alignment.

    -

    Definition at line 326 of file rs_types.rsh.

    +

    Definition at line 332 of file rs_types.rsh.

    @@ -420,7 +422,7 @@ Typedefs

    Vector version of the basic long type. Provides four long fields packed into a single 256 bit field with 256 bit alignment.

    -

    Definition at line 331 of file rs_types.rsh.

    +

    Definition at line 337 of file rs_types.rsh.

    @@ -436,7 +438,7 @@ Typedefs

    quaternion type for use with the quaternion functions

    -

    Definition at line 364 of file rs_types.rsh.

    +

    Definition at line 370 of file rs_types.rsh.

    @@ -452,7 +454,7 @@ Typedefs

    Vector version of the basic short type. Provides two short fields packed into a single 32 bit field with 32 bit alignment.

    -

    Definition at line 289 of file rs_types.rsh.

    +

    Definition at line 295 of file rs_types.rsh.

    @@ -468,7 +470,7 @@ Typedefs

    Vector version of the basic short type. Provides three short fields packed into a single 64 bit field with 64 bit alignment.

    -

    Definition at line 294 of file rs_types.rsh.

    +

    Definition at line 300 of file rs_types.rsh.

    @@ -484,7 +486,7 @@ Typedefs

    Vector version of the basic short type. Provides four short fields packed into a single 64 bit field with 64 bit alignment.

    -

    Definition at line 299 of file rs_types.rsh.

    +

    Definition at line 305 of file rs_types.rsh.

    @@ -548,7 +550,7 @@ Typedefs

    Vector version of the basic uchar type. Provides two uchar fields packed into a single 16 bit field with 16 bit alignment.

    -

    Definition at line 209 of file rs_types.rsh.

    +

    Definition at line 215 of file rs_types.rsh.

    @@ -564,7 +566,7 @@ Typedefs

    Vector version of the basic uchar type. Provides three uchar fields packed into a single 32 bit field with 32 bit alignment.

    -

    Definition at line 214 of file rs_types.rsh.

    +

    Definition at line 220 of file rs_types.rsh.

    @@ -580,7 +582,7 @@ Typedefs

    Vector version of the basic uchar type. Provides four uchar fields packed into a single 32 bit field with 32 bit alignment.

    -

    Definition at line 219 of file rs_types.rsh.

    +

    Definition at line 225 of file rs_types.rsh.

    @@ -628,7 +630,7 @@ Typedefs

    Vector version of the basic uint type. Provides two uint fields packed into a single 64 bit field with 64 bit alignment.

    -

    Definition at line 241 of file rs_types.rsh.

    +

    Definition at line 247 of file rs_types.rsh.

    @@ -644,7 +646,7 @@ Typedefs

    Vector version of the basic uint type. Provides three uint fields packed into a single 128 bit field with 128 bit alignment.

    -

    Definition at line 246 of file rs_types.rsh.

    +

    Definition at line 252 of file rs_types.rsh.

    @@ -676,7 +678,7 @@ Typedefs

    Vector version of the basic uint type. Provides four uint fields packed into a single 128 bit field with 128 bit alignment.

    -

    Definition at line 251 of file rs_types.rsh.

    +

    Definition at line 257 of file rs_types.rsh.

    @@ -740,7 +742,7 @@ Typedefs

    Vector version of the basic ulong type. Provides two ulong fields packed into a single 128 bit field with 128 bit alignment.

    -

    Definition at line 257 of file rs_types.rsh.

    +

    Definition at line 263 of file rs_types.rsh.

    @@ -756,7 +758,7 @@ Typedefs

    Vector version of the basic ulong type. Provides three ulong fields packed into a single 256 bit field with 256 bit alignment.

    -

    Definition at line 262 of file rs_types.rsh.

    +

    Definition at line 268 of file rs_types.rsh.

    @@ -772,7 +774,7 @@ Typedefs

    Vector version of the basic ulong type. Provides four ulong fields packed into a single 256 bit field with 256 bit alignment.

    -

    Definition at line 267 of file rs_types.rsh.

    +

    Definition at line 273 of file rs_types.rsh.

    @@ -804,7 +806,7 @@ Typedefs

    Vector version of the basic ushort type. Provides two ushort fields packed into a single 32 bit field with 32 bit alignment.

    -

    Definition at line 225 of file rs_types.rsh.

    +

    Definition at line 231 of file rs_types.rsh.

    @@ -820,7 +822,7 @@ Typedefs

    Vector version of the basic ushort type. Provides three ushort fields packed into a single 64 bit field with 64 bit alignment.

    -

    Definition at line 230 of file rs_types.rsh.

    +

    Definition at line 236 of file rs_types.rsh.

    @@ -836,7 +838,7 @@ Typedefs

    Vector version of the basic ushort type. Provides four ushort fields packed into a single 64 bit field with 64 bit alignment.

    -

    Definition at line 235 of file rs_types.rsh.

    +

    Definition at line 241 of file rs_types.rsh.

    diff --git a/docs/html/reference/renderscript/rs__types_8rsh_source.html b/docs/html/reference/renderscript/rs__types_8rsh_source.html index 96c55e1..641a753 100644 --- a/docs/html/reference/renderscript/rs__types_8rsh_source.html +++ b/docs/html/reference/renderscript/rs__types_8rsh_source.html @@ -3,7 +3,7 @@ -/src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_types.rsh Source File +rs_types.rsh Source File @@ -24,7 +24,7 @@
    -
    /src/ics-mr1/frameworks/base/libs/rs/scriptc/rs_types.rsh
    +
    rs_types.rsh
    Go to the documentation of this file.
    00001 /*
    @@ -70,89 +70,214 @@
     00127 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_sampler;
     00133 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_script;
     00139 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_mesh;
    -00145 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_program_fragment;
    -00151 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_program_vertex;
    -00157 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_program_raster;
    -00163 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_program_store;
    -00169 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_font;
    -00170 
    -00176 typedef float float2 __attribute__((ext_vector_type(2)));
    -00181 typedef float float3 __attribute__((ext_vector_type(3)));
    -00187 typedef float float4 __attribute__((ext_vector_type(4)));
    -00188 
    -00193 typedef double double2 __attribute__((ext_vector_type(2)));
    -00198 typedef double double3 __attribute__((ext_vector_type(3)));
    -00203 typedef double double4 __attribute__((ext_vector_type(4)));
    -00204 
    -00209 typedef uchar uchar2 __attribute__((ext_vector_type(2)));
    -00214 typedef uchar uchar3 __attribute__((ext_vector_type(3)));
    -00219 typedef uchar uchar4 __attribute__((ext_vector_type(4)));
    -00220 
    -00225 typedef ushort ushort2 __attribute__((ext_vector_type(2)));
    -00230 typedef ushort ushort3 __attribute__((ext_vector_type(3)));
    -00235 typedef ushort ushort4 __attribute__((ext_vector_type(4)));
    -00236 
    -00241 typedef uint uint2 __attribute__((ext_vector_type(2)));
    -00246 typedef uint uint3 __attribute__((ext_vector_type(3)));
    -00251 typedef uint uint4 __attribute__((ext_vector_type(4)));
    -00252 
    -00257 typedef ulong ulong2 __attribute__((ext_vector_type(2)));
    -00262 typedef ulong ulong3 __attribute__((ext_vector_type(3)));
    -00267 typedef ulong ulong4 __attribute__((ext_vector_type(4)));
    -00268 
    -00273 typedef char char2 __attribute__((ext_vector_type(2)));
    -00278 typedef char char3 __attribute__((ext_vector_type(3)));
    -00283 typedef char char4 __attribute__((ext_vector_type(4)));
    -00284 
    -00289 typedef short short2 __attribute__((ext_vector_type(2)));
    -00294 typedef short short3 __attribute__((ext_vector_type(3)));
    -00299 typedef short short4 __attribute__((ext_vector_type(4)));
    -00300 
    -00305 typedef int int2 __attribute__((ext_vector_type(2)));
    -00310 typedef int int3 __attribute__((ext_vector_type(3)));
    -00315 typedef int int4 __attribute__((ext_vector_type(4)));
    -00316 
    -00321 typedef long long2 __attribute__((ext_vector_type(2)));
    -00326 typedef long long3 __attribute__((ext_vector_type(3)));
    -00331 typedef long long4 __attribute__((ext_vector_type(4)));
    -00332 
    -00339 typedef struct {
    -00340     float m[16];
    -00341 } rs_matrix4x4;
    -00348 typedef struct {
    -00349     float m[9];
    -00350 } rs_matrix3x3;
    -00357 typedef struct {
    -00358     float m[4];
    -00359 } rs_matrix2x2;
    -00360 
    -00364 typedef float4 rs_quaternion;
    -00365 
    -00366 #define RS_PACKED __attribute__((packed, aligned(4)))
    -00367 #define NULL ((const void *)0)
    -00368 
    -00369 #if (defined(RS_VERSION) && (RS_VERSION >= 14))
    -00370 
    -00374 typedef enum {
    -00375     RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X = 0,
    -00376     RS_ALLOCATION_CUBEMAP_FACE_NEGATIVE_X = 1,
    -00377     RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_Y = 2,
    -00378     RS_ALLOCATION_CUBEMAP_FACE_NEGATIVE_Y = 3,
    -00379     RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_Z = 4,
    -00380     RS_ALLOCATION_CUBEMAP_FACE_NEGATIVE_Z = 5
    -00381 } rs_allocation_cubemap_face;
    -00382 
    -00389 typedef enum {
    -00390     RS_ALLOCATION_USAGE_SCRIPT = 0x0001,
    -00391     RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE = 0x0002,
    -00392     RS_ALLOCATION_USAGE_GRAPHICS_VERTEX = 0x0004,
    -00393     RS_ALLOCATION_USAGE_GRAPHICS_CONSTANTS = 0x0008,
    -00394     RS_ALLOCATION_USAGE_GRAPHICS_RENDER_TARGET = 0x0010
    -00395 } rs_allocation_usage_type;
    -00396 
    -00397 #endif //defined(RS_VERSION) && (RS_VERSION >= 14)
    -00398 
    -00399 #endif
    +00145 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_path;
    +00151 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_program_fragment;
    +00157 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_program_vertex;
    +00163 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_program_raster;
    +00169 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_program_store;
    +00175 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_font;
    +00176 
    +00182 typedef float float2 __attribute__((ext_vector_type(2)));
    +00187 typedef float float3 __attribute__((ext_vector_type(3)));
    +00193 typedef float float4 __attribute__((ext_vector_type(4)));
    +00194 
    +00199 typedef double double2 __attribute__((ext_vector_type(2)));
    +00204 typedef double double3 __attribute__((ext_vector_type(3)));
    +00209 typedef double double4 __attribute__((ext_vector_type(4)));
    +00210 
    +00215 typedef uchar uchar2 __attribute__((ext_vector_type(2)));
    +00220 typedef uchar uchar3 __attribute__((ext_vector_type(3)));
    +00225 typedef uchar uchar4 __attribute__((ext_vector_type(4)));
    +00226 
    +00231 typedef ushort ushort2 __attribute__((ext_vector_type(2)));
    +00236 typedef ushort ushort3 __attribute__((ext_vector_type(3)));
    +00241 typedef ushort ushort4 __attribute__((ext_vector_type(4)));
    +00242 
    +00247 typedef uint uint2 __attribute__((ext_vector_type(2)));
    +00252 typedef uint uint3 __attribute__((ext_vector_type(3)));
    +00257 typedef uint uint4 __attribute__((ext_vector_type(4)));
    +00258 
    +00263 typedef ulong ulong2 __attribute__((ext_vector_type(2)));
    +00268 typedef ulong ulong3 __attribute__((ext_vector_type(3)));
    +00273 typedef ulong ulong4 __attribute__((ext_vector_type(4)));
    +00274 
    +00279 typedef char char2 __attribute__((ext_vector_type(2)));
    +00284 typedef char char3 __attribute__((ext_vector_type(3)));
    +00289 typedef char char4 __attribute__((ext_vector_type(4)));
    +00290 
    +00295 typedef short short2 __attribute__((ext_vector_type(2)));
    +00300 typedef short short3 __attribute__((ext_vector_type(3)));
    +00305 typedef short short4 __attribute__((ext_vector_type(4)));
    +00306 
    +00311 typedef int int2 __attribute__((ext_vector_type(2)));
    +00316 typedef int int3 __attribute__((ext_vector_type(3)));
    +00321 typedef int int4 __attribute__((ext_vector_type(4)));
    +00322 
    +00327 typedef long long2 __attribute__((ext_vector_type(2)));
    +00332 typedef long long3 __attribute__((ext_vector_type(3)));
    +00337 typedef long long4 __attribute__((ext_vector_type(4)));
    +00338 
    +00345 typedef struct {
    +00346     float m[16];
    +00347 } rs_matrix4x4;
    +00354 typedef struct {
    +00355     float m[9];
    +00356 } rs_matrix3x3;
    +00363 typedef struct {
    +00364     float m[4];
    +00365 } rs_matrix2x2;
    +00366 
    +00370 typedef float4 rs_quaternion;
    +00371 
    +00372 #define RS_PACKED __attribute__((packed, aligned(4)))
    +00373 #define NULL ((void *)0)
    +00374 
    +00375 #if (defined(RS_VERSION) && (RS_VERSION >= 14))
    +00376 
    +00380 typedef enum {
    +00381     RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X = 0,
    +00382     RS_ALLOCATION_CUBEMAP_FACE_NEGATIVE_X = 1,
    +00383     RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_Y = 2,
    +00384     RS_ALLOCATION_CUBEMAP_FACE_NEGATIVE_Y = 3,
    +00385     RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_Z = 4,
    +00386     RS_ALLOCATION_CUBEMAP_FACE_NEGATIVE_Z = 5
    +00387 } rs_allocation_cubemap_face;
    +00388 
    +00395 typedef enum {
    +00396     RS_ALLOCATION_USAGE_SCRIPT = 0x0001,
    +00397     RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE = 0x0002,
    +00398     RS_ALLOCATION_USAGE_GRAPHICS_VERTEX = 0x0004,
    +00399     RS_ALLOCATION_USAGE_GRAPHICS_CONSTANTS = 0x0008,
    +00400     RS_ALLOCATION_USAGE_GRAPHICS_RENDER_TARGET = 0x0010
    +00401 } rs_allocation_usage_type;
    +00402 
    +00403 #endif //defined(RS_VERSION) && (RS_VERSION >= 14)
    +00404 
    +00405 // New API's
    +00406 #if (defined(RS_VERSION) && (RS_VERSION >= 16))
    +00407 
    +00412 typedef enum {
    +00416     RS_PRIMITIVE_POINT              = 0,
    +00420     RS_PRIMITIVE_LINE               = 1,
    +00424     RS_PRIMITIVE_LINE_STRIP         = 2,
    +00428     RS_PRIMITIVE_TRIANGLE           = 3,
    +00434     RS_PRIMITIVE_TRIANGLE_STRIP     = 4,
    +00439     RS_PRIMITIVE_TRIANGLE_FAN       = 5,
    +00440 
    +00444     RS_PRIMITIVE_INVALID            = 100,
    +00445 } rs_primitive;
    +00446 
    +00465 typedef enum {
    +00466     RS_TYPE_NONE             = 0,
    +00467     RS_TYPE_FLOAT_32         = 2,
    +00468     RS_TYPE_FLOAT_64         = 3,
    +00469     RS_TYPE_SIGNED_8         = 4,
    +00470     RS_TYPE_SIGNED_16        = 5,
    +00471     RS_TYPE_SIGNED_32        = 6,
    +00472     RS_TYPE_SIGNED_64        = 7,
    +00473     RS_TYPE_UNSIGNED_8       = 8,
    +00474     RS_TYPE_UNSIGNED_16      = 9,
    +00475     RS_TYPE_UNSIGNED_32      = 10,
    +00476     RS_TYPE_UNSIGNED_64      = 11,
    +00477 
    +00478     RS_TYPE_BOOLEAN          = 12,
    +00479 
    +00480     RS_TYPE_UNSIGNED_5_6_5   = 13,
    +00481     RS_TYPE_UNSIGNED_5_5_5_1 = 14,
    +00482     RS_TYPE_UNSIGNED_4_4_4_4 = 15,
    +00483 
    +00484     RS_TYPE_MATRIX_4X4       = 16,
    +00485     RS_TYPE_MATRIX_3X3       = 17,
    +00486     RS_TYPE_MATRIX_2X2       = 18,
    +00487 
    +00488     RS_TYPE_ELEMENT          = 1000,
    +00489     RS_TYPE_TYPE             = 1001,
    +00490     RS_TYPE_ALLOCATION       = 1002,
    +00491     RS_TYPE_SAMPLER          = 1003,
    +00492     RS_TYPE_SCRIPT           = 1004,
    +00493     RS_TYPE_MESH             = 1005,
    +00494     RS_TYPE_PROGRAM_FRAGMENT = 1006,
    +00495     RS_TYPE_PROGRAM_VERTEX   = 1007,
    +00496     RS_TYPE_PROGRAM_RASTER   = 1008,
    +00497     RS_TYPE_PROGRAM_STORE    = 1009,
    +00498     RS_TYPE_FONT             = 1010,
    +00499 
    +00500     RS_TYPE_INVALID          = 10000,
    +00501 } rs_data_type;
    +00502 
    +00511 typedef enum {
    +00512     RS_KIND_USER         = 0,
    +00513 
    +00514     RS_KIND_PIXEL_L      = 7,
    +00515     RS_KIND_PIXEL_A      = 8,
    +00516     RS_KIND_PIXEL_LA     = 9,
    +00517     RS_KIND_PIXEL_RGB    = 10,
    +00518     RS_KIND_PIXEL_RGBA   = 11,
    +00519     RS_KIND_PIXEL_DEPTH  = 12,
    +00520 
    +00521     RS_KIND_INVALID      = 100,
    +00522 } rs_data_kind;
    +00523 
    +00524 typedef enum {
    +00528     RS_DEPTH_FUNC_ALWAYS        = 0,
    +00533     RS_DEPTH_FUNC_LESS          = 1,
    +00538     RS_DEPTH_FUNC_LEQUAL        = 2,
    +00543     RS_DEPTH_FUNC_GREATER       = 3,
    +00548     RS_DEPTH_FUNC_GEQUAL        = 4,
    +00553     RS_DEPTH_FUNC_EQUAL         = 5,
    +00558     RS_DEPTH_FUNC_NOTEQUAL      = 6,
    +00562     RS_DEPTH_FUNC_INVALID       = 100,
    +00563 } rs_depth_func;
    +00564 
    +00565 typedef enum {
    +00566     RS_BLEND_SRC_ZERO                   = 0,
    +00567     RS_BLEND_SRC_ONE                    = 1,
    +00568     RS_BLEND_SRC_DST_COLOR              = 2,
    +00569     RS_BLEND_SRC_ONE_MINUS_DST_COLOR    = 3,
    +00570     RS_BLEND_SRC_SRC_ALPHA              = 4,
    +00571     RS_BLEND_SRC_ONE_MINUS_SRC_ALPHA    = 5,
    +00572     RS_BLEND_SRC_DST_ALPHA              = 6,
    +00573     RS_BLEND_SRC_ONE_MINUS_DST_ALPHA    = 7,
    +00574     RS_BLEND_SRC_SRC_ALPHA_SATURATE     = 8,
    +00575 
    +00576     RS_BLEND_SRC_INVALID                = 100,
    +00577 } rs_blend_src_func;
    +00578 
    +00579 typedef enum {
    +00580     RS_BLEND_DST_ZERO                   = 0,
    +00581     RS_BLEND_DST_ONE                    = 1,
    +00582     RS_BLEND_DST_SRC_COLOR              = 2,
    +00583     RS_BLEND_DST_ONE_MINUS_SRC_COLOR    = 3,
    +00584     RS_BLEND_DST_SRC_ALPHA              = 4,
    +00585     RS_BLEND_DST_ONE_MINUS_SRC_ALPHA    = 5,
    +00586     RS_BLEND_DST_DST_ALPHA              = 6,
    +00587     RS_BLEND_DST_ONE_MINUS_DST_ALPHA    = 7,
    +00588 
    +00589     RS_BLEND_DST_INVALID                = 100,
    +00590 } rs_blend_dst_func;
    +00591 
    +00592 typedef enum {
    +00593     RS_CULL_BACK     = 0,
    +00594     RS_CULL_FRONT    = 1,
    +00595     RS_CULL_NONE     = 2,
    +00596 
    +00597     RS_CULL_INVALID  = 100,
    +00598 } rs_cull_mode;
    +00599 
    +00600 typedef enum {
    +00601     RS_SAMPLER_NEAREST              = 0,
    +00602     RS_SAMPLER_LINEAR               = 1,
    +00603     RS_SAMPLER_LINEAR_MIP_LINEAR    = 2,
    +00604     RS_SAMPLER_WRAP                 = 3,
    +00605     RS_SAMPLER_CLAMP                = 4,
    +00606     RS_SAMPLER_LINEAR_MIP_NEAREST   = 5,
    +00607 
    +00608     RS_SAMPLER_INVALID              = 100,
    +00609 } rs_sampler_value;
    +00610 
    +00611 #endif // (defined(RS_VERSION) && (RS_VERSION >= 16))
    +00612 
    +00613 #endif // __RS_TYPES_RSH__
     
    diff --git a/docs/html/reference/renderscript/structrs__allocation.html b/docs/html/reference/renderscript/structrs__allocation.html index b166fdd..ba6d973 100644 --- a/docs/html/reference/renderscript/structrs__allocation.html +++ b/docs/html/reference/renderscript/structrs__allocation.html @@ -37,7 +37,7 @@

    Definition at line 121 of file rs_types.rsh.


    The documentation for this struct was generated from the following file: diff --git a/docs/html/reference/renderscript/structrs__element.html b/docs/html/reference/renderscript/structrs__element.html index 79cd090..e380378 100644 --- a/docs/html/reference/renderscript/structrs__element.html +++ b/docs/html/reference/renderscript/structrs__element.html @@ -37,7 +37,7 @@

    Definition at line 109 of file rs_types.rsh.


    The documentation for this struct was generated from the following file: diff --git a/docs/html/reference/renderscript/structrs__font.html b/docs/html/reference/renderscript/structrs__font.html index 83eb649..4d5cd9e 100644 --- a/docs/html/reference/renderscript/structrs__font.html +++ b/docs/html/reference/renderscript/structrs__font.html @@ -35,9 +35,9 @@

    Opaque handle to a Renderscript font object.

    See: android.renderscript.Font

    -

    Definition at line 169 of file rs_types.rsh.

    +

    Definition at line 175 of file rs_types.rsh.


    The documentation for this struct was generated from the following file: diff --git a/docs/html/reference/renderscript/structrs__matrix2x2.html b/docs/html/reference/renderscript/structrs__matrix2x2.html index 8789066..5d08900 100644 --- a/docs/html/reference/renderscript/structrs__matrix2x2.html +++ b/docs/html/reference/renderscript/structrs__matrix2x2.html @@ -35,9 +35,9 @@

    2x2 float matrix

    Native holder for RS matrix. Elements are stored in the array at the location [row*2 + col]

    -

    Definition at line 357 of file rs_types.rsh.

    +

    Definition at line 363 of file rs_types.rsh.


    The documentation for this struct was generated from the following file: diff --git a/docs/html/reference/renderscript/structrs__matrix3x3.html b/docs/html/reference/renderscript/structrs__matrix3x3.html index 2b036df..f63ffe8 100644 --- a/docs/html/reference/renderscript/structrs__matrix3x3.html +++ b/docs/html/reference/renderscript/structrs__matrix3x3.html @@ -35,9 +35,9 @@

    3x3 float matrix

    Native holder for RS matrix. Elements are stored in the array at the location [row*3 + col]

    -

    Definition at line 348 of file rs_types.rsh.

    +

    Definition at line 354 of file rs_types.rsh.


    The documentation for this struct was generated from the following file: diff --git a/docs/html/reference/renderscript/structrs__matrix4x4.html b/docs/html/reference/renderscript/structrs__matrix4x4.html index c696108..1a10edf 100644 --- a/docs/html/reference/renderscript/structrs__matrix4x4.html +++ b/docs/html/reference/renderscript/structrs__matrix4x4.html @@ -35,9 +35,9 @@

    4x4 float matrix

    Native holder for RS matrix. Elements are stored in the array at the location [row*4 + col]

    -

    Definition at line 339 of file rs_types.rsh.

    +

    Definition at line 345 of file rs_types.rsh.


    The documentation for this struct was generated from the following file: diff --git a/docs/html/reference/renderscript/structrs__mesh.html b/docs/html/reference/renderscript/structrs__mesh.html index 6f58a54..2a49a6a 100644 --- a/docs/html/reference/renderscript/structrs__mesh.html +++ b/docs/html/reference/renderscript/structrs__mesh.html @@ -37,7 +37,7 @@

    Definition at line 139 of file rs_types.rsh.


    The documentation for this struct was generated from the following file: diff --git a/docs/html/reference/renderscript/structrs__path.html b/docs/html/reference/renderscript/structrs__path.html new file mode 100644 index 0000000..2ec823d --- /dev/null +++ b/docs/html/reference/renderscript/structrs__path.html @@ -0,0 +1,45 @@ + + + + + +rs_path Struct Reference + + + + + + + +
    + + + + +
    +
    +
    +
    rs_path Struct Reference
    +
    +
    + +

    Opaque handle to a Renderscript Path object. + More...

    +

    Detailed Description

    +

    Opaque handle to a Renderscript Path object.

    +

    See: android.renderscript.Path

    + +

    Definition at line 145 of file rs_types.rsh.

    +

    The documentation for this struct was generated from the following file: +
    + + + diff --git a/docs/html/reference/renderscript/structrs__program__fragment.html b/docs/html/reference/renderscript/structrs__program__fragment.html index ed8eae7..8c9a241 100644 --- a/docs/html/reference/renderscript/structrs__program__fragment.html +++ b/docs/html/reference/renderscript/structrs__program__fragment.html @@ -35,9 +35,9 @@

    Opaque handle to a Renderscript ProgramFragment object.

    See: android.renderscript.ProgramFragment

    -

    Definition at line 145 of file rs_types.rsh.

    +

    Definition at line 151 of file rs_types.rsh.


    The documentation for this struct was generated from the following file: diff --git a/docs/html/reference/renderscript/structrs__program__raster.html b/docs/html/reference/renderscript/structrs__program__raster.html index a914854..201825b 100644 --- a/docs/html/reference/renderscript/structrs__program__raster.html +++ b/docs/html/reference/renderscript/structrs__program__raster.html @@ -35,9 +35,9 @@

    Opaque handle to a Renderscript ProgramRaster object.

    See: android.renderscript.ProgramRaster

    -

    Definition at line 157 of file rs_types.rsh.

    +

    Definition at line 163 of file rs_types.rsh.


    The documentation for this struct was generated from the following file: diff --git a/docs/html/reference/renderscript/structrs__program__store.html b/docs/html/reference/renderscript/structrs__program__store.html index 6ecfece..800d29b 100644 --- a/docs/html/reference/renderscript/structrs__program__store.html +++ b/docs/html/reference/renderscript/structrs__program__store.html @@ -35,9 +35,9 @@

    Opaque handle to a Renderscript ProgramStore object.

    See: android.renderscript.ProgramStore

    -

    Definition at line 163 of file rs_types.rsh.

    +

    Definition at line 169 of file rs_types.rsh.


    The documentation for this struct was generated from the following file: diff --git a/docs/html/reference/renderscript/structrs__program__vertex.html b/docs/html/reference/renderscript/structrs__program__vertex.html index 2b145a3..9f425fe 100644 --- a/docs/html/reference/renderscript/structrs__program__vertex.html +++ b/docs/html/reference/renderscript/structrs__program__vertex.html @@ -35,9 +35,9 @@

    Opaque handle to a Renderscript ProgramVertex object.

    See: android.renderscript.ProgramVertex

    -

    Definition at line 151 of file rs_types.rsh.

    +

    Definition at line 157 of file rs_types.rsh.


    The documentation for this struct was generated from the following file: diff --git a/docs/html/reference/renderscript/structrs__sampler.html b/docs/html/reference/renderscript/structrs__sampler.html index 58ea0de..9f48abc 100644 --- a/docs/html/reference/renderscript/structrs__sampler.html +++ b/docs/html/reference/renderscript/structrs__sampler.html @@ -37,7 +37,7 @@

    Definition at line 127 of file rs_types.rsh.


    The documentation for this struct was generated from the following file: diff --git a/docs/html/reference/renderscript/structrs__script.html b/docs/html/reference/renderscript/structrs__script.html index 0946635..8294378 100644 --- a/docs/html/reference/renderscript/structrs__script.html +++ b/docs/html/reference/renderscript/structrs__script.html @@ -37,7 +37,7 @@

    Definition at line 133 of file rs_types.rsh.


    The documentation for this struct was generated from the following file: diff --git a/docs/html/reference/renderscript/structrs__script__call.html b/docs/html/reference/renderscript/structrs__script__call.html index 9ba0681..83432e5 100644 --- a/docs/html/reference/renderscript/structrs__script__call.html +++ b/docs/html/reference/renderscript/structrs__script__call.html @@ -31,9 +31,9 @@

    Detailed Description

    Structure to provide extra information to a rsForEach call. Primarly used to restrict the call to a subset of cells in the allocation.

    -

    Definition at line 88 of file rs_core.rsh.

    +

    Definition at line 106 of file rs_core.rsh.


    The documentation for this struct was generated from the following file: diff --git a/docs/html/reference/renderscript/structrs__tm.html b/docs/html/reference/renderscript/structrs__tm.html index 80f8fe9..8148dcb 100644 --- a/docs/html/reference/renderscript/structrs__tm.html +++ b/docs/html/reference/renderscript/structrs__tm.html @@ -67,7 +67,7 @@ int 
     Opaque handle to a Renderscript script object. More...
    struct  rs_mesh
     Opaque handle to a Renderscript mesh object. More...
    struct  rs_path
     Opaque handle to a Renderscript Path object. More...
    struct  rs_program_fragment
     Opaque handle to a Renderscript ProgramFragment object. More...
    struct  rs_program_vertex
    49 of file rs_time.rsh.


    The documentation for this struct was generated from the following file: diff --git a/docs/html/reference/renderscript/structrs__type.html b/docs/html/reference/renderscript/structrs__type.html index f8eec3e..7d97fb9 100644 --- a/docs/html/reference/renderscript/structrs__type.html +++ b/docs/html/reference/renderscript/structrs__type.html @@ -37,7 +37,7 @@

    Definition at line 115 of file rs_types.rsh.


    The documentation for this struct was generated from the following file: -- cgit v1.1