Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_util.h34 struct surface_format { struct
43 struct surface_format fd2_pipe2surface(enum pipe_format format); argument
Dfd2_util.c33 pipe2surface(enum pipe_format format, struct surface_format *fmt) in pipe2surface()
122 struct surface_format
125 struct surface_format fmt = { in fd2_pipe2surface()
Dfd2_texture.c173 struct surface_format fmt = fd2_pipe2surface(cso->format); in fd2_sampler_view_create()
Dfd2_program.c171 struct surface_format fmt = fd2_pipe2surface(elem->src_format); in patch_vtx_fetch()
/external/mesa3d/src/mesa/state_tracker/
Dst_texture.h171 enum pipe_format surface_format; member
258 return stObj->surface_based ? stObj->surface_format : stObj->pt->format; in st_get_view_format()
Dst_gen_mipmap.c130 format = stObj->surface_format; in st_generate_mipmap()
Dst_vdpau.c250 stObj->surface_format = res->format; in st_vdpau_map_surface()
Dst_cb_eglimage.c338 stObj->surface_format = stimg->format; in st_bind_egl_image()
Dst_sampler_view.c477 format = stObj->surface_based ? stObj->surface_format : stObj->pt->format; in get_sampler_view_format()
Dst_cb_fbo.c479 format = stTexObj->surface_format; in st_update_renderbuffer_surface()
/external/igt-gpu-tools/lib/
Drendercopy_gen6.c97 case 8: ss->ss0.surface_format = SURFACEFORMAT_R8_UNORM; break; in gen6_bind_buf()
98 case 16: ss->ss0.surface_format = SURFACEFORMAT_R8G8_UNORM; break; in gen6_bind_buf()
99 case 32: ss->ss0.surface_format = SURFACEFORMAT_B8G8R8A8_UNORM; break; in gen6_bind_buf()
100 case 64: ss->ss0.surface_format = SURFACEFORMAT_R16G16B16A16_FLOAT; break; in gen6_bind_buf()
Drendercopy_gen4.c160 case 8: ss->ss0.surface_format = SURFACEFORMAT_R8_UNORM; break; in gen4_bind_buf()
161 case 16: ss->ss0.surface_format = SURFACEFORMAT_R8G8_UNORM; break; in gen4_bind_buf()
162 case 32: ss->ss0.surface_format = SURFACEFORMAT_B8G8R8A8_UNORM; break; in gen4_bind_buf()
163 case 64: ss->ss0.surface_format = SURFACEFORMAT_R16G16B16A16_FLOAT; break; in gen4_bind_buf()
Dgen9_render.h35 uint32_t surface_format:9; /**< BRW_SURFACEFORMAT_x */ member
Drendercopy_gen8.c171 case 8: ss->ss0.surface_format = SURFACEFORMAT_R8_UNORM; break; in gen8_bind_buf()
172 case 16: ss->ss0.surface_format = SURFACEFORMAT_R8G8_UNORM; break; in gen8_bind_buf()
173 case 32: ss->ss0.surface_format = SURFACEFORMAT_B8G8R8A8_UNORM; break; in gen8_bind_buf()
174 case 64: ss->ss0.surface_format = SURFACEFORMAT_R16G16B16A16_FLOAT; break; in gen8_bind_buf()
Dgpu_cmds.c104 ss->ss0.surface_format = format; in gen7_fill_surface_state()
406 ss->ss0.surface_format = format; in gen8_fill_surface_state()
459 ss->ss0.surface_format = format; in gen11_fill_surface_state()
Drendercopy_gen9.c201 case 8: ss->ss0.surface_format = SURFACEFORMAT_R8_UNORM; break; in gen8_bind_buf()
202 case 16: ss->ss0.surface_format = SURFACEFORMAT_R8G8_UNORM; break; in gen8_bind_buf()
203 case 32: ss->ss0.surface_format = SURFACEFORMAT_B8G8R8A8_UNORM; break; in gen8_bind_buf()
204 case 64: ss->ss0.surface_format = SURFACEFORMAT_R16G16B16A16_FLOAT; break; in gen8_bind_buf()
Dgen7_media.h103 uint32_t surface_format:9; /**< BRW_SURFACEFORMAT_x */ member
Dgen8_media.h105 uint32_t surface_format:9; /**< BRW_SURFACEFORMAT_x */ member
Dgen7_render.h227 unsigned int surface_format:9; /**< BRW_SURFACEFORMAT_x */ member
Dgen8_render.h103 uint32_t surface_format:9; /**< BRW_SURFACEFORMAT_x */ member
Dgen4_render.h244 unsigned int surface_format:9; member
Dgen6_render.h910 uint32_t surface_format:9; member
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_clear.c57 static bool si_set_clear_color(struct si_texture *tex, enum pipe_format surface_format, in si_set_clear_color() argument
73 util_pack_color_union(surface_format, &uc, color); in si_set_clear_color()
107 enum pipe_format surface_format, in vi_get_fast_clear_parameters() argument
123 util_format_description(si_simplify_cb_format(surface_format)); in vi_get_fast_clear_parameters()
136 bool surf_alpha_is_on_msb = vi_alpha_is_on_msb(sscreen, surface_format); in vi_get_fast_clear_parameters()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_wm_surface_state.c736 uint32_t buffer_size_minus_1, width, height, depth, surface_format; in brw_update_sol_surface() local
766 surface_format = ISL_FORMAT_R32_FLOAT; in brw_update_sol_surface()
769 surface_format = ISL_FORMAT_R32G32_FLOAT; in brw_update_sol_surface()
772 surface_format = ISL_FORMAT_R32G32B32_FLOAT; in brw_update_sol_surface()
775 surface_format = ISL_FORMAT_R32G32B32A32_FLOAT; in brw_update_sol_surface()
783 surface_format << BRW_SURFACE_FORMAT_SHIFT | in brw_update_sol_surface()
Dbrw_state.h235 unsigned surface_format,

12