Deleted Added
sdiff udiff text old ( 10907:94d5a1476c5b ) new ( 12366:3b4b6fa339a9 )
full compact
1/*
2 * Copyright (c) 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

--- 27 unchanged lines hidden (view full) ---

36 *
37 * Authors: Andreas Sandberg
38 */
39
40#include "base/framebuffer.hh"
41
42#include <zlib.h>
43
44#include "base/bitfield.hh"
45
46const FrameBuffer FrameBuffer::dummy(320, 240);
47
48FrameBuffer::FrameBuffer(unsigned width, unsigned height)
49 : pixels(width * height),
50 _width(width), _height(height)
51{
52 clear();
53}
54
55FrameBuffer::FrameBuffer()

--- 74 unchanged lines hidden ---