Replace GLImageNativePixmap internalformat with BufferFormat

All callers pass an internalformat consistent with
gpu::InternalFormatForGpuMemoryBufferFormat, so there's no need to
specify redundantly the internalformat and the BufferFormat. Instead
just pass in the BufferFormat, which simplifies all callers and
increases consistency.

Bug: 900044
Change-Id: I19916a6f53a19e1419e3312a2ea4368d79fd95e4
Reviewed-by: Daniele Castagna <>
Reviewed-by: Robert Kroeger <>
Commit-Queue: Antoine Labour <>
Cr-Commit-Position: refs/heads/master@{#622094}
13 files changed