comparison tools/libgfx.h @ 2469:637a310e3f27

Adjust DM_FMT_* flag values slightly.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 17 Apr 2020 16:31:06 +0300
parents a11ef670bd99
children c6ee41fd98dd
comparison
equal deleted inserted replaced
2468:16c57206cef7 2469:637a310e3f27
70 DM_PROBE_SCORE_GOOD = 750, 70 DM_PROBE_SCORE_GOOD = 750,
71 DM_PROBE_SCORE_MAX = 1000, 71 DM_PROBE_SCORE_MAX = 1000,
72 }; 72 };
73 73
74 74
75 // Flags for readability/writeability of formats 75 // Flags for readability/writeability support of formats
76 enum 76 // These can be combined with DM_PIXFMT_* for some uses.
77 { 77 enum
78 DM_FMT_WR = 0x0001, // Format can be written 78 {
79 DM_FMT_RD = 0x0002, // Format can be read 79 DM_FMT_WR = 0x00001, // Format can be written
80 DM_FMT_RD = 0x00002, // Format can be read
80 DM_FMT_RDWR = (DM_FMT_RD | DM_FMT_WR), // Read and write support 81 DM_FMT_RDWR = (DM_FMT_RD | DM_FMT_WR), // Read and write support
81 DM_FMT_BROKEN = 0x1000, // Support is broken/incomplete 82 DM_FMT_BROKEN = 0x00008, // Support is broken/incomplete
82 }; 83 };
83 84
84 85
85 typedef struct 86 typedef struct
86 { 87 {