DescriptionRe-land: ui: Add custom stride support to GLImageMemory.
This improves our support for shared memory pools by allowing
clients to create GLImages with a stride that is larger than
the row length of the image.
This makes it possible to import a buffer with a stride that
doesn't match the aligned row size. However, support for
mapping of such a buffer is not provided by this patch.
BUG=549781
TEST=gl_unittests --gtest_filter=GLImageSharedMemoryPool/GLImageCopyTest/0.CopyTexImage
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/730fd9613f967271a1068c9c39b436fa13c35877
Cr-Commit-Position: refs/heads/master@{#358998}
Patch Set 1 #Patch Set 2 : type adjustments #Patch Set 3 : rebase #
Total comments: 2
Patch Set 4 : add static_cast #
Total comments: 1
Patch Set 5 : more missing static_casts #Messages
Total messages: 53 (22 generated)
|