New commits:
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=2c0746a5675881500ae74c3ecf948dddc38d5df9
commit 2c0746a5675881500ae74c3ecf948dddc38d5df9
Author: Marek Pikarski <[email protected]>
Date:   Fri May 25 10:49:50 2012 +0200

    [PATCH] GPU system memory support mods for aligned buffer directfbrc 
commands.
    
    Added the directfbrc commands system-surface-base-alignment and  
system-surface-pitch-alignment. If the graphics driver supports system memory, 
these commands  are used to sets the byte alignment for the system memory based 
surface's base address and  pitch, or zero for no alignment (which is the 
default). Aligning these allows pixel data to  travel more efficiently through 
the CPU and across the memory bus to increase performance,  and meet GPU 
requirements (if any).
    Updated the system memory surface pools to use these values for creating 
surface buffers when they are non-zero. The local surface pool will use the 
posix_memalign function and the shared surface pool will bloat the size to 
allow for base address to be aligned.
    Note:  The minimum base address and pitch alignment size are set to very 
small values since different graphics drivers will have different requirements 
(some may be larger than others).
    
    Thanks to Timothy Strelchun <[email protected]>.

 src/core/local_surface_pool.c  |   38 +++++++++++++++++++---
 src/core/shared_surface_pool.c |   47 ++++++++++++++++++++++++---
 src/misc/conf.c                |   67 +++++++++++++++++++++++++++++++++++++++-
 src/misc/conf.h                |    9 +++++-
 4 files changed, 147 insertions(+), 14 deletions(-)

_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs

Reply via email to