Descriptiongpu: Add CHROMIUM_image support to in-process command buffer.
This makes it possible to use the in-process command buffer
with CHROMIUM_image extension. GpuMemoryBufferManager and
ImageFactory interfaces need to be provided when creating
an in-process command buffer. Existing implementations
of these interfaces in content/ should work just fine.
cc::TestGpuMemoryBufferManager and cc::TestImageFactory
are used for cc pixel tests. They provide a minimal
implementation of these interfaces using shared memory.
Note: shared memory is used for in-process testing as it
maps better to the GpuMemoryBuffer framework that has
been designed for multi-process usage. Non-shared memory
might be a bit more efficient but it would require more
complexity and not match real usage as well.
BUG=423533
Committed: https://crrev.com/2232bce10844b88b9816027c2b546ccee64f46d4
Cr-Commit-Position: refs/heads/master@{#301763}
Patch Set 1 #Patch Set 2 : add cc pixel test support #Patch Set 3 : make code more consistent with command buffer proxy #
Total comments: 10
Patch Set 4 : rebase, address review feedback and fix a few other nits #Patch Set 5 : rebase #Patch Set 6 : Fix SynchronousCompositorFactoryImpl #Patch Set 7 : fix HardwareRenderer #Messages
Total messages: 15 (4 generated)
|