Re: [Mesa-dev] [PATCH kmscube] atomic: Use normal rendering loop for modeset

2017-05-02 Thread Eric Engestrom
On Tuesday, 2017-05-02 15:04:08 +0100, Daniel Stone wrote: > The initial pattern of: > initial_modeset(); > while (1) { > pageflip(); > } > > was relying on getting a buffer despite not having rendered anything. It > would also show undefined content. Replace this with just usi

[Mesa-dev] [PATCH kmscube] atomic: Use normal rendering loop for modeset

2017-05-02 Thread Daniel Stone
The initial pattern of: initial_modeset(); while (1) { pageflip(); } was relying on getting a buffer despite not having rendered anything. It would also show undefined content. Replace this with just using the pageflip loop for the initial modeset as well. Signed-off-by: Danie