Home
last modified time | relevance | path

Searched refs:util_format_is_srgb (Results 1 – 25 of 46) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_blit.c281 if (!util_format_is_srgb(blit->src.format)) in check_blending_and_srgb_cond()
285 if (util_format_is_srgb(sFmt) && util_format_is_srgb(dFmt)) in check_blending_and_srgb_cond()
287 else if (!util_format_is_srgb(sFmt)){ in check_blending_and_srgb_cond()
288 if (!util_format_is_srgb(dFmt)) in check_blending_and_srgb_cond()
300 if (util_format_is_srgb(blit->src.resource->format)) in check_blending_and_srgb_cond()
866 !util_format_is_srgb(src_tex->format) && in svga_resource_copy_region()
Dsvga_pipe_sampler.c459 if (util_format_is_srgb(views[i]->format)) in svga_set_sampler_views()
/external/mesa3d/src/util/tests/format/
Dsrgb.c12 if (!util_format_is_srgb(format)) { in main()
/external/mesa3d/src/freedreno/vulkan/
Dvk_format.h106 return util_format_is_srgb(vk_format_to_pipe_format(format)); in vk_format_is_srgb()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_screen.c62 !util_format_is_srgb(format) && in fd2_screen_is_format_supported()
/external/mesa3d/src/broadcom/vulkan/
Dvk_format_info.h113 return util_format_is_srgb(vk_format_to_pipe_format(format)); in vk_format_is_srgb()
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_image.c72 img->srgb = util_format_is_srgb(format); in translate_image()
149 img->srgb = util_format_is_srgb(format); in translate_buf()
Dfd6_blitter.c256 bool is_srgb = util_format_is_srgb(pfmt); in emit_blit_setup()
556 COND(util_format_is_srgb(pfmt), A6XX_RB_2D_DST_INFO_SRGB) | in emit_blit_dst()
605 COND(util_format_is_srgb(info->src.format), A6XX_SP_PS_2D_SRC_INFO_SRGB) | in emit_blit_src()
/external/mesa3d/src/gallium/drivers/iris/
Diris_formats.c50 if (!util_format_is_srgb(pformat)) { in iris_format_for_usage()
/external/virglrenderer/src/gallium/auxiliary/util/
Du_format.h322 util_format_is_srgb(enum pipe_format format) in util_format_is_srgb() function
644 if (util_format_is_srgb(format)) in util_format_srgb()
/external/mesa3d/src/panfrost/lib/
Dpan_blit.c343 bool srgb = util_format_is_srgb(image->format); in midgard_load_emit_blend_rt()
385 bool srgb = util_format_is_srgb(image->format); in midgard_load_emit_rsd()
545 bool srgb = util_format_is_srgb(image->format); in bifrost_load_emit_blend_rt()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_texture_state.c160 const bool srgb = util_format_is_srgb(so->format); in etna_create_sampler_view_state()
237 COND(util_format_is_srgb(so->format) && !astc, VIVS_TE_SAMPLER_LOG_SIZE_SRGB) | in etna_create_sampler_view_state()
Detnaviv_screen.c434 if (util_format_is_srgb(format)) in gpu_supports_texture_format()
481 if (util_format_is_srgb(format)) in gpu_supports_render_format()
Detnaviv_texture_desc.c163 if (util_format_is_srgb(so->format)) in etna_create_sampler_view_desc()
/external/virglrenderer/src/
Dvrend_blitter.c751 if (has_texture_srgb_decode && util_format_is_srgb(info->src.format) && in vrend_set_tex_param()
870 (util_format_is_srgb(info->b.dst.format) || util_format_is_srgb(info->b.src.format))) { in vrend_renderer_blit_gl()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_image.c74 img->srgb = util_format_is_srgb(format); in translate_image()
Dfd5_texture.c246 if (util_format_is_srgb(format)) { in fd5_sampler_view_create()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_texture.c244 if (util_format_is_srgb(cso->format)) in fd3_sampler_view_create()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_texture.c248 if (util_format_is_srgb(format)) { in fd4_sampler_view_create()
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_context.c369 (util_format_is_srgb(templ->format) == in virgl_create_surface()
370 util_format_is_srgb(resource->format))); in virgl_create_surface()
1163 (util_format_is_srgb(blit->dst.resource->format) == in virgl_blit()
1164 util_format_is_srgb(blit->dst.format))); in virgl_blit()
/external/mesa3d/src/util/format/
Du_format.h499 util_format_is_srgb(enum pipe_format format) in util_format_is_srgb() function
933 if (util_format_is_srgb(format)) in util_format_srgb()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_formats.c189 if (!util_format_is_srgb(pformat) && in lvp_physical_device_get_format_properties()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_uniforms.c124 if (util_format_is_srgb(texture->format)) { in write_texture_border_color()
/external/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_logic_ops.c376 util_format_is_srgb(format)) { in v3d_nir_lower_logic_ops_block()
/external/mesa3d/src/mesa/state_tracker/
Dst_manager.c184 if (util_format_is_srgb(surf->format)) in st_set_ws_renderbuffer_surface()
399 mode->sRGBCapable = util_format_is_srgb(visual->color_format); in st_visual_to_context_mode()

12