Descriptionui: Add support for creating GLImage instances from shared memory pools.
This adds an offset field to the GpuMemoryBufferHandle struct that
allows shared memory backed GLImages to be created from a pool of
shared memory. This is useful when importing buffers as it allows
the clients to manage the memory used for buffers.
BUG=538325
TEST=gl_unittests --gtest_filter=GLImageSharedMemoryPool/GLImageCopyTest/0.CopyTexImage
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/9291c758490f36fb7139e2a6a8c341e118037d3a
Cr-Commit-Position: refs/heads/master@{#356212}
Patch Set 1 #Patch Set 2 : windows build fix #
Total comments: 4
Patch Set 3 : use uint32_t #Patch Set 4 : mojo and win build fixes #Patch Set 5 : static_cast<off_t> to make windows build happy #Messages
Total messages: 26 (10 generated)
|