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.c86 xa_get_pipe_format(struct xa_tracker *xa, enum xa_formats xa_format) in xa_get_pipe_format() argument
90 fdesc.xa_format = xa_format; in xa_get_pipe_format()
92 switch (xa_format) { in xa_get_pipe_format()
144 fdesc.xa_format = xa_format_unknown; in xa_get_pipe_format()
189 enum xa_formats xa_format; in xa_tracker_create() local
193 xa_format = preferred[stype][i]; in xa_tracker_create()
196 xa_get_pipe_format(xa, xa_format); in xa_tracker_create()
203 xa->supported_formats[num_formats++] = xa_format; in xa_tracker_create()
271 if (fdesc.xa_format != xa_format_unknown && in xa_get_format_stype_depth()
272 xa_format_depth(fdesc.xa_format) == depth) { in xa_get_format_stype_depth()
[all …]
Dxa_tracker.h78 #define xa_format(bpp,type,a,r,g,b) (((bpp) << 24) | \ macro
109 xa_format_type_is_color(uint32_t xa_format) in xa_format_type_is_color() argument
111 return (xa_format_type(xa_format) < xa_type_z); in xa_format_type_is_color()
115 xa_format_depth(uint32_t xa_format) in xa_format_depth() argument
117 return ((xa_format_type_is_color(xa_format)) ? in xa_format_depth()
118 xa_format_argb_depth(xa_format) : xa_format_c_depth(xa_format)); in xa_format_depth()
123 xa_format_a8 = xa_format(8, xa_type_a, 8, 0, 0, 0),
125 xa_format_a8r8g8b8 = xa_format(32, xa_type_argb, 8, 8, 8, 8),
126 xa_format_x8r8g8b8 = xa_format(32, xa_type_argb, 0, 8, 8, 8),
127 xa_format_r5g6b5 = xa_format(16, xa_type_argb, 0, 5, 6, 5),
[all …]
Dxa_context.c237 src->fdesc.xa_format, in xa_copy_prepare()
238 dst->fdesc.xa_format); in xa_copy_prepare()
Dxa_priv.h60 enum xa_formats xa_format; member