Opened 9 years ago

Closed 8 years ago

#625 closed defect (fixed)

Status messages during draw causes OpenGL error

Reported by: Tom Goddard Owned by: Tom Goddard
Priority: major Milestone:
Component: Window Toolkit Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Event processing during status message display appears to change the OpenGL context to the Qt context. So if this happens during a ChimeraX render it causes an OpenGL error when ChimeraX tries to continue the render after the status message. Ticket #575 was one case of this where solid style volume rendering emitted status messages as it loaded the textures. I fixed that case by removing that status message.

Probably our status message code should check the current OpenGL context and restore it after event processing.

Change History (1)

comment:1 by Tom Goddard, 8 years ago

Resolution: fixed
Status: assignedclosed

Added OpenGL context caching.

Then I replaced the status line to use OpenGL rendering which also caches the current context.

Note: See TracTickets for help on using tickets.