#309 closed defect (fixed)
until we have contents to paint the gl windows show undefined contents
Reported by: | Antoine Martin | Owned by: | ahuillet |
---|---|---|---|
Priority: | major | Milestone: | 0.10 |
Component: | client | Version: | trunk |
Keywords: | opengl | Cc: |
Description
This is most noticeable with drop down menus.
Ideally, we would want to paint something, anything, even a white background rather than having it transparent and showing whatever is under it.
Unfortunately, my attempts have failed (see patches).
Attachments (4)
Change History (10)
Changed 9 years ago by
Attachment: | gl_cairo_fill.patch added |
---|
Changed 9 years ago by
Attachment: | gl_white_paint.patch added |
---|
use existing white_paint method does not work during the first expose events
Changed 9 years ago by
Attachment: | gl_window_paint.patch added |
---|
explicitly paint the window backing with cairo as soon as it is created
Changed 9 years ago by
Attachment: | gl_render_on_init.patch added |
---|
calls render_image as soon as we init the gl window (use in combination with gl_cairo_fill or gl_white_paint patches)
comment:1 Changed 9 years ago by
Mitigated somewhat by r3077: "normal" windows are bigger, so showing them briefly as transparent is less confusing than for things like menus.
comment:2 Changed 9 years ago by
Milestone: | 0.9 → 0.10 |
---|
What may work: calling glClear(GL_COLOR_BUFFER_BIT)
followed by swap_buffers()
early in the setup backing setup code.
Now that GL is no longer scheduled for 0.9.0, this can wait too..
comment:6 Changed 17 months ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/309
use cairo to paint the backing glarea white