WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
240637
[Linux] GBMBufferSwapchain should only conditionally create linear-formatted buffer objects
https://bugs.webkit.org/show_bug.cgi?id=240637
Summary
[Linux] GBMBufferSwapchain should only conditionally create linear-formatted ...
Zan Dobersek
Reported
2022-05-19 02:53:19 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Zan Dobersek
Comment 1
2022-05-25 07:23:34 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/1008
EWS
Comment 2
2022-05-25 10:23:50 PDT
Committed
r294803
(
250959@main
): <
https://commits.webkit.org/250959@main
> Reviewed commits have been landed. Closing PR #1008 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2022-05-25 10:24:16 PDT
<
rdar://problem/93911506
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug