blob: b6a6fb2a959a40abbee2c300c3afb0ce76d9f636 [file] [log] [blame]
/*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Don't edit this file! It is auto-generated by frameworks/rs/api/gen_runtime.
/*
* rs_debug.rsh: Utility debugging routines
*
* Routines intended to be used during application developement. These should
* not be used in shipping applications. All print a string and value pair to
* the standard log.
*/
#ifndef RENDERSCRIPT_RS_DEBUG_RSH
#define RENDERSCRIPT_RS_DEBUG_RSH
#define RS_DEBUG(a) rsDebug(#a, a)
#define RS_DEBUG_MARKER rsDebug(__FILE__, __LINE__)
/*
* Debug function. Prints a string and value to the log.
*/
extern void __attribute__((overloadable))
rsDebug(const char* message, double a);
extern void __attribute__((overloadable))
rsDebug(const char* message, int a);
extern void __attribute__((overloadable))
rsDebug(const char* message, uint a);
extern void __attribute__((overloadable))
rsDebug(const char* message, long a);
extern void __attribute__((overloadable))
rsDebug(const char* message, ulong a);
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, int2 a);
#endif
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, int3 a);
#endif
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, int4 a);
#endif
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, uint2 a);
#endif
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, uint3 a);
#endif
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, uint4 a);
#endif
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, long2 a);
#endif
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, long3 a);
#endif
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, long4 a);
#endif
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, ulong2 a);
#endif
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, ulong3 a);
#endif
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, ulong4 a);
#endif
extern void __attribute__((overloadable))
rsDebug(const char* message, float a);
extern void __attribute__((overloadable))
rsDebug(const char* message, float2 a);
extern void __attribute__((overloadable))
rsDebug(const char* message, float3 a);
extern void __attribute__((overloadable))
rsDebug(const char* message, float4 a);
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, char a);
#endif
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, char2 a);
#endif
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, char3 a);
#endif
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, char4 a);
#endif
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, uchar a);
#endif
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, uchar2 a);
#endif
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, uchar3 a);
#endif
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, uchar4 a);
#endif
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, short a);
#endif
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, short2 a);
#endif
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, short3 a);
#endif
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, short4 a);
#endif
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, ushort a);
#endif
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, ushort2 a);
#endif
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, ushort3 a);
#endif
#if (defined(RS_VERSION) && (RS_VERSION >= 17))
extern void __attribute__((overloadable))
rsDebug(const char* message, ushort4 a);
#endif
extern void __attribute__((overloadable))
rsDebug(const char* message, float a, float b);
extern void __attribute__((overloadable))
rsDebug(const char* message, float a, float b, float c);
extern void __attribute__((overloadable))
rsDebug(const char* message, float a, float b, float c, float d);
extern void __attribute__((overloadable))
rsDebug(const char* message, long long a);
extern void __attribute__((overloadable))
rsDebug(const char* message, unsigned long long a);
extern void __attribute__((overloadable))
rsDebug(const char* message, const void* a);
extern void __attribute__((overloadable))
rsDebug(const char* message, const rs_matrix4x4* a);
extern void __attribute__((overloadable))
rsDebug(const char* message, const rs_matrix3x3* a);
extern void __attribute__((overloadable))
rsDebug(const char* message, const rs_matrix2x2* a);
#endif // RENDERSCRIPT_RS_DEBUG_RSH