1 page.title=RenderScript Debugging Functions 2 3 @jd:body 4 5 <div class='renderscript'> 6 <h2>Overview</h2> 7 <p> The functions below are intended to be used during application developement. 8 They should not be used in shipping applications. 9 </p> 10 <h2>Summary</h2> 11 <table class='jd-sumtable'><tbody> 12 <tr><th colspan='2'>Functions</th></tr> 13 <tr class='alt-color api apilevel-1'> 14 <td class='jd-linkcol'> 15 <a href='rs_debug.html#android_rs:rsDebug'>rsDebug</a> 16 </td> 17 <td class='jd-descrcol' width='100%'> 18 Log a message and values 19 </td> 20 </tr> 21 </tbody></table> 22 <h2>Functions</h2> 23 <a name='android_rs:rsDebug'></a> 24 <div class='jd-details'> 25 <h4 class='jd-details-title'> 26 <span class='sympad'>rsDebug</span> 27 <span class='normal'>: Log a message and values</span> 28 </h4> 29 <div class='jd-details-descr'> 30 <table class='jd-tagtable'><tbody> 31 <tr> 32 <td>void rsDebug(const char* message, char a); 33 </td> 34 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 35 </td> 36 </tr> 37 <tr> 38 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:char2'>char2</a> a); 39 </td> 40 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 41 </td> 42 </tr> 43 <tr> 44 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:char3'>char3</a> a); 45 </td> 46 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 47 </td> 48 </tr> 49 <tr> 50 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:char4'>char4</a> a); 51 </td> 52 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 53 </td> 54 </tr> 55 <tr> 56 <td>void rsDebug(const char* message, const <a href='rs_value_types.html#android_rs:rs_matrix2x2'>rs_matrix2x2</a>* a); 57 </td> 58 <td> </td> 59 </tr> 60 <tr> 61 <td>void rsDebug(const char* message, const <a href='rs_value_types.html#android_rs:rs_matrix3x3'>rs_matrix3x3</a>* a); 62 </td> 63 <td> </td> 64 </tr> 65 <tr> 66 <td>void rsDebug(const char* message, const <a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* a); 67 </td> 68 <td> </td> 69 </tr> 70 <tr> 71 <td>void rsDebug(const char* message, const void* a); 72 </td> 73 <td> </td> 74 </tr> 75 <tr> 76 <td>void rsDebug(const char* message, double a); 77 </td> 78 <td> </td> 79 </tr> 80 <tr> 81 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:double2'>double2</a> a); 82 </td> 83 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a> 84 </td> 85 </tr> 86 <tr> 87 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:double3'>double3</a> a); 88 </td> 89 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a> 90 </td> 91 </tr> 92 <tr> 93 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:double4'>double4</a> a); 94 </td> 95 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 23</a> 96 </td> 97 </tr> 98 <tr> 99 <td>void rsDebug(const char* message, float a); 100 </td> 101 <td> </td> 102 </tr> 103 <tr> 104 <td>void rsDebug(const char* message, float a, float b); 105 </td> 106 <td> </td> 107 </tr> 108 <tr> 109 <td>void rsDebug(const char* message, float a, float b, float c); 110 </td> 111 <td> </td> 112 </tr> 113 <tr> 114 <td>void rsDebug(const char* message, float a, float b, float c, float d); 115 </td> 116 <td> </td> 117 </tr> 118 <tr> 119 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:float2'>float2</a> a); 120 </td> 121 <td> </td> 122 </tr> 123 <tr> 124 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:float3'>float3</a> a); 125 </td> 126 <td> </td> 127 </tr> 128 <tr> 129 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:float4'>float4</a> a); 130 </td> 131 <td> </td> 132 </tr> 133 <tr> 134 <td>void rsDebug(const char* message, int a); 135 </td> 136 <td> </td> 137 </tr> 138 <tr> 139 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:int2'>int2</a> a); 140 </td> 141 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 142 </td> 143 </tr> 144 <tr> 145 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:int3'>int3</a> a); 146 </td> 147 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 148 </td> 149 </tr> 150 <tr> 151 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:int4'>int4</a> a); 152 </td> 153 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 154 </td> 155 </tr> 156 <tr> 157 <td>void rsDebug(const char* message, long a); 158 </td> 159 <td> </td> 160 </tr> 161 <tr> 162 <td>void rsDebug(const char* message, long long a); 163 </td> 164 <td> </td> 165 </tr> 166 <tr> 167 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:long2'>long2</a> a); 168 </td> 169 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 170 </td> 171 </tr> 172 <tr> 173 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:long3'>long3</a> a); 174 </td> 175 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 176 </td> 177 </tr> 178 <tr> 179 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:long4'>long4</a> a); 180 </td> 181 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 182 </td> 183 </tr> 184 <tr> 185 <td>void rsDebug(const char* message, short a); 186 </td> 187 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 188 </td> 189 </tr> 190 <tr> 191 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:short2'>short2</a> a); 192 </td> 193 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 194 </td> 195 </tr> 196 <tr> 197 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:short3'>short3</a> a); 198 </td> 199 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 200 </td> 201 </tr> 202 <tr> 203 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:short4'>short4</a> a); 204 </td> 205 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 206 </td> 207 </tr> 208 <tr> 209 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:uchar'>uchar</a> a); 210 </td> 211 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 212 </td> 213 </tr> 214 <tr> 215 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:uchar2'>uchar2</a> a); 216 </td> 217 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 218 </td> 219 </tr> 220 <tr> 221 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:uchar3'>uchar3</a> a); 222 </td> 223 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 224 </td> 225 </tr> 226 <tr> 227 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:uchar4'>uchar4</a> a); 228 </td> 229 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 230 </td> 231 </tr> 232 <tr> 233 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:uint'>uint</a> a); 234 </td> 235 <td> </td> 236 </tr> 237 <tr> 238 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:uint2'>uint2</a> a); 239 </td> 240 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 241 </td> 242 </tr> 243 <tr> 244 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:uint3'>uint3</a> a); 245 </td> 246 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 247 </td> 248 </tr> 249 <tr> 250 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:uint4'>uint4</a> a); 251 </td> 252 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 253 </td> 254 </tr> 255 <tr> 256 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:ulong'>ulong</a> a); 257 </td> 258 <td> </td> 259 </tr> 260 <tr> 261 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:ulong2'>ulong2</a> a); 262 </td> 263 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 264 </td> 265 </tr> 266 <tr> 267 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:ulong3'>ulong3</a> a); 268 </td> 269 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 270 </td> 271 </tr> 272 <tr> 273 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:ulong4'>ulong4</a> a); 274 </td> 275 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 276 </td> 277 </tr> 278 <tr> 279 <td>void rsDebug(const char* message, unsigned long long a); 280 </td> 281 <td> </td> 282 </tr> 283 <tr> 284 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:ushort'>ushort</a> a); 285 </td> 286 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 287 </td> 288 </tr> 289 <tr> 290 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:ushort2'>ushort2</a> a); 291 </td> 292 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 293 </td> 294 </tr> 295 <tr> 296 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:ushort3'>ushort3</a> a); 297 </td> 298 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 299 </td> 300 </tr> 301 <tr> 302 <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:ushort4'>ushort4</a> a); 303 </td> 304 <td> Added in <a href='http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels'>API level 17</a> 305 </td> 306 </tr> 307 </tbody></table> 308 </div> 309 <div class='jd-tagdata jd-tagdescr'> 310 <p> This function prints a message to the standard log, followed by the provided values. 311 </p> 312 313 <p> This function is intended for debugging only and should not be used in shipping 314 applications. 315 </p> 316 </div> 317 </div> 318 319 </div> 320