Dummy HMD device.
More...
#include <math.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "math/m_api.h"
#include "xrt/xrt_device.h"
#include "util/u_var.h"
#include "util/u_misc.h"
#include "util/u_debug.h"
#include "util/u_device.h"
#include "util/u_time.h"
#include "util/u_distortion_mesh.h"
|
#define | DH_SPEW(dh, ...) |
|
#define | DH_DEBUG(dh, ...) |
|
#define | DH_ERROR(dh, ...) |
|
◆ DH_DEBUG
#define DH_DEBUG |
( |
|
dh, |
|
|
|
... |
|
) |
| |
Value:do { \
if (dh->print_debug) { \
fprintf(stderr, "%s - ", __func__); \
fprintf(stderr, __VA_ARGS__); \
fprintf(stderr, "\n"); \
} \
} while (false)
◆ DH_ERROR
#define DH_ERROR |
( |
|
dh, |
|
|
|
... |
|
) |
| |
Value:do { \
fprintf(stderr, "%s - ", __func__); \
fprintf(stderr, __VA_ARGS__); \
fprintf(stderr, "\n"); \
} while (false)
◆ DH_SPEW
#define DH_SPEW |
( |
|
dh, |
|
|
|
... |
|
) |
| |
Value:do { \
if (dh->print_spew) { \
fprintf(stderr, "%s - ", __func__); \
fprintf(stderr, __VA_ARGS__); \
fprintf(stderr, "\n"); \
} \
} while (false)