comparison src/VncCanvas.java @ 10:9c7eab50c708

update MyRfbProto. add acceptThread
author e085711
date Sat, 16 Apr 2011 20:40:24 +0900
parents bdb8d7c7d4d1
children 745e0e1ff401
comparison
equal deleted inserted replaced
9:2237c4a06427 10:9c7eab50c708
427 rfb.readFramebufferUpdateRectHdr(); 427 rfb.readFramebufferUpdateRectHdr();
428 statNumTotalRects++; 428 statNumTotalRects++;
429 int rx = rfb.updateRectX, ry = rfb.updateRectY; 429 int rx = rfb.updateRectX, ry = rfb.updateRectY;
430 int rw = rfb.updateRectW, rh = rfb.updateRectH; 430 int rw = rfb.updateRectW, rh = rfb.updateRectH;
431 431
432 System.out.println("rx="+rx+" ry="+ry+" rw="+rw+" rh="+rh);
433
434
432 if (rfb.updateRectEncoding == rfb.EncodingLastRect) 435 if (rfb.updateRectEncoding == rfb.EncodingLastRect)
433 break; 436 break;
434 437
435 if (rfb.updateRectEncoding == rfb.EncodingNewFBSize) { 438 if (rfb.updateRectEncoding == rfb.EncodingNewFBSize) {
436 rfb.setFramebufferSize(rw, rh); 439 rfb.setFramebufferSize(rw, rh);