0
Files
src/ui
vikas soni 896c5387e3 [MappableSI] Move NV12 gmb support logic into GpuServiceImpl.
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}
2025-04-30 10:10:09 -07:00
..
2025-04-22 12:24:10 -07:00

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).