Descriptiongpu: Have GpuService create and own GpuMemoryBufferFactory.
Move GpuMemoryBufferFactory ownership into GpuService. Some additional
cleanups:
. Update GpuMemoryBufferFactory::CreateNativeType() to return nullptr
when native buffers are not supported, instead of the callers having to
explicitly check first (using GetNativeGpuMemoryBufferType()).
. InProcessGpuThread::gpu_preferences_ is never used. So remove.
. Some now unnecessary #includes.
BUG=none
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Review-Url: https://codereview.chromium.org/2781293003
Cr-Commit-Position: refs/heads/master@{#461337}
Committed: https://chromium.googlesource.com/chromium/src/+/6d41b82585204a17ce52137c71722122221be72b
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : tot merge #Patch Set 4 : . #Patch Set 5 : . #
Total comments: 2
Patch Set 6 : . #
Total comments: 4
Patch Set 7 : tot merge. #
Messages
Total messages: 40 (31 generated)
|