[haiku-bugs] Re: [Haiku] #6656: Overlay does not work anymore

  • From: "stippi" <trac@xxxxxxxxxxxx>
  • Date: Wed, 22 Sep 2010 07:46:01 -0000

#6656: Overlay does not work anymore
---------------------------------------+------------------------------------
  Reporter:  axeld                     |         Owner:  stippi        
      Type:  bug                       |        Status:  new           
  Priority:  normal                    |     Milestone:  R1            
 Component:  Applications/MediaPlayer  |       Version:  R1/Development
Resolution:                            |      Keywords:                
Blocked By:                            |   Has a Patch:  0             
  Platform:  All                       |      Blocking:                
---------------------------------------+------------------------------------

Comment (by stippi):

 You could do a quick check if my recent fix for the producer to actually
 use the consumer buffers made the difference: In VideoConsumer::Connected
 (IIRC), there is a call to SetBufferGroup(). Disable that call if it's
 running in overlay mode. If that gives you back overlays, it means there
 is an unnecessary memcpy() involved again, and it probably hints at a
 problem with mapping the overlay BBitmap area_id for creating the
 BBuffers. One curiosity I observed was that the BBuffers ->Data() pointers
 are different from the BBitmap ->Bits() pointer after the mapping,
 however, it's indeed the same memory block (at least in non-overlay mode).

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6656#comment:1>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: