~mmach/netext73/mesa-haswell

« back to all changes in this revision

Viewing changes to src/gallium/frontends/nine/nine_dump.h

  • Committer: mmach
  • Date: 2022-09-22 19:56:13 UTC
  • Revision ID: netbit73@gmail.com-20220922195613-wtik9mmy20tmor0i
2022-09-22 21:17:09

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
#ifndef _NINE_DUMP_H_
3
 
#define _NINE_DUMP_H_
4
 
 
5
 
#include "d3d9types.h"
6
 
#include "d3d9caps.h"
7
 
 
8
 
const char *nine_D3DDEVTYPE_to_str(D3DDEVTYPE);
9
 
const char *nine_D3DQUERYTYPE_to_str(D3DQUERYTYPE);
10
 
const char *nine_D3DTSS_to_str(D3DTEXTURESTAGESTATETYPE);
11
 
const char *nine_D3DTOP_to_str(D3DTEXTUREOP);
12
 
const char *nine_D3DPOOL_to_str(D3DPOOL);
13
 
const char *nine_D3DRTYPE_to_str(D3DRESOURCETYPE);
14
 
const char *nine_D3DUSAGE_to_str(DWORD);
15
 
const char *nine_D3DPRESENTFLAG_to_str(DWORD);
16
 
const char *nine_D3DLOCK_to_str(DWORD);
17
 
const char *nine_D3DSAMP_to_str(DWORD);
18
 
 
19
 
#if defined(DEBUG) || !defined(NDEBUG)
20
 
 
21
 
void
22
 
nine_dump_D3DADAPTER_IDENTIFIER9(unsigned, const D3DADAPTER_IDENTIFIER9 *);
23
 
void
24
 
nine_dump_D3DCAPS9(unsigned, const D3DCAPS9 *);
25
 
void
26
 
nine_dump_D3DLIGHT9(unsigned, const D3DLIGHT9 *);
27
 
void
28
 
nine_dump_D3DMATERIAL9(unsigned, const D3DMATERIAL9 *);
29
 
void
30
 
nine_dump_D3DTSS_value(unsigned, D3DTEXTURESTAGESTATETYPE, DWORD);
31
 
 
32
 
#else /* !DEBUG && NDEBUG */
33
 
 
34
 
static inline void
35
 
nine_dump_D3DADAPTER_IDENTIFIER9(unsigned ch, const D3DADAPTER_IDENTIFIER9 *id)
36
 
{ }
37
 
static inline void
38
 
nine_dump_D3DCAPS9(unsigned ch, const D3DCAPS9 *caps)
39
 
{ }
40
 
static inline void
41
 
nine_dump_D3DLIGHT9(unsigned ch, const D3DLIGHT9 *light)
42
 
{ }
43
 
static inline void
44
 
nine_dump_D3DMATERIAL9(unsigned ch, const D3DMATERIAL9 *mat)
45
 
{ }
46
 
static inline void
47
 
nine_dump_D3DTSS_value(unsigned ch, D3DTEXTURESTAGESTATETYPE tss, DWORD value)
48
 
{ }
49
 
 
50
 
#endif /* DEBUG || !NDEBUG */
51
 
 
52
 
#endif /* _NINE_DUMP_H_H_ */