DescriptionUpdate 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
Committed: https://crrev.com/53e678c7962e12efe4bca3b58c9efbf755b86798
Cr-Commit-Position: refs/heads/master@{#311862}
Committed: https://crrev.com/a78ab1942c818ade187c060957f7228a1e694ec9
Cr-Commit-Position: refs/heads/master@{#312595}
Patch Set 1 #
Total comments: 7
Patch Set 2 : Use StrideInBytes #
Total comments: 8
Patch Set 3 : Use CheckedNumeric #
Total comments: 5
Patch Set 4 : Addressed nits #Patch Set 5 : Move code that must run out of DCHECK #
Total comments: 1
Patch Set 6 : Addressed nit #Messages
Total messages: 37 (9 generated)
|