Opened 8 months ago

Last modified 3 months ago

#15574 new bug

BDirectWindow flicker when video is playing behind it

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

Description

This is hrev53644 x86_64.

Steps to reproduce:

  1. Open GLTeapot.
  2. Open some video in MediaPlayer.
  3. Place GLTeapot on front of VideoPlayer.
  4. Intersecting part will flicker.

VideoPlayer display mode is DrawBitmap.

Change History (3)

comment:1 by X512, 4 months ago

In addition to MediaPlayer, any window that repeatedly call BView::DrawBitmap like Haiku3d or Qt windows also cause flickering.

comment:2 by X512, 4 months ago

BView::DrawBitmap cause flushing of screen backbuffer outside of drawing area in app_server while it shouldn't.

comment:3 by X512, 3 months ago

I identified problem. DrawBitmap and other drawing operations flush back buffer bounding rectangle instead of region that flush area that not belongs to window: https://git.haiku-os.org/haiku/tree/src/servers/app/drawing/DrawingEngine.cpp#n638.

Note: See TracTickets for help on using tickets.