DescriptionMake 'kVideoImageTextureTarget' a list of texture targets.
Pass to the renderer a list of texture targets, one per GpuMemoryBuffer
format, via a command line argument.
In this way GMBVFP can pick whatever GMB format it needs to use and bind
to the correct texture target.
This is similar to what we do for content (kContentImageTextureTarget).
kContentImageTextureTarget can't be used since the buffer usage could
differ from the buffer usage in GMBVFP.
Once all GMB formats supports persistent usage and we can consolidate
GPU_READ_CPU_READ_WRITE_PERSISTENT and GPU_READ_CPU_READ_WRITE this
code can go away and we can use just one command line switch.
BUG=524582
Committed: https://crrev.com/5077d6dc8037fdc2e19c70270083ec5b28e0fe89
Cr-Commit-Position: refs/heads/master@{#371644}
Patch Set 1 #Patch Set 2 : Don't resize image_targets #Patch Set 3 : TEXTURE_2D for 420 biplanar. #
Total comments: 6
Patch Set 4 : Address reveman's comments. #Patch Set 5 : Fix typo. #Messages
Total messages: 17 (8 generated)
|