Re: [PATCH 3/4] compositor: unify sprite and primary handling a bit

2012-01-17 Thread Jesse Barnes
On Mon, 16 Jan 2012 22:09:11 -0500 Kristian Høgsberg wrote: > > +       if (queued_sprite) { > > +               drmVBlank vbl = { > > +                       .request.type = DRM_VBLANK_RELATIVE | > > DRM_VBLANK_EVENT, > > +                       .request.sequence = 1, > > +               }; > >

Re: [PATCH 3/4] compositor: unify sprite and primary handling a bit

2012-01-16 Thread Kristian Høgsberg
On Mon, Jan 16, 2012 at 5:40 PM, Jesse Barnes wrote: > In assign_planes, we try to assign the primary buffer to the primary > plane, then look for additional surfaces to match to display planes.  At > present time, we'll then flip all those buffers onto the screen in a > synchronized way, then cle

[PATCH 3/4] compositor: unify sprite and primary handling a bit

2012-01-16 Thread Jesse Barnes
In assign_planes, we try to assign the primary buffer to the primary plane, then look for additional surfaces to match to display planes. At present time, we'll then flip all those buffers onto the screen in a synchronized way, then clean up and release the buffers when the corresponding page flip