[Webkit-unassigned] [Bug 240637] New: [Linux] GBMBufferSwapchain should only conditionally create linear-formatted buffer objects

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 19 02:53:19 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=240637

            Bug ID: 240637
           Summary: [Linux] GBMBufferSwapchain should only conditionally
                    create linear-formatted buffer objects
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zan at falconsigh.net
            Blocks: 237649

Right now, every gbm_bo object created in GBMBufferSwapchain is created in linear format. This shouldn't be the case, giving the graphics driver chance to choose the best possible attributes for the buffer object (e.g. most optimal tiling approach).

Currently, linearity is required only in media playback, when falling back onto software decoder, results of which are then copied into the spawned gbm_bo object. In most other cases avoiding linearity might be beneficial, so it should be done.

This will most likely be solved by passing the GBMBufferSwapchain constructor or getBuffer() call some specific flags requesting a linear buffer.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=237649
[Bug 237649] [Meta][Linux] Adoption of DMABuf as a reference buffer sharing mechanism
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220519/141373bb/attachment-0001.htm>


More information about the webkit-unassigned mailing list