WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
146827
[GTK] Accelerated compositing is enabled by MiniBrowser in Wayland
https://bugs.webkit.org/show_bug.cgi?id=146827
Summary
[GTK] Accelerated compositing is enabled by MiniBrowser in Wayland
ChangSeok Oh
Reported
2015-07-10 01:18:46 PDT
SSIA
Attachments
Patch
(2.17 KB, patch)
2015-07-10 01:33 PDT
,
ChangSeok Oh
no flags
Details
Formatted Diff
Diff
Patch
(3.42 KB, patch)
2015-07-13 01:54 PDT
,
ChangSeok Oh
no flags
Details
Formatted Diff
Diff
Patch
(3.45 KB, patch)
2015-07-13 02:04 PDT
,
ChangSeok Oh
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
ChangSeok Oh
Comment 1
2015-07-10 01:33:05 PDT
Created
attachment 256569
[details]
Patch
Carlos Garcia Campos
Comment 2
2015-07-10 03:01:06 PDT
Comment on
attachment 256569
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=256569&action=review
> Source/WebKit2/UIProcess/gtk/WebPreferencesGtk.cpp:46 > +#if PLATFORM(WAYLAND) > + // FIXME: Accelerated compositing under Wayland is not yet supported. > + //
https://bugs.webkit.org/show_bug.cgi?id=115803
> + GdkDisplay* display = gdk_display_manager_get_default_display(gdk_display_manager_get()); > + if (GDK_IS_WAYLAND_DISPLAY(display)) > + setAcceleratedCompositingEnabled(false); > +#endif
I think this could be simplified using PlatformDisplay::sharedDisplay().type() == PlatformDisplay::Type::Wayland. So, can we move this here instead of duplicating it? or do we really need it in both places?
ChangSeok Oh
Comment 3
2015-07-13 01:54:28 PDT
Created
attachment 256691
[details]
Patch
WebKit Commit Bot
Comment 4
2015-07-13 01:57:20 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See
http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
ChangSeok Oh
Comment 5
2015-07-13 01:58:39 PDT
Comment on
attachment 256569
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=256569&action=review
>> Source/WebKit2/UIProcess/gtk/WebPreferencesGtk.cpp:46 >> +#endif > > I think this could be simplified using PlatformDisplay::sharedDisplay().type() == PlatformDisplay::Type::Wayland. So, can we move this here instead of duplicating it? or do we really need it in both places?
Oh. You're right. I saw this bug in webkitgtk.2.8.3 so I didn't know the PlatformDisplay. I think moving the disabling code here is enough. =)
ChangSeok Oh
Comment 6
2015-07-13 02:04:01 PDT
Created
attachment 256692
[details]
Patch
WebKit Commit Bot
Comment 7
2015-07-15 06:35:32 PDT
Comment on
attachment 256692
[details]
Patch Clearing flags on attachment: 256692 Committed
r186835
: <
http://trac.webkit.org/changeset/186835
>
WebKit Commit Bot
Comment 8
2015-07-15 06:35:35 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