Properly check handle type in GpuMemoryBufferFactory*
Calling code (CommandBufferStub via GpuChannel) doesn't check that the GMB handle type corresponds to the correct platform-specific handle (indeed it doesn't have a way to). So check in the GpuMemoryBufferFactory* classes and fail if the handle type is invalid. Bug: 870116 Change-Id: I78b574439350bee3dccda569e53eae7f74c7d0a7 Reviewed-on: https://chromium-review.googlesource.com/c/1316168Reviewed-by:Victor Miura <vmiura@chromium.org> Commit-Queue: Antoine Labour <piman@chromium.org> Cr-Commit-Position: refs/heads/master@{#605127}
Showing
Please register or sign in to comment