Lines Matching refs:format
203 SVGA3dSurfaceFormat format; member
949 svga3dsurface_get_desc(SVGA3dSurfaceFormat format) in svga3dsurface_get_desc() argument
951 if (format < ARRAY_SIZE(svga3d_surface_descs)) in svga3dsurface_get_desc()
952 return &svga3d_surface_descs[format]; in svga3dsurface_get_desc()
1068 svga3dsurface_get_serialized_size(SVGA3dSurfaceFormat format, in svga3dsurface_get_serialized_size() argument
1073 const struct svga3d_surface_desc *desc = svga3dsurface_get_desc(format); in svga3dsurface_get_serialized_size()
1096 svga3dsurface_get_pixel_offset(SVGA3dSurfaceFormat format, in svga3dsurface_get_pixel_offset() argument
1100 const struct svga3d_surface_desc *desc = svga3dsurface_get_desc(format); in svga3dsurface_get_pixel_offset()
1113 svga3dsurface_get_image_offset(SVGA3dSurfaceFormat format, in svga3dsurface_get_image_offset() argument
1128 desc = svga3dsurface_get_desc(format); in svga3dsurface_get_image_offset()
1157 svga3dsurface_is_gb_screen_target_format(SVGA3dSurfaceFormat format) in svga3dsurface_is_gb_screen_target_format() argument
1159 return (format == SVGA3D_X8R8G8B8 || in svga3dsurface_is_gb_screen_target_format()
1160 format == SVGA3D_A8R8G8B8 || in svga3dsurface_is_gb_screen_target_format()
1161 format == SVGA3D_R5G6B5 || in svga3dsurface_is_gb_screen_target_format()
1162 format == SVGA3D_X1R5G5B5 || in svga3dsurface_is_gb_screen_target_format()
1163 format == SVGA3D_A1R5G5B5 || in svga3dsurface_is_gb_screen_target_format()
1164 format == SVGA3D_P8); in svga3dsurface_is_gb_screen_target_format()
1179 svga3dsurface_is_dx_screen_target_format(SVGA3dSurfaceFormat format) in svga3dsurface_is_dx_screen_target_format() argument
1181 return (format == SVGA3D_R8G8B8A8_UNORM || in svga3dsurface_is_dx_screen_target_format()
1182 format == SVGA3D_B8G8R8A8_UNORM || in svga3dsurface_is_dx_screen_target_format()
1183 format == SVGA3D_B8G8R8X8_UNORM); in svga3dsurface_is_dx_screen_target_format()
1198 svga3dsurface_is_screen_target_format(SVGA3dSurfaceFormat format) in svga3dsurface_is_screen_target_format() argument
1200 if (svga3dsurface_is_gb_screen_target_format(format)) { in svga3dsurface_is_screen_target_format()
1203 return svga3dsurface_is_dx_screen_target_format(format); in svga3dsurface_is_screen_target_format()