Lines Matching refs:arg
69 static const char* GLbooleanToString(GLboolean arg) { in GLbooleanToString() argument
70 return arg ? "GL_TRUE" : "GL_FALSE"; in GLbooleanToString()
245 const void* arg = va_arg(argp, const void*); in TraceGL() local
246 builder.append("(%s) 0x%08x", type, (size_t) arg); in TraceGL()
248 size_t arg = va_arg(argp, size_t); in TraceGL() local
252 if (b->e & arg) { in TraceGL()
259 arg &= ~b->e; in TraceGL()
262 if (first || arg != 0) { in TraceGL()
266 builder.append("0x%08x", arg); in TraceGL()
269 GLboolean arg = va_arg(argp, int); in TraceGL() local
270 builder.append("%s", GLbooleanToString(arg)); in TraceGL()
272 double arg = va_arg(argp, double); in TraceGL() local
273 builder.append("%g", arg); in TraceGL()
275 GLenum arg = va_arg(argp, int); in TraceGL() local
276 const char* s = GLEnumToString(arg); in TraceGL()
280 builder.append("0x%x", arg); in TraceGL()
283 int arg = va_arg(argp, int); in TraceGL() local
284 builder.append("0x%08x", arg); in TraceGL()
286 double arg = va_arg(argp, double); in TraceGL() local
287 builder.append("%g", arg); in TraceGL()
289 int arg = va_arg(argp, int); in TraceGL() local
292 s = GLEnumToString(arg); in TraceGL()
297 builder.append("%d", arg); in TraceGL()
300 int arg = va_arg(argp, unsigned int); in TraceGL() local
301 builder.append("%u", arg); in TraceGL()
303 int arg = va_arg(argp, size_t); in TraceGL() local
304 builder.append("%u", arg); in TraceGL()
306 int arg = va_arg(argp, size_t); in TraceGL() local
307 builder.append("%u", arg); in TraceGL()
309 int arg = va_arg(argp, unsigned int); in TraceGL() local
310 builder.append("%u", arg); in TraceGL()