1/* 2 * Copyright (c) 2010-2012, 2015 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 509 unchanged lines hidden (view full) --- 518 fb.copyIn(dmaBuffer, converter); 519 if (vnc) 520 vnc->setDirty(); 521 522 if (enableCapture) { 523 DPRINTF(PL111, "-- write out frame buffer into bmp\n"); 524 525 if (!pic) |
526 pic = simout.create(csprintf("%s.framebuffer.bmp", sys->name()), 527 true); |
528 529 assert(pic); |
530 pic->stream()->seekp(0); 531 bmp.write(*pic->stream()); |
532 } 533 534 // schedule the next read based on when the last frame started 535 // and the desired fps (i.e. maxFrameTime), we turn the 536 // argument into a relative number of cycles in the future 537 if (lcdControl.lcden) 538 schedule(readEvent, clockEdge(ticksToCycles(startTime - 539 curTick() + --- 241 unchanged lines hidden --- |