Implement GpuMemoryBufferManager to make Chrome IPC gpu command buffer work in mus for Pixel.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/cab01d28306bdec109b957d17d64d68677d9d3ed commit cab01d28306bdec109b957d17d64d68677d9d3ed Author: penghuang <penghuang@chromium.org> Date: Sun Jun 12 15:16:39 2016 Implement MusGpuMemoryBufferManager. Implement the MusGpuMemoryBufferManager which is used by MUS locally. It supports allocating Native GpuMemoryBuffer(Ozone, etc). It is needed for ChromeBook/ozone native rendering. BUG= 618316 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2049083002 Cr-Commit-Position: refs/heads/master@{#399390} [modify] https://crrev.com/cab01d28306bdec109b957d17d64d68677d9d3ed/components/mus/common/BUILD.gn [add] https://crrev.com/cab01d28306bdec109b957d17d64d68677d9d3ed/components/mus/common/generic_shared_memory_id_generator.cc [add] https://crrev.com/cab01d28306bdec109b957d17d64d68677d9d3ed/components/mus/common/generic_shared_memory_id_generator.h [modify] https://crrev.com/cab01d28306bdec109b957d17d64d68677d9d3ed/components/mus/common/gpu_service.cc [modify] https://crrev.com/cab01d28306bdec109b957d17d64d68677d9d3ed/components/mus/gpu/BUILD.gn [modify] https://crrev.com/cab01d28306bdec109b957d17d64d68677d9d3ed/components/mus/gpu/DEPS [modify] https://crrev.com/cab01d28306bdec109b957d17d64d68677d9d3ed/components/mus/gpu/gpu_service_mus.cc [modify] https://crrev.com/cab01d28306bdec109b957d17d64d68677d9d3ed/components/mus/gpu/gpu_service_mus.h [add] https://crrev.com/cab01d28306bdec109b957d17d64d68677d9d3ed/components/mus/gpu/mus_gpu_memory_buffer_manager.cc [add] https://crrev.com/cab01d28306bdec109b957d17d64d68677d9d3ed/components/mus/gpu/mus_gpu_memory_buffer_manager.h [modify] https://crrev.com/cab01d28306bdec109b957d17d64d68677d9d3ed/components/mus/public/interfaces/gpu_service.mojom [modify] https://crrev.com/cab01d28306bdec109b957d17d64d68677d9d3ed/components/mus/surfaces/direct_output_surface_ozone.cc [modify] https://crrev.com/cab01d28306bdec109b957d17d64d68677d9d3ed/components/mus/surfaces/direct_output_surface_ozone.h [modify] https://crrev.com/cab01d28306bdec109b957d17d64d68677d9d3ed/components/mus/surfaces/surfaces_context_provider.cc [modify] https://crrev.com/cab01d28306bdec109b957d17d64d68677d9d3ed/components/mus/surfaces/surfaces_context_provider.h
Comment 1 by bugdroid1@chromium.org
, Jun 12 2016