Update GPU memory buffers to use StrideInBytes internally.
Tile texture compression will add support for GPU memory buffer formats
that use less than a byte per pixel.
This CL prepares GPU buffers for this by using a new function
StrideInBytes instead of relying on bytes per pixel calculations when
calculating the number of bytes needed to store a certain number of pixels.
BUG=434699
Review URL: https://codereview.chromium.org/806653006
Cr-Commit-Position: refs/heads/master@{#311862}
11 files changed