Home
last modified time | relevance | path

Searched refs:srgb_format (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/nine/
Dbasetexture9.c493 enum pipe_format srgb_format; in NineBaseTexture9_UpdateSamplerView() local
552 srgb_format = util_format_srgb(resource->format); in NineBaseTexture9_UpdateSamplerView()
553 if (sRGB && srgb_format != PIPE_FORMAT_NONE && in NineBaseTexture9_UpdateSamplerView()
554 screen->is_format_supported(screen, srgb_format, in NineBaseTexture9_UpdateSamplerView()
556 templ.format = srgb_format; in NineBaseTexture9_UpdateSamplerView()
Dsurface9.c262 enum pipe_format srgb_format; in NineSurface9_CreatePipeSurfaces() local
267 srgb_format = util_format_srgb(resource->format); in NineSurface9_CreatePipeSurfaces()
268 if (srgb_format == PIPE_FORMAT_NONE || in NineSurface9_CreatePipeSurfaces()
269 !screen->is_format_supported(screen, srgb_format, in NineSurface9_CreatePipeSurfaces()
271 srgb_format = resource->format; in NineSurface9_CreatePipeSurfaces()
284 templ.format = srgb_format; in NineSurface9_CreatePipeSurfaces()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_manager.c621 const enum pipe_format srgb_format = in st_framebuffer_create() local
624 if (srgb_format != PIPE_FORMAT_NONE && in st_framebuffer_create()
625 st_pipe_format_to_mesa_format(srgb_format) != MESA_FORMAT_NONE && in st_framebuffer_create()
626 screen->is_format_supported(screen, srgb_format, in st_framebuffer_create()
/third_party/mesa3d/src/gallium/auxiliary/hud/
Dhud_context.c506 enum pipe_format srgb_format = util_format_srgb(tex->format); in hud_draw_results() local
508 if (srgb_format != PIPE_FORMAT_NONE) in hud_draw_results()
509 surf_templ.format = srgb_format; in hud_draw_results()