Searched refs:srgb_format (Results 1 – 5 of 5) sorted by relevance
/third_party/mesa3d/src/gallium/frontends/nine/ |
D | basetexture9.c | 493 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()
|
D | surface9.c | 262 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/vulkan/wsi/ |
D | wsi_common_wayland.c | 167 struct wsi_wl_format *format = NULL, *srgb_format = NULL; in wsi_wl_display_add_drm_format_modifier() local 291 srgb_format = wsi_wl_display_add_vk_format(display, formats, in wsi_wl_display_add_drm_format_modifier() 299 srgb_format = wsi_wl_display_add_vk_format(display, formats, in wsi_wl_display_add_drm_format_modifier() 307 srgb_format = wsi_wl_display_add_vk_format(display, formats, in wsi_wl_display_add_drm_format_modifier() 315 srgb_format = wsi_wl_display_add_vk_format(display, formats, in wsi_wl_display_add_drm_format_modifier() 326 if (srgb_format) in wsi_wl_display_add_drm_format_modifier() 327 wsi_wl_format_add_modifier(srgb_format, modifier); in wsi_wl_display_add_drm_format_modifier()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_manager.c | 477 const enum pipe_format srgb_format = in st_framebuffer_create() local 480 if (srgb_format != PIPE_FORMAT_NONE && in st_framebuffer_create() 481 st_pipe_format_to_mesa_format(srgb_format) != MESA_FORMAT_NONE && in st_framebuffer_create() 482 screen->is_format_supported(screen, srgb_format, in st_framebuffer_create()
|
/third_party/mesa3d/src/gallium/auxiliary/hud/ |
D | hud_context.c | 506 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()
|