Skip to content

Examples using imgui not displaying correctly on Linux (Mesa, Intel Ivybridge) #48

@tivek

Description

@tivek

On the Linux OpenGL (Mesa) renderer the examples 9, 11, 12, 13, and 14 show only those parts of their scenes which overlap with the imgui area. The rest of the window is black. Debug text is being displayed (blitted?) every frame, but not cleared between swaps. Attached screenshots show the problem clearly. Tested on Mesa Intel-dri (Ivybridge) 9.2.2 as well as the current git master, both on Linux kernel 3.11.6. Right now I am unable to verify on other operating systems or hardware, but will try to test a Windows OGL build soon.

Only the imgui examples seem to be affected, others work correctly. Throwing out imgui makes the scenes render as expected. Together with the debug text being blitted but not cleared, this somehow seems as a scissoring or blending mode problem. However, in ex11 I find that Context::rendererSubmit() does call glDisable(GL_SCISSOR_TEST) for the scene geometry every frame.

I am still only learning the ropes but would like to get to the bottom of this. Any hints what to try next? Of course verification on other OpenGL configurations would clarify if this is somehow a mesa bug.

Thanks,
Tomislav

ex09
ex11
ex12
ex13
ex14

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions