Lines Matching refs:value

56  * value and the offset into struct gl_context in an array of structs.  Then
62 * type of the value in struct gl_context. And sometimes the value isn't in
64 * unit, or maybe it's a computed value. So we need to also track
65 * where or how to find the value. Finally, we sometimes need to
68 * attaching optional extra information to the value description
227 union value {
256 #define CONST(value) \
257 LOC_CONTEXT, TYPE_CONST, value
684 /* All we need now is a way to look up the value struct from the enum.
702 * the corner cases. Typically, it's a computed value or a one-off
705 * In this case we can't return a pointer to the value, so we'll have
714 find_custom_value(struct gl_context *ctx, const struct value_desc *d, union value *v)
1564 * We hash the enum value to get an index into the 'table' array,
1567 * look up the value and return a pointer to it.
1569 * If the value has to be computed (for example, it's the result of a
1574 * \param pname the enum value we're looking up
1575 * \param p is were we return the pointer to the value
1576 * \param v a tmp union value variable in the calling glGet*v() function
1584 find_value(const char *func, GLenum pname, void **p, union value *v)
1595 * value in the gl_api enum. Since GLES 3 doesn't have an API_OPENGL* enum
1596 * value since it's compatible with GLES2 its entry in table_set[] is at the
1673 get_value_size(enum value_type type, const union value *v)
1749 union value v;
1866 union value v;
1992 union value v;
2127 union value v;
2254 union value v;
2380 union value v;
2501 find_value_indexed(const char *func, GLenum pname, GLuint index, union value *v)
2989 union value v;
3016 union value v;
3074 union value v;
3110 union value v;
3211 union value v;
3311 union value v;
3368 union value v;