On 26/04/17 07:11 PM, Gregory Hainaut wrote: > On 4/26/17, Michel Dänzer <mic...@daenzer.net> wrote: >> On 26/04/17 05:07 PM, Gregory Hainaut wrote: >>> >>> Note: those dri2* functions are typically called by gallium/mesa state >>> tracker to handle new backbuffer allocation. When the old backbuffer was >>> previously invalidated due to vsync. >> >> FWIW, DRI2 buffer invalidation isn't directly related to vsync. > Ok. > > What happen is that I received DRI2_InvalidateBuffers event instead of > DRI2_BufferSwapComplete when I enabled vsync on my application.
Right, but buffers can also be invalidated under other circumstances, e.g. when the window size changes. -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev