Searched defs:CRSTATE_SET_CAP (Results 1 - 1 of 1) sorted by relevance
/vbox/src/VBox/GuestHost/OpenGL/state_tracker/ |
H A D | state_lists.c | 36 # define CRSTATE_SET_CAP(state, value, format) g->state=value macro 40 # define CRSTATE_SET_CAP(state, value, format) \ macro 58 #define CRSTATE_SET_ENABLED(state, cap) CRSTATE_SET_CAP(state, diff_api.IsEnabled(cap), "%u") 60 #define CRSTATE_SET_ENUM(state, cap) {GLenum _e=g->state; diff_api.GetIntegerv(cap, &_e); CRSTATE_SET_CAP(state, _e, "%#x");} 61 #define CRSTATE_SET_FLOAT(state, cap) {GLfloat _f=g->state; diff_api.GetFloatv(cap, &_f); CRSTATE_SET_CAP(state, _f, "%f");} 62 #define CRSTATE_SET_INT(state, cap) {GLint _i=g->state; diff_api.GetIntegerv(cap, &_i); CRSTATE_SET_CAP(state, _i, "%i");} 63 #define CRSTATE_SET_BOOL(state, cap) {GLboolean _b=g->state; diff_api.GetBooleanv(cap, &_b); CRSTATE_SET_CAP(state, _b, "%u");} 73 CRSTATE_SET_CAP(state.r, value[0], "%f"); \ 74 CRSTATE_SET_CAP(state.g, value[1], "%f"); \ 75 CRSTATE_SET_CAP(stat [all...] |
Completed in 977 milliseconds