Lines Matching refs:format
92 enum pipe_format format;
104 format = PIPE_FORMAT_R16G16B16A16_SNORM;
107 format = choose_renderbuffer_format(ctx, internalFormat, 0, 0);
112 if (format == PIPE_FORMAT_NONE) {
117 rb->Format = st_pipe_format_to_mesa_format(format);
138 enum pipe_format format = PIPE_FORMAT_NONE;
197 /* Find a supported depth-stencil format. */
201 format = choose_renderbuffer_format(ctx, internalFormat,
204 if (format != PIPE_FORMAT_NONE) {
211 /* Find a supported color format, samples >= storage_samples. */
218 format = choose_renderbuffer_format(ctx, internalFormat,
222 if (format != PIPE_FORMAT_NONE) {
234 format = choose_renderbuffer_format(ctx, internalFormat,
237 if (format != PIPE_FORMAT_NONE) {
245 format = choose_renderbuffer_format(ctx, internalFormat, 0, 0);
251 if (format == PIPE_FORMAT_NONE) {
255 rb->Format = st_pipe_format_to_mesa_format(format);
266 templ.format = format;
274 if (util_format_is_depth_or_stencil(format)) {
318 /* In GL 3, the initial format is GL_RGBA according to Table 6.26
321 * In GLES 3, the initial format is GL_RGBA4 according to Table 6.15
324 * If the context is current, set the initial format based on the
544 surf_tmpl.format = surf->format;
575 * the format of rb->texture is linear (because we have no control over
576 * the format). Check rb->Format instead of rb->texture->format
581 enum pipe_format format = resource->format;
586 format = stTexObj->surface_format;
589 format = enable_srgb ? util_format_srgb(format) : util_format_linear(format);
638 surf->format != format ||
649 surf_tmpl.format = format;