Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/frontends/nine/
Dbasetexture9.c498 enum pipe_format srgb_format; in NineBaseTexture9_UpdateSamplerView() local
557 srgb_format = util_format_srgb(resource->format); in NineBaseTexture9_UpdateSamplerView()
558 if (sRGB && srgb_format != PIPE_FORMAT_NONE && in NineBaseTexture9_UpdateSamplerView()
559 screen->is_format_supported(screen, srgb_format, in NineBaseTexture9_UpdateSamplerView()
561 templ.format = srgb_format; in NineBaseTexture9_UpdateSamplerView()
Dsurface9.c244 enum pipe_format srgb_format; in NineSurface9_CreatePipeSurfaces() local
249 srgb_format = util_format_srgb(resource->format); in NineSurface9_CreatePipeSurfaces()
250 if (srgb_format == PIPE_FORMAT_NONE || in NineSurface9_CreatePipeSurfaces()
251 !screen->is_format_supported(screen, srgb_format, in NineSurface9_CreatePipeSurfaces()
253 srgb_format = resource->format; in NineSurface9_CreatePipeSurfaces()
266 templ.format = srgb_format; in NineSurface9_CreatePipeSurfaces()
/external/mesa3d/src/mesa/state_tracker/
Dst_manager.c475 const enum pipe_format srgb_format = in st_framebuffer_create() local
478 if (srgb_format != PIPE_FORMAT_NONE && in st_framebuffer_create()
479 st_pipe_format_to_mesa_format(srgb_format) != MESA_FORMAT_NONE && in st_framebuffer_create()
480 screen->is_format_supported(screen, srgb_format, in st_framebuffer_create()
/external/mesa3d/src/gallium/auxiliary/hud/
Dhud_context.c507 enum pipe_format srgb_format = util_format_srgb(tex->format); in hud_draw_results() local
509 if (srgb_format != PIPE_FORMAT_NONE) in hud_draw_results()
510 surf_templ.format = srgb_format; in hud_draw_results()