• Chih-Yu Huang's avatar
    media/gpu/chromeos: Add GpuBufferLayout class. · 7c859919
    Chih-Yu Huang authored
    Currently, we use VideoFrameLayout to store the physical layout of
    video frame buffers. VideoFrameLayout uses VideoFrameLayout to
    indicate the buffer format. However in GPU buffer usage, we have to
    handle proprietary format, which is not listed in VideoPixelFormat.
    
    This CL introduces a new class "GpuBufferLayout", which is planned to
    replace VideoFrameLayout inside media/gpu/chromeos.
    
    Bug: 1004727
    Test: ninja media/gpu/chromeos:common
    
    Change-Id: Iaac1b1c76ac6b9dace7e4b790a9161de17e3342a
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1899228
    Commit-Queue: Chih-Yu Huang <akahuang@chromium.org>
    Reviewed-by: default avatarHirokazu Honda <hiroh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#715615}
    7c859919
gpu_buffer_layout.cc 2.23 KB