rs_debug.rsh
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2011 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 
00026 #ifndef __RS_DEBUG_RSH__
00027 #define __RS_DEBUG_RSH__
00028 
00029 
00030 
00034 extern void __attribute__((overloadable))
00035     rsDebug(const char *, float);
00039 extern void __attribute__((overloadable))
00040     rsDebug(const char *, float, float);
00044 extern void __attribute__((overloadable))
00045     rsDebug(const char *, float, float, float);
00049 extern void __attribute__((overloadable))
00050     rsDebug(const char *, float, float, float, float);
00054 extern void __attribute__((overloadable))
00055     rsDebug(const char *, double);
00059 extern void __attribute__((overloadable))
00060     rsDebug(const char *, const rs_matrix4x4 *);
00064 extern void __attribute__((overloadable))
00065     rsDebug(const char *, const rs_matrix3x3 *);
00069 extern void __attribute__((overloadable))
00070     rsDebug(const char *, const rs_matrix2x2 *);
00074 extern void __attribute__((overloadable))
00075     rsDebug(const char *, int);
00079 extern void __attribute__((overloadable))
00080     rsDebug(const char *, uint);
00084 extern void __attribute__((overloadable))
00085     rsDebug(const char *, long);
00089 extern void __attribute__((overloadable))
00090     rsDebug(const char *, unsigned long);
00094 extern void __attribute__((overloadable))
00095     rsDebug(const char *, long long);
00099 extern void __attribute__((overloadable))
00100     rsDebug(const char *, unsigned long long);
00104 extern void __attribute__((overloadable))
00105     rsDebug(const char *, const void *);
00106 #define RS_DEBUG(a) rsDebug(#a, a)
00107 #define RS_DEBUG_MARKER rsDebug(__FILE__, __LINE__)
00108 
00109 
00113 _RS_RUNTIME void __attribute__((overloadable)) rsDebug(const char *s, float2 v);
00117 _RS_RUNTIME void __attribute__((overloadable)) rsDebug(const char *s, float3 v);
00121 _RS_RUNTIME void __attribute__((overloadable)) rsDebug(const char *s, float4 v);
00122 
00123 #endif
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.