Lines Matching defs:format
50 GLenum format, GLenum type, const GLvoid *pixels )
60 _mesa_enum_to_string(format),
92 * "If format contains integer components, as shown in table 3.6, an
100 if (_mesa_is_enum_format_integer(format)) {
101 _mesa_error(ctx, GL_INVALID_OPERATION, "glDrawPixels(integer format)");
105 err = _mesa_error_check_format_and_type(ctx, format, type);
107 _mesa_error(ctx, err, "glDrawPixels(invalid format %s and/or type %s)",
108 _mesa_enum_to_string(format),
113 /* do special format-related checks */
114 switch (format) {
119 if (!_mesa_dest_buffer_exists(ctx, format)) {
158 1, format, type, INT_MAX, pixels)) {
171 st_DrawPixels(ctx, x, y, width, height, format, type,