1#
2# Copyright (C) 2015 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#      http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17header:
18summary: Debugging Functions
19description:
20 The functions below are intended to be used during application developement.
21 They should not be used in shipping applications.
22include:
23 #define RS_DEBUG(a) rsDebug(#a, a)
24 #define RS_DEBUG_MARKER rsDebug(__FILE__, __LINE__)
25end:
26
27function: rsDebug
28t: i32, u32, i64, u64, f64
29ret: void
30arg: const char* message
31arg: #1 a
32summary: Log a message and values
33description:
34 This function prints a message to the standard log, followed by the provided values.
35
36 This function is intended for debugging only and should not be used in shipping
37 applications.
38test: none
39end:
40
41function: rsDebug
42version: 17
43w: 2, 3, 4
44t: i32, u32, i64, u64
45ret: void
46arg: const char* message
47arg: #2#1 a
48test: none
49end:
50
51function: rsDebug
52version: 23
53w: 2, 3, 4
54t: f64
55ret: void
56arg: const char* message
57arg: #2#1 a
58test: none
59end:
60
61function: rsDebug
62w: 1, 2, 3, 4
63ret: void
64arg: const char* message
65arg: float#1 a
66test: none
67end:
68
69function: rsDebug
70version: 24
71w: 1, 2, 3, 4
72ret: void
73arg: const char* message
74arg: half#1 a
75test: none
76end:
77
78function: rsDebug
79version: 17
80w: 1, 2, 3, 4
81t: i8, u8, i16, u16
82ret: void
83arg: const char* message
84arg: #2#1 a
85test: none
86end:
87
88function: rsDebug
89ret: void
90arg: const char* message
91arg: float a
92arg: float b
93test: none
94end:
95
96function: rsDebug
97ret: void
98arg: const char* message
99arg: float a
100arg: float b
101arg: float c
102test: none
103end:
104
105function: rsDebug
106ret: void
107arg: const char* message
108arg: float a
109arg: float b
110arg: float c
111arg: float d
112test: none
113end:
114
115function: rsDebug
116ret: void
117arg: const char* message
118arg: long long a
119test: none
120end:
121
122function: rsDebug
123ret: void
124arg: const char* message
125arg: unsigned long long a
126test: none
127end:
128
129function: rsDebug
130ret: void
131arg: const char* message
132arg: const void* a
133test: none
134end:
135
136function: rsDebug
137ret: void
138arg: const char* message
139arg: const rs_matrix4x4* a
140test: none
141end:
142
143function: rsDebug
144ret: void
145arg: const char* message
146arg: const rs_matrix3x3* a
147test: none
148end:
149
150function: rsDebug
151ret: void
152arg: const char* message
153arg: const rs_matrix2x2* a
154test: none
155end:
156
157#define RS_DEBUG(a) rsDebug(#a, a)
158#define RS_DEBUG_MARKER rsDebug(__FILE__, __LINE__)
159