blob: 052ca87f2df30b59eec75d0f16f16e5cf48629eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
/*
* PARSEC HEADER: r_glob.h
*/
#ifndef _R_GLOB_H_
#define _R_GLOB_H_
// ----------------------------------------------------------------------------
// RENDERING SUBSYSTEM (R) related global declarations and definitions -
// ----------------------------------------------------------------------------
// rasterization performance statistics
struct rastperfstats_s {
dword fieldstate;
dword fragments;
dword pixels;
dword faildepth;
dword failalpha;
dword failchroma;
};
#define RASTPERF_NONE 0x0000
#define RASTPERF_FRAGMENTS 0x0001
#define RASTPERF_PIXELS 0x0002
#define RASTPERF_FAILDEPTH 0x0004
#define RASTPERF_FAILALPHA 0x0008
#define RASTPERF_FAILCHROMA 0x0010
// geometry performance statistics
struct geomperfstats_s {
dword fieldstate;
dword vertices_in;
dword vertices_out;
dword polygons_in;
dword polygons_out;
dword triangles_in;
dword triangles_out;
dword edges;
dword spans_in;
dword spans_out;
};
#define GEOMPERF_NONE 0x0000
#define GEOMPERF_VERTICES_IN 0x0001
#define GEOMPERF_VERTICES_OUT 0x0002
#define GEOMPERF_POLYGONS_IN 0x0004
#define GEOMPERF_POLYGONS_OUT 0x0008
#define GEOMPERF_TRIANGLES_IN 0x0010
#define GEOMPERF_TRIANGLES_OUT 0x0020
#define GEOMPERF_EDGES 0x0040
#define GEOMPERF_SPANS_IN 0x0080
#define GEOMPERF_SPANS_OUT 0x0100
// make definition of pcluster pointers possible
struct pcluster_s;
#endif // _R_GLOB_H_
|