Revision: 4038
          http://vexi.svn.sourceforge.net/vexi/?rev=4038&view=rev
Author:   clrg
Date:     2011-02-22 00:44:14 +0000 (Tue, 22 Feb 2011)

Log Message:
-----------
Surface.dirty() does not need to be synchronized
- should only ever be called from within the render() process
- platform implementations should refreshFromBackbuffer i.e. blit
- or, if the backbuffer is 'lost', dirty() in render() only

Modified Paths:
--------------
    trunk/org.vexi-core.main/src/main/java/org/vexi/util/DirtyList.java

Modified: trunk/org.vexi-core.main/src/main/java/org/vexi/util/DirtyList.java
===================================================================
--- trunk/org.vexi-core.main/src/main/java/org/vexi/util/DirtyList.java 
2011-02-22 00:41:16 UTC (rev 4037)
+++ trunk/org.vexi-core.main/src/main/java/org/vexi/util/DirtyList.java 
2011-02-22 00:44:14 UTC (rev 4038)
@@ -38,7 +38,7 @@
      *  Pseudonym for running a new dirty() request against the entire dirties 
list
      *  (x,y) represents the topleft coordinate and (w,h) the bottomright 
coordinate 
      */
-    public final synchronized void dirty(int x, int y, int w, int h) { 
dirty(x, y, w, h, 0); }
+    public final void dirty(int x, int y, int w, int h) { dirty(x, y, w, h, 
0); }
 
     /** 
      *  Add a new rectangle to the dirty list; returns false if the


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Index, Search & Analyze Logs and other IT data in Real-Time with Splunk 
Collect, index and harness all the fast moving IT data generated by your 
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights. 
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to