Color: Add cc accessors and unit tests

Add the ability to look up the color space for a resource when it is
locked for GL read.

Add tests to ensure that color spaces are transferred correctly (they
weren't).

Add a test to ensure that overlay candidacy is transferred correctly
as well.

BUG=44872
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel

Review-Url: https://codereview.chromium.org/2228693002
Cr-Commit-Position: refs/heads/master@{#410934}
3 files changed