Remove internalformat argument from GLImage*Memory
All callers set it to something consistent with the BufferFormat (i.e. the value of gpu::InternalFormatForGpuMemoryBufferFormat), and so is redundant. For GetInternalFormat, we can directly extract it from the BufferFormat. Bug: 900044 Change-Id: I5e135d60dedf3854fbc28a29abcc26054dd663f7 Reviewed-on: https://chromium-review.googlesource.com/c/1306993 Commit-Queue: Antoine Labour <piman@chromium.org> Reviewed-by:Zhenyao Mo <zmo@chromium.org> Cr-Commit-Position: refs/heads/master@{#604108}
Showing
Please register or sign in to comment