Opened 4 years ago

Last modified 3 years ago

#15631 new bug

Flickering when moving window

Reported by: X512 Owned by: axeld
Priority: normal Milestone: Unscheduled
Component: Servers/app_server Version: R1/Development
Keywords: Cc:
Blocked By: Blocking: #11073
Platform: All

Description

This is hrev53713.

When moving window, backbuffer is flushed sometimes that cause flickering. Cause is probably in src/servers/app/drawing/DrawingEngine.cpp DrawingEngine::CopyRegion. It contains fGraphicsCard->Invalidate. Correct implementation would be shifting both back and front buffer.

Methods to reproduce:

  • Resize window by left or top corner by using right mouse button.
  • Move periodically updationg window on slow machine.

Change History (3)

comment:1 by diver, 4 years ago

Component: - GeneralServers/app_server
Owner: changed from nobody to axeld

comment:2 by diver, 4 years ago

Blocking: 11073 added

comment:3 by waddlesplash, 3 years ago

Note that https://review.haiku-os.org/c/haiku/+/2119 is related to this ticket (though there is disagreement about whether it is the right thing to do, or even a good solution.)

You might also try re-enabling (needs some work, though) the "async double buffered" mode already present in HWInterface. (see #if 0 blocks, and also the disabled SetAsyncDoubleBuffered call in AccelerantHWInterface.)

Note: See TracTickets for help on using tickets.