Merge branch 'glamor_xv_sw_cursor' into 'main'

glamor: xv: Fix sw cursor rendering issue

See merge request xorg/xserver!310
This commit is contained in:
JeffyChen 2026-03-27 09:48:56 +00:00
commit 5a65169a88

View file

@ -430,6 +430,8 @@ glamor_xv_render(glamor_port_private *port_priv, int id)
char *vbo_offset;
int dst_box_index;
DamageRegionAppend(port_priv->pDraw, &port_priv->clip);
if (!port_priv->xv_prog.prog)
glamor_init_xv_shader(screen, port_priv, id);
@ -608,7 +610,7 @@ glamor_xv_render(glamor_port_private *port_priv, int id)
glDisableVertexAttribArray(GLAMOR_VERTEX_POS);
glDisableVertexAttribArray(GLAMOR_VERTEX_SOURCE);
DamageDamageRegion(port_priv->pDraw, &port_priv->clip);
DamageRegionProcessPending(port_priv->pDraw);
}
static Bool