
Move NV12 gmb support logic from GpuMemoryBufferManagerSingleton into GpuServiceImpl. This will allow removal of GpuMemoryBufferManagerSingleton as part of MappableSI work. The logic to determine whether NV12 GMBs are supported on linux platform or not is similar and this CL only relocates it from browser process to GPU process. This info will be sent as a part of GpuExtraInfo. Note that the new logic looks at IsNativeBufferSupported() to weed out the fact that true native handle (and not shmem) can be created. gpu_memory_buffer_factory_->CreateGpuMemoryBuffer() then either creates a native pixmap handle for linux or returns null and never creates a shmem. Hence it is not required to check that the handle is native pixmap. In future, GpuServiceImpl::CreateGpuMemoryBuffer() will also be refactored and this info will be updated accordingly. Bug: 404887303 Change-Id: I507ddb227b7fcd0933d2d36e64401543a99128d4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6497313 Reviewed-by: Colin Blundell <blundell@chromium.org> Commit-Queue: vikas soni <vikassoni@chromium.org> Auto-Submit: vikas soni <vikassoni@chromium.org> Cr-Commit-Position: refs/heads/main@{#1454016}
This directory contains UI frameworks used to build various user interface features. This directory is not intended to contain UI features (such as a keyboard).