Lines Matching defs:vpix

49  * @vpix: Pointer to the struct vmwgfx_saa_pixmap the surface is attached to.
63 vmwgfx_xa_surface_redefine(struct vmwgfx_saa_pixmap *vpix,
76 if (!WSBMLISTEMPTY(&vpix->scanout_list))
83 if (!WSBMLISTEMPTY(&vpix->scanout_list) && have_handle &&
120 struct vmwgfx_saa_pixmap *vpix = vmwgfx_saa_pixmap(pixmap);
143 vpix->staging_format = format;
144 vpix->staging_remove_flags = 0;
145 vpix->staging_add_flags = XA_FLAG_RENDER_TARGET | XA_FLAG_SHARED;
176 struct vmwgfx_saa_pixmap *vpix = vmwgfx_saa_pixmap(pixmap);
182 if (vpix->hw) {
183 enum xa_formats old_format = xa_surface_format(vpix->hw);
190 vpix->xa_flags | XA_FLAG_RENDER_TARGET) !=
195 vpix->staging_format = format;
196 vpix->staging_remove_flags = 0;
197 vpix->staging_add_flags = XA_FLAG_RENDER_TARGET | XA_FLAG_SHARED;
211 struct vmwgfx_saa_pixmap *vpix = vmwgfx_saa_pixmap(pixmap);
234 if (vpix->hw) {
235 enum xa_formats old_format = xa_surface_format(vpix->hw);
246 xa_format_check_supported(vsaa->xat, swizzle_format, vpix->xa_flags) ==
252 if (xa_format_check_supported(vsaa->xat, format, vpix->xa_flags) ==
259 vpix->staging_format = format;
260 vpix->staging_remove_flags = 0;
261 vpix->staging_add_flags = 0;
297 struct vmwgfx_saa_pixmap *vpix = vmwgfx_saa_pixmap(pixmap);
303 if (vpix->hw) {
304 enum xa_formats old_format = xa_surface_format(vpix->hw);
326 vpix->staging_add_flags = add_flags;
327 vpix->staging_remove_flags = remove_flags;
328 vpix->staging_format = format;
343 struct vmwgfx_saa_pixmap *vpix = to_vmwgfx_saa_pixmap(spix);
344 enum xa_formats format = vpix->staging_format;
346 if (vpix->hw) {
347 enum xa_formats old_format = xa_surface_format(vpix->hw);
349 if (vpix->staging_format != old_format) {
363 if (vpix->hw) {
366 new_flags = (vpix->xa_flags & ~vpix->staging_remove_flags) |
367 vpix->staging_add_flags | XA_FLAG_SHARED;
369 if (vpix->staging_format != xa_surface_format(vpix->hw))
372 if (!vmwgfx_xa_surface_redefine(vpix,
373 vpix->hw,
378 vpix->staging_format,
381 vpix->xa_flags = new_flags;