Pass texture target for GpuMemoryBuffers VideoFrames textures.
VideoFrames created from GpuMemoryBuffer via CreateImageCHROMIUM must
use different texture targets depending on the underlying GpuMemoryBuffer
implementations (e.g: IOSurfaces require GL_RECTANGLE).
This patch makes sure to compute the right texture target for video
frames in the browser process and passes it to the renderer process
using a command line flag.
BUG=
Review URL: https://codereview.chromium.org/1182273014
Cr-Commit-Position: refs/heads/master@{#334646}
11 files changed