New commits:
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=285dd5322c44ce713cc896bb14b616c518cce93f
commit 285dd5322c44ce713cc896bb14b616c518cce93f
Author: Denis Oliver Kropp <[email protected]>
Date:   Sun Dec 23 13:55:12 2012 +0100

    Genefx: Use Util::PacketBuffer instead of std::vector and add accounting 
for pixel operations to keep tasks short in execution time.
    
    Calculates task 'weight' based on pixel count and flags, e.g. blending.
    
    Adds three defines:
    
    // FIXME: find better auto detection, runtime options or dynamic adjustment 
for the following values
    if defined(ARCH_X86) || defined(ARCH_X86_64)
    define DFB_GENEFX_COMMAND_BUFFER_BLOCK_SIZE 0x40000   // 256k
    define DFB_GENEFX_COMMAND_BUFFER_MAX_SIZE   0x130000  // 1216k
    define DFB_GENEFX_TASK_WEIGHT_MAX           300000000
    else
    define DFB_GENEFX_COMMAND_BUFFER_BLOCK_SIZE 0x8000    // 32k
    define DFB_GENEFX_COMMAND_BUFFER_MAX_SIZE   0x17800   // 94k
    define DFB_GENEFX_TASK_WEIGHT_MAX           10000000
    endif

 src/gfx/generic/GenefxEngine.cpp |  363 +++++++++++++++++++++++++-------------
 1 file changed, 245 insertions(+), 118 deletions(-)

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

Reply via email to