Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/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.c237 enum pipe_format srgb_format; in NineSurface9_CreatePipeSurfaces() local
242 srgb_format = util_format_srgb(resource->format); in NineSurface9_CreatePipeSurfaces()
243 if (srgb_format == PIPE_FORMAT_NONE || in NineSurface9_CreatePipeSurfaces()
244 !screen->is_format_supported(screen, srgb_format, in NineSurface9_CreatePipeSurfaces()
246 srgb_format = resource->format; in NineSurface9_CreatePipeSurfaces()
259 templ.format = srgb_format; in NineSurface9_CreatePipeSurfaces()
/external/mesa3d/src/mesa/state_tracker/
Dst_manager.c451 const enum pipe_format srgb_format = in st_framebuffer_create() local
454 if (srgb_format != PIPE_FORMAT_NONE && in st_framebuffer_create()
455 st_pipe_format_to_mesa_format(srgb_format) != MESA_FORMAT_NONE && in st_framebuffer_create()
456 screen->is_format_supported(screen, srgb_format, in st_framebuffer_create()
/external/mesa3d/src/gallium/auxiliary/hud/
Dhud_context.c527 enum pipe_format srgb_format = util_format_srgb(tex->format); in hud_draw() local
529 if (srgb_format != PIPE_FORMAT_NONE) in hud_draw()
530 surf_templ.format = srgb_format; in hud_draw()