New commits:
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=68d1c23c16179a1b61ab9065c8df6b1548b9b40b
commit 68d1c23c16179a1b61ab9065c8df6b1548b9b40b
Author: Marek Pikarski <[email protected]>
Date:   Fri May 25 13:19:01 2012 +0200

    [PATCH] GPU system memory support cache flushing mods.
    
    Made changes necessary in the dfb_surface_buffer_lock function to handle 
GPU based reading  or writing support for local and system memory based surface 
buffers (as well ones in user  pre-allocated memory).  Previously, when a GPU 
read/write was requested, the CPU memory  cache was not flushed when the CPU 
had only read from the memory.  Changes require  validation on traditional 
non-UMA based graphics drivers.
    
    Updated the dfb_surface_pool_allocate function to alway mark brand new 
CoreSurfaceAllocations as having been both read and written to by the CPU.  
Updated the allocation_update_copy function to track that the CPU wrote to the 
destination buffer allocation and that it read from the source buffer 
allocation so that proper cache flushing will occur.
    
    Thanks to Timothy Strelchun <[email protected]>.

 src/core/CoreSurface_real.cpp |   19 +++++++++++++------
 src/core/surface_allocation.c |    7 +++++++
 src/core/surface_buffer.c     |    2 +-
 src/core/surface_pool.c       |    6 ++++++
 4 files changed, 27 insertions(+), 7 deletions(-)

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

Reply via email to