base: Split out the pixel class in framebuffer.(cc|hh).
authorGabe Black <gabeblack@google.com>
Tue, 5 Dec 2017 04:22:43 +0000 (20:22 -0800)
committerGabe Black <gabeblack@google.com>
Wed, 6 Dec 2017 01:14:52 +0000 (01:14 +0000)
commit7eb8d007a502d6c6d62eab590d71f6085aef78f9
tree126343c64cd79fdababa821726a55213e751892c
parent3017314d05695207e09e87b08ca5c3cbf182c646
base: Split out the pixel class in framebuffer.(cc|hh).

These are really two separate things. Also, while it's realitively
straightforward to write a unit test for the pixel conversion code, the
framebuffer object is serializable and brings in more dependencies.

Change-Id: If954caeb0bfedb1002cfb1a7a115a00c90d56d19
Reviewed-on: https://gem5-review.googlesource.com/6341
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/base/SConscript
src/base/framebuffer.cc
src/base/framebuffer.hh
src/base/pixel.cc [new file with mode: 0644]
src/base/pixel.hh [new file with mode: 0644]
src/unittest/SConscript
src/unittest/fbtest.cc [deleted file]
src/unittest/pixeltest.cc [new file with mode: 0644]