Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_tracker.c83 xa_get_pipe_format(enum xa_formats xa_format) in xa_get_pipe_format() argument
87 fdesc.xa_format = xa_format; in xa_get_pipe_format()
89 switch (xa_format) { in xa_get_pipe_format()
130 fdesc.xa_format = xa_format_unknown; in xa_get_pipe_format()
169 enum xa_formats xa_format; in xa_tracker_create() local
173 xa_format = preferred[stype][i]; in xa_tracker_create()
175 struct xa_format_descriptor fdesc = xa_get_pipe_format(xa_format); in xa_tracker_create()
182 xa->supported_formats[num_formats++] = xa_format; in xa_tracker_create()
244 if (fdesc.xa_format != xa_format_unknown && in xa_get_format_stype_depth()
245 xa_format_depth(fdesc.xa_format) == depth) { in xa_get_format_stype_depth()
[all …]
Dxa_tracker.h74 #define xa_format(bpp,type,a,r,g,b) (((bpp) << 24) | \ macro
105 xa_format_type_is_color(uint32_t xa_format) in xa_format_type_is_color() argument
107 return (xa_format_type(xa_format) < xa_type_z); in xa_format_type_is_color()
111 xa_format_depth(uint32_t xa_format) in xa_format_depth() argument
113 return ((xa_format_type_is_color(xa_format)) ? in xa_format_depth()
114 xa_format_argb_depth(xa_format) : xa_format_c_depth(xa_format)); in xa_format_depth()
119 xa_format_a8 = xa_format(8, xa_type_a, 8, 0, 0, 0),
121 xa_format_a8r8g8b8 = xa_format(32, xa_type_argb, 8, 8, 8, 8),
122 xa_format_x8r8g8b8 = xa_format(32, xa_type_argb, 0, 8, 8, 8),
123 xa_format_r5g6b5 = xa_format(16, xa_type_argb, 0, 5, 6, 5),
[all …]
Dxa_context.c224 src->fdesc.xa_format, in xa_copy_prepare()
225 dst->fdesc.xa_format); in xa_copy_prepare()
Dxa_priv.h58 enum xa_formats xa_format; member