WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
186840
[GTK][ThreadedRendering][Nicosia] Themed elements cannot be rendered using threaded rendering
https://bugs.webkit.org/show_bug.cgi?id=186840
Summary
[GTK][ThreadedRendering][Nicosia] Themed elements cannot be rendered using th...
Miguel Gomez
Reported
2018-06-20 02:00:58 PDT
Scrollbars in wkgtk are rendered by the gtk theme using cairo directly. In order to do this, the cairo cr of the current GraphicsContext is gotten through the PlatformContext. But when using threaded rendering, the GraphicsContext used for recording the commands doesn't have a PlatformContext, so when trying to draw the scrollbars there's a crash.
Attachments
Patch
(2.09 KB, patch)
2018-06-20 02:03 PDT
,
Miguel Gomez
no flags
Details
Formatted Diff
Diff
Patch
(1.51 KB, patch)
2018-06-20 03:14 PDT
,
Miguel Gomez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Miguel Gomez
Comment 1
2018-06-20 02:03:01 PDT
Created
attachment 343143
[details]
Patch
Carlos Garcia Campos
Comment 2
2018-06-20 02:11:10 PDT
Comment on
attachment 343143
[details]
Patch Does this mean scrollbars will not be rendered at all when using the threaded painting? What about other places where graphicsContext.platformContext()->cr() is used, like RenderThemeGtk?
Miguel Gomez
Comment 3
2018-06-20 02:16:26 PDT
(In reply to Carlos Garcia Campos from
comment #2
)
> Comment on
attachment 343143
[details]
> Patch > > Does this mean scrollbars will not be rendered at all when using the > threaded painting? What about other places where > graphicsContext.platformContext()->cr() is used, like RenderThemeGtk?
I was just doing more testing and I realized that,as you say, not only the scrollbars but everything that's rendered by the theme has the same problem. This is a wrong fix then. We need to be able to exclude layers with themed elements from the threaded rendering or completely disable threaded rendering in wkgtk.
Miguel Gomez
Comment 4
2018-06-20 03:08:07 PDT
As theme integration is not a priority at this point, and we need to finish the threaded rendering path in wpe, we are going to keep it disabled on wkgtk for the moment.
Miguel Gomez
Comment 5
2018-06-20 03:14:56 PDT
Created
attachment 343146
[details]
Patch
WebKit Commit Bot
Comment 6
2018-06-20 04:06:03 PDT
Comment on
attachment 343146
[details]
Patch Clearing flags on attachment: 343146 Committed
r233009
: <
https://trac.webkit.org/changeset/233009
>
WebKit Commit Bot
Comment 7
2018-06-20 04:06:05 PDT
All reviewed patches have been landed. Closing bug.
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