Commit Graph
2 Commits
Author SHA1 Message Date
Jamie Madill b759a74873 Fix test class names to reflect their class-ness.
Style guide dictates a camel case scheme for classes. Since the tests
are actually classes, update their names to reflect that.

Change-Id: Ib7422b6d8c5de8414765439704fc103eae8b2d63
Reviewed-on: https://chromium-review.googlesource.com/208680
Tested-by: Jamie Madill <[email protected]>
Reviewed-by: Zhenyao Mo <[email protected]>
2014-07-17 20:32:47 +00:00
Geoff Lang b6a673a0e8 Report zero bit sizes for channels that shouldn't exist.
If the actual format has more channels than the internal format of a
framebuffer, bits counts greater than zero will be returned for channels
that should not exist.  While it is not against the spec to return more
bits than exist in the format, it can be confusing for users or break
tests.  get*Bits will now only return greater than zero bit counts when
the format should have the given channel.

Since this is the only location that we return information about the
"real" internal format we're using, it's safe to only make the
modifications here.

BUG=angle:653

Change-Id: I43ef4c6290c8c70737d579d7e9a2dd30d653330b
Reviewed-on: https://chromium-review.googlesource.com/202594
Reviewed-by: Jamie Madill <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-06-11 14:02:09 +00:00