This is the first of many patches prepared from the DirectFB 
1.0.1 improvements we made for the custom systems and graphics 
drivers for the Intel(R) Media Processor CE 3100.  This SoC was 
previously code named Canmore.  When we have transitioned to 
DirectFB 1.2.x, I plan to send out new patches if they are 
still needed/required.

Info on this patch:

1.  Fix to properly handle display layers that do NOT support 
    the DLCAPS_SCREEN_SIZE capability flag, which means that 
    scaling is not supported (in other words the source 
    rectangle size must match the destination/screen rectangle 
    size).  Previously, the destination rectangle size was not 
    kept 1:1 with the source size for such layers.

2.  Improved documentation for DLCAPS_SCREEN_LOCATION, 
    DLCAPS_SCREEN_POSITION and DLCAPS_SCREEN_SIZE.

3.  Added behavioral documentation derived from the DFB core 
    software to IDirectFBDisplayLayer::SetConfiguration and 
    corrected typo in IDirectFBDisplayLayer::SetScreenLocation.

4.  Changed the automatic display layer centering algorithm to 
    return only even values for the 'y' coordinate.  This is 
    needed because in interlaced display modes on some hardware 
    such as the Intel(R) Media Processor CE 3100, the 'y' 
    coordinates can only be on even lines.

5.  Documented ability for IDirectFBSurface::Lock to hand back 
    a pointer to the front buffer when read only access is 
    requested.  Discovered this behavior during development and 
    investigations in the DFB core software.

Regards,
Timothy

--

Timothy Strelchun
CE Software Engineering
Digital Home Group
Intel Corporation

The views expressed above are my own and not those of Intel

Attachment: NonScalingDisplayLayerFixAndCenteringFix.diff
Description: NonScalingDisplayLayerFixAndCenteringFix.diff

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to