2009-03-13, 11:04 PM
I've been playing with MLPanel trying to figure out how incremental updates work...
Every 10 seconds, MLPanel displays a randomly located rectangle superimposed on a full screen black background. The second render doesn't clear the rectangle from the first, but subsequent renders clear the rectangle from the previous one.
Starting from here in the logI'm puzzled as to where these co-ordinates are coming from on the second renderI'm testing on an MVP since I don't have access to an NMT
Every 10 seconds, MLPanel displays a randomly located rectangle superimposed on a full screen black background. The second render doesn't clear the rectangle from the first, but subsequent renders clear the rectangle from the previous one.
Starting from here in the log
Code:
2009-03-13 22:18:38.254 VERBOSE [6] Unrequested needsRendering()...
2009-03-13 22:18:38.285 VERBOSE [6] Creating new render hash list
2009-03-13 22:18:38.285 VERBOSE [6] - adding render hash: background:0,0,640,500:False
2009-03-13 22:18:38.301 VERBOSE [6] - adding render hash: static (MLBackGround):0,0,640,500:False
2009-03-13 22:18:38.301 VERBOSE [6] - adding render hash: static (NotPlaying-Small-6):236,85,179,125:False
2009-03-13 22:18:38.301 VERBOSE [6] - ...updated screen rectangle now: 0, 0, 640, 500
2009-03-13 22:18:38.301 VERBOSE [6] sendIncrementalFrame3 (loc = 44,40) (rect = {X=0,Y=0,Width=640,Height=500})
Code:
2009-03-13 22:18:48.463 VERBOSE [6] Sending clearing update for: 64, 425, 512, 50