Skip to content

Address y-flip caused by user GL framebuffer objects

Heinrich Fink requested to merge respect-y-flip into master

This MR describes and addresses the problem of Y-flip happening when using GL framebuffer objects to draw into swap-chain images directly. Normally, GL system framebuffer automatically do the right thing (e.g. when using EGL surfaces). The technique used in kms-quads needs to address this explicitly, and does so by using GL_MESA_framebuffer_flip_y. This MR also fixes dumb-buffer rendering, and improves clarity of GL vertex array setup with respect to top/bottom edges.

Merge request reports