Home
last modified time | relevance | path

Searched refs:surface_format (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_clear.c68 enum pipe_format surface_format, in si_set_clear_color() argument
84 } else if (util_format_is_pure_uint(surface_format)) { in si_set_clear_color()
85 util_format_write_4ui(surface_format, color->ui, 0, &uc, 0, 0, 0, 1, 1); in si_set_clear_color()
86 } else if (util_format_is_pure_sint(surface_format)) { in si_set_clear_color()
87 util_format_write_4i(surface_format, color->i, 0, &uc, 0, 0, 0, 1, 1); in si_set_clear_color()
89 util_pack_color(color->f, surface_format, &uc); in si_set_clear_color()
95 static bool vi_get_fast_clear_parameters(enum pipe_format surface_format, in vi_get_fast_clear_parameters() argument
110 surface_format = util_format_linear(surface_format); in vi_get_fast_clear_parameters()
111 surface_format = util_format_luminance_to_red(surface_format); in vi_get_fast_clear_parameters()
113 const struct util_format_description *desc = util_format_description(surface_format); in vi_get_fast_clear_parameters()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_texture.h157 enum pipe_format surface_format; member
244 return stObj->surface_based ? stObj->surface_format : stObj->pt->format; in st_get_view_format()
Dst_gen_mipmap.c148 format = stObj->surface_format; in st_generate_mipmap()
Dst_cb_eglimage.c233 stObj->surface_format = stimg->format; in st_bind_egl_image()
Dst_vdpau.c238 stObj->surface_format = res->format; in st_vdpau_map_surface()
Dst_sampler_view.c453 format = stObj->surface_based ? stObj->surface_format : stObj->pt->format; in get_sampler_view_format()
Dst_cb_fbo.c413 format = stTexObj->surface_format; in st_update_renderbuffer_surface()
Dst_manager.c754 stObj->surface_format = pipe_format; in st_context_teximage()
Dst_cb_texture.c1909 src_format = util_format_linear(stObj->surface_format); in st_GetTexSubImage()
2938 tex->surface_format = in st_TextureView()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_wm_surface_state.c582 unsigned surface_format, in brw_emit_buffer_surface_state() argument
600 .format = surface_format, in brw_emit_buffer_surface_state()
678 uint32_t buffer_size_minus_1, width, height, depth, surface_format; in brw_update_sol_surface() local
708 surface_format = ISL_FORMAT_R32_FLOAT; in brw_update_sol_surface()
711 surface_format = ISL_FORMAT_R32G32_FLOAT; in brw_update_sol_surface()
714 surface_format = ISL_FORMAT_R32G32B32_FLOAT; in brw_update_sol_surface()
717 surface_format = ISL_FORMAT_R32G32B32A32_FLOAT; in brw_update_sol_surface()
725 surface_format << BRW_SURFACE_FORMAT_SHIFT | in brw_update_sol_surface()
Dbrw_state.h211 unsigned surface_format,
/external/mesa3d/src/gallium/drivers/r600/
Dr600_texture.c1721 enum pipe_format surface_format, in evergreen_set_clear_color() argument
1737 } else if (util_format_is_pure_uint(surface_format)) { in evergreen_set_clear_color()
1738 util_format_write_4ui(surface_format, color->ui, 0, &uc, 0, 0, 0, 1, 1); in evergreen_set_clear_color()
1739 } else if (util_format_is_pure_sint(surface_format)) { in evergreen_set_clear_color()
1740 util_format_write_4i(surface_format, color->i, 0, &uc, 0, 0, 0, 1, 1); in evergreen_set_clear_color()
1742 util_pack_color(color->f, surface_format, &uc); in evergreen_set_clear_color()