searching for reviewer(jhorak)
19188ca451132c3c547238c737a575f199b89a73: Bug 1593408 [Wayland] Position mozcontainer wayland subsurface at moz_container_move(), r=jhorak
Martin Stransky <stransky@redhat.com> - Fri, 08 Nov 2019 14:28:39 +0000 - rev 501301
Push 114168 by dluca@mozilla.com at Sun, 10 Nov 2019 03:08:55 +0000
Bug 1593408 [Wayland] Position mozcontainer wayland subsurface at moz_container_move(), r=jhorak WebRender does not call moz_container_get_wl_egl_window() before each frame so mozcontainer is not positioned properly here. As a fix position mozcontainer directly at moz_container_move() if there are resources for it. Also always call moz_container_get_wl_surface() at moz_container_get_wl_egl_window() to make sure an underlying mozcontainer surface is properly positioned. Differential Revision: https://phabricator.services.mozilla.com/D52362
b28d6808d75ffce303df5da11bda4f0599fa7a5b: Bug 1589642 - Use gfxPlatformGtk instead of GDK_IS_X11_DISPLAY(gdk_display_get_default() to check current dispay type, r=jhorak
Martin Stransky <stransky@redhat.com> - Thu, 07 Nov 2019 14:28:55 +0000 - rev 501094
Push 114168 by dluca@mozilla.com at Sun, 10 Nov 2019 03:08:55 +0000
Bug 1589642 - Use gfxPlatformGtk instead of GDK_IS_X11_DISPLAY(gdk_display_get_default() to check current dispay type, r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D49724
3734487ce1a341bd0b4786ca4854de276a2e8642: Bug 1594729 [Wayland] Mark mozcontainer as moved at moz_container_get_wl_surface(), r=jhorak
Martin Stransky <stransky@redhat.com> - Thu, 07 Nov 2019 15:41:24 +0000 - rev 501088
Push 114168 by dluca@mozilla.com at Sun, 10 Nov 2019 03:08:55 +0000
Bug 1594729 [Wayland] Mark mozcontainer as moved at moz_container_get_wl_surface(), r=jhorak Also rename surface_position_update to surface_position_needs_update to make it more clear. Differential Revision: https://phabricator.services.mozilla.com/D52171
e1e3835cafc71e3e8f5fa7aa92d099f736b03eeb: Bug 1589642 - Use gfxPlatformGtk instead of GDK_IS_X11_DISPLAY(gdk_display_get_default() to check current dispay type, r=jhorak
Martin Stransky <stransky@redhat.com> - Thu, 07 Nov 2019 12:30:00 +0000 - rev 501058
Push 114167 by csabou@mozilla.com at Fri, 08 Nov 2019 00:35:25 +0000
Bug 1589642 - Use gfxPlatformGtk instead of GDK_IS_X11_DISPLAY(gdk_display_get_default() to check current dispay type, r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D49724
dbf63ccdecb84b36d57946c72d2c0e30e85f5a8b: Bug 1594688 [Wayland] Don't use mUseDMABuf directly, query UseDMABufBackend() instead as mUseDMABuf is initialized there, r=jhorak
Martin Stransky <stransky@redhat.com> - Thu, 07 Nov 2019 12:15:44 +0000 - rev 501057
Push 114167 by csabou@mozilla.com at Fri, 08 Nov 2019 00:35:25 +0000
Bug 1594688 [Wayland] Don't use mUseDMABuf directly, query UseDMABufBackend() instead as mUseDMABuf is initialized there, r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D52142
8449073f048b84ec8b7e87c90119ee65d2268097: Bug 1594692 [Wayland] Keep texture for framebuffer object at dmabuf surface, r=jhorak
Martin Stransky <stransky@redhat.com> - Thu, 07 Nov 2019 12:29:56 +0000 - rev 501056
Push 114167 by csabou@mozilla.com at Fri, 08 Nov 2019 00:35:25 +0000
Bug 1594692 [Wayland] Keep texture for framebuffer object at dmabuf surface, r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D52143
f389488df7cc2bf33d7d44393f2d18a501aaef76: Bug 1592933 - [Wayland] Cache scale factor for toplevel windows, r=jhorak
Martin Stransky <stransky@redhat.com> - Wed, 06 Nov 2019 13:18:55 +0000 - rev 500855
Push 114166 by apavel@mozilla.com at Thu, 07 Nov 2019 10:04:01 +0000
Bug 1592933 - [Wayland] Cache scale factor for toplevel windows, r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D51253
8e5e0943edd0a514483ad61b06ff79fa4d5e6502: Bug 1592933 - [Wayland] Get scale factor from nsWindow::GdkScaleFactor() and set it when wl_surface/egl_window is used for rendering, r=jhorak
Martin Stransky <stransky@redhat.com> - Wed, 06 Nov 2019 13:18:43 +0000 - rev 500854
Push 114166 by apavel@mozilla.com at Thu, 07 Nov 2019 10:04:01 +0000
Bug 1592933 - [Wayland] Get scale factor from nsWindow::GdkScaleFactor() and set it when wl_surface/egl_window is used for rendering, r=jhorak Remove moz_container_get_scale() and use only nsWindow::GdkScaleFactor() to get scale factor for wl_surface and wl_egl_window. Always set the scale factor when wl_surface / wl_egl_window is queued for rendering. Differential Revision: https://phabricator.services.mozilla.com/D51252
83c16dc95d13206e996e8aa78f8a3d7c80cc3171: Bug 1583732 [Wayland] Use DMABUF for fullscreen updates only, r=jhorak
Martin Stransky <stransky@redhat.com> - Fri, 01 Nov 2019 21:11:06 +0000 - rev 500231
Push 114164 by aiakab@mozilla.com at Tue, 05 Nov 2019 10:06:15 +0000
Bug 1583732 [Wayland] Use DMABUF for fullscreen updates only, r=jhorak Add IsDMABufBuffer identification to WindowBackBuffer Use two sets of wayland buffers (shm and dmabuf) and use dmabuf for fullscreen updates only when dmabuf is enabled. Split GetWaylandBufferToDraw() to GetWaylandBufferRecent() and GetWaylandBufferWithSwitch() to better reflect actual function. Add CreateWaylandBuffer() to create and store Wayland buffer and use it at SetNewWaylandBuffer() to change an active wayland buffer or create a new one. When CACHE_MISSING image cache is selected we draw directly to wayland buffer if it's available and cache drawing when wayland buffer is missing only. That produces flickering when small buffer parts are sent to compositor early and the buffer is blocked for further rendering. This patch enables direct rendering of bigger screen parts only (like page scrolling) to eliminate small buffer updates. Differential Revision: https://phabricator.services.mozilla.com/D50055
5aac68cd0f8b87aa860ba101795d4c02aa075423: Bug 1592350 [Wayland] Call wl_surface_commit() on parent surface when subsurface position is updated, r=jhorak
Martin Stransky <stransky@redhat.com> - Thu, 31 Oct 2019 19:00:30 +0000 - rev 500116
Push 114164 by aiakab@mozilla.com at Tue, 05 Nov 2019 10:06:15 +0000
Bug 1592350 [Wayland] Call wl_surface_commit() on parent surface when subsurface position is updated, r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D51133
927679118b142b0bbb77a6795f55e98936d9a2b4: Bug 1583731 - [Wayland] Assert when EGLImage is already created at WaylandDMABufSurface::CreateEGLImage, r=jhorak
Martin Stransky <stransky@redhat.com> - Tue, 15 Oct 2019 10:46:08 +0000 - rev 498077
Push 114157 by nbeleuzu@mozilla.com at Mon, 21 Oct 2019 22:00:13 +0000
Bug 1583731 - [Wayland] Assert when EGLImage is already created at WaylandDMABufSurface::CreateEGLImage, r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D49263
bec939498aa91bc7b9d683926c3c2d269b1eecea: Bug 1588907 [Wayland] Remove misleading comment about DMA_BUF_IOCTL_SYNC, r=jhorak
Martin Stransky <stransky@redhat.com> - Thu, 17 Oct 2019 10:38:12 +0000 - rev 498024
Push 114157 by nbeleuzu@mozilla.com at Mon, 21 Oct 2019 22:00:13 +0000
Bug 1588907 [Wayland] Remove misleading comment about DMA_BUF_IOCTL_SYNC, r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D49390
5d44802ff723f175953c1d2f09874b64ffa560e6: Bug 1535230 - [Linux/Gtk] Add widget.content.gtk-theme-override pref key to simplify the theme override, r=jhorak
Martin Stransky <stransky@redhat.com> - Thu, 17 Oct 2019 09:35:32 +0000 - rev 498023
Push 114157 by nbeleuzu@mozilla.com at Mon, 21 Oct 2019 22:00:13 +0000
Bug 1535230 - [Linux/Gtk] Add widget.content.gtk-theme-override pref key to simplify the theme override, r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D49387
cb34ab7100d3ec381e59bddb5ccc78487e5827d3: Bug 1587008 - [Wayland] Get wl_egl_window size from compositor by nsWindow::SetEGLNativeWindowSize, r=jhorak
Martin Stransky <stransky@redhat.com> - Tue, 15 Oct 2019 19:25:47 +0000 - rev 497720
Push 114154 by btara@mozilla.com at Thu, 17 Oct 2019 09:58:40 +0000
Bug 1587008 - [Wayland] Get wl_egl_window size from compositor by nsWindow::SetEGLNativeWindowSize, r=jhorak We can't set wl_egl_window from widget code as it must match GL rendering pipeline, so let compositor to set the egl window size. Depends on D49136 Differential Revision: https://phabricator.services.mozilla.com/D49137
9e610c4628e11d5374d2adae34d26a028b30bae3: Bug 1587008 - [Wayland] Get wl_egl_window size from compositor by nsWindow::SetEGLNativeWindowSize, r=jhorak
Martin Stransky <stransky@redhat.com> - Tue, 15 Oct 2019 13:12:25 +0000 - rev 497676
Push 114154 by btara@mozilla.com at Thu, 17 Oct 2019 09:58:40 +0000
Bug 1587008 - [Wayland] Get wl_egl_window size from compositor by nsWindow::SetEGLNativeWindowSize, r=jhorak We can't set wl_egl_window from widget code as it must match GL rendering pipeline, so let compositor to set the egl window size. Depends on D49136 Differential Revision: https://phabricator.services.mozilla.com/D49137
ff51e132555bc3e96bae71c2c76f837fbb06e7e6: Bug 1588579 [Wayland] Use explicit names for surface release methods, r=jhorak
Martin Stransky <stransky@redhat.com> - Tue, 15 Oct 2019 08:24:17 +0000 - rev 497617
Push 114154 by btara@mozilla.com at Thu, 17 Oct 2019 09:58:40 +0000
Bug 1588579 [Wayland] Use explicit names for surface release methods, r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D49192
af88ecdadcd4acdf4f6a6967a3adaad571cc1f33: Bug 1588448 - [Wayland] Check mozcontainer wl_surface before we use it, r=jhorak
Martin Stransky <stransky@redhat.com> - Tue, 15 Oct 2019 08:28:56 +0000 - rev 497596
Push 114154 by btara@mozilla.com at Thu, 17 Oct 2019 09:58:40 +0000
Bug 1588448 - [Wayland] Check mozcontainer wl_surface before we use it, r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D49189
6170ba7fd7f9fb0ca2737b95384099f4ad832c06: Bug 1587731 - [Wayland] Don't throw missing GdkDisplay warning in headless mode r=jhorak
Martin Stransky <stransky@redhat.com> - Mon, 14 Oct 2019 13:37:44 +0000 - rev 497528
Push 114152 by dvarga@mozilla.com at Tue, 15 Oct 2019 11:14:34 +0000
Bug 1587731 - [Wayland] Don't throw missing GdkDisplay warning in headless mode r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D49155
3eb6d90af68dd5c702dca22239931195fdb28b58: Bug 1586187 - provide logging to nsLookAndFeel, r=jhorak
Martin Stransky <stransky@redhat.com> - Tue, 08 Oct 2019 08:53:40 +0000 - rev 496722
Push 114146 by dmajor@mozilla.com at Wed, 09 Oct 2019 17:52:49 +0000
Bug 1586187 - provide logging to nsLookAndFeel, r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D48149
7e191fa6dccf09da5f5ea71fdfb126982c198515: Bug 1586544 - [Wayland] Fix FBO creation check, r=jhorak
Martin Stransky <stransky@redhat.com> - Tue, 08 Oct 2019 07:59:11 +0000 - rev 496716
Push 114146 by dmajor@mozilla.com at Wed, 09 Oct 2019 17:52:49 +0000
Bug 1586544 - [Wayland] Fix FBO creation check, r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D48270
3ceccf43b6c82299c27c75070ea04d8b03d07b7c: Bug 1586993 - [Linux] Add logging to nsWindow::UpdateOpaqueRegion, r=jhorak
Martin Stransky <stransky@redhat.com> - Tue, 08 Oct 2019 07:56:49 +0000 - rev 496715
Push 114146 by dmajor@mozilla.com at Wed, 09 Oct 2019 17:52:49 +0000
Bug 1586993 - [Linux] Add logging to nsWindow::UpdateOpaqueRegion, r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D48480
3d0ff856543c67800892069f34a2f18c4e437a85: Bug 1584790 - [Linux] De-scale window size when calculating aspect ratio, r=jhorak
Martin Stransky <stransky@redhat.com> - Mon, 07 Oct 2019 10:55:01 +0000 - rev 496580
Push 114145 by apavel@mozilla.com at Tue, 08 Oct 2019 11:00:56 +0000
Bug 1584790 - [Linux] De-scale window size when calculating aspect ratio, r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D48311
8e8087547a22f8a3daf9f2d6f5fb7f3a9300cfd8: Bug 1578464 - [Wayland] Set opaque region for toplevel window, r=jhorak
Martin Stransky <stransky@redhat.com> - Wed, 02 Oct 2019 08:57:44 +0000 - rev 495997
Push 114140 by dvarga@mozilla.com at Wed, 02 Oct 2019 18:04:51 +0000
Bug 1578464 - [Wayland] Set opaque region for toplevel window, r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D47602
ca257801d86f5d4e9c1768722c7131216c07d38f: Bug 1536747 - [Linux] PictureInPicture window - open window manager menu on right mouse click, r=jhorak
Martin Stransky <stransky@redhat.com> - Fri, 27 Sep 2019 15:14:23 +0000 - rev 495499
Push 114134 by ccoroiu@mozilla.com at Mon, 30 Sep 2019 09:57:15 +0000
Bug 1536747 - [Linux] PictureInPicture window - open window manager menu on right mouse click, r=jhorak This patch depends on Bug 1584492. Differential Revision: https://phabricator.services.mozilla.com/D47424
8286374dbff379a172f77cd1ee0d997a2d1a4448: Bug 1583852 - [Linux] Disable round corners/alpha blending for PictureInPicture windows, r=jhorak
Martin Stransky <stransky@redhat.com> - Fri, 27 Sep 2019 15:13:52 +0000 - rev 495498
Push 114134 by ccoroiu@mozilla.com at Mon, 30 Sep 2019 09:57:15 +0000
Bug 1583852 - [Linux] Disable round corners/alpha blending for PictureInPicture windows, r=jhorak This bug depends on Bug 1584492. Differential Revision: https://phabricator.services.mozilla.com/D47415
061544db51260a60ad256877f91d3af0daeb3167: Bug 1584492 [Linux] Add mIsPIPWindow to nsWindow, r=jhorak
Martin Stransky <stransky@redhat.com> - Sat, 28 Sep 2019 06:55:54 +0000 - rev 495481
Push 114134 by ccoroiu@mozilla.com at Mon, 30 Sep 2019 09:57:15 +0000
Bug 1584492 [Linux] Add mIsPIPWindow to nsWindow, r=jhorak Depends on D47409 Differential Revision: https://phabricator.services.mozilla.com/D47410
b4231201173da059d0aabe593edea5d086f95101: Bug 1575136 - [Linux/Gtk] Set initial wm_role for windows, r=jhorak
Martin Stransky <stransky@redhat.com> - Thu, 26 Sep 2019 12:11:44 +0000 - rev 495180
Push 114133 by shindli@mozilla.com at Thu, 26 Sep 2019 21:40:49 +0000
Bug 1575136 - [Linux/Gtk] Set initial wm_role for windows, r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D47217
84c12d2187705dc205a8f87b710cb98f4173da03: Bug 1584139 [Linux/CSD] Add decoration size to nsWindow::LockAspectRatio() when CSD mode is used, r=jhorak
Martin Stransky <stransky@redhat.com> - Thu, 26 Sep 2019 12:03:32 +0000 - rev 495179
Push 114133 by shindli@mozilla.com at Thu, 26 Sep 2019 21:40:49 +0000
Bug 1584139 [Linux/CSD] Add decoration size to nsWindow::LockAspectRatio() when CSD mode is used, r=jhorak Depends on D47234 Differential Revision: https://phabricator.services.mozilla.com/D47235
d98bef0cf3afa863ad54c20de04109255b17bd31: Bug 1584139 - [Linux/Gtk] Provide logging to nsWindow::Resize(), nsWindow::SetWindowDecoration(), nsWindow::SetDrawsInTitlebar(), r=jhorak
Martin Stransky <stransky@redhat.com> - Thu, 26 Sep 2019 12:05:03 +0000 - rev 495178
Push 114133 by shindli@mozilla.com at Thu, 26 Sep 2019 21:40:49 +0000
Bug 1584139 - [Linux/Gtk] Provide logging to nsWindow::Resize(), nsWindow::SetWindowDecoration(), nsWindow::SetDrawsInTitlebar(), r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D47234
f9535580e67c5a1f5743cff4a82a11420780c1d5: Bug 1583737 - Implement nsWindow::LockAspectRatio() on Linux, r=jhorak
Martin Stransky <stransky@redhat.com> - Thu, 26 Sep 2019 07:57:57 +0000 - rev 495137
Push 114133 by shindli@mozilla.com at Thu, 26 Sep 2019 21:40:49 +0000
Bug 1583737 - Implement nsWindow::LockAspectRatio() on Linux, r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D47046
4d8d86320f07f7b8e29a6f97e9e1ba5939d6ddca: Bug 1582405 - [Wayland] Assert only when we want to commit attached buffer, r=jhorak
Martin Stransky <stransky@redhat.com> - Thu, 26 Sep 2019 07:58:26 +0000 - rev 495136
Push 114133 by shindli@mozilla.com at Thu, 26 Sep 2019 21:40:49 +0000
Bug 1582405 - [Wayland] Assert only when we want to commit attached buffer, r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D46908
935af7c7e287ab42828cc122fe6f166c2647133a: Bug 1578380 - [Wayland] Use WaylandDMABufSurface as ref-counted and store GLContext, r=jhorak
Martin Stransky <stransky@redhat.com> - Tue, 24 Sep 2019 11:30:16 +0000 - rev 494673
Push 114125 by cbrindusan@mozilla.com at Tue, 24 Sep 2019 16:12:51 +0000
Bug 1578380 - [Wayland] Use WaylandDMABufSurface as ref-counted and store GLContext, r=jhorak Depends on D46841 Differential Revision: https://phabricator.services.mozilla.com/D46842
3fdbc241d63a939151f1803ead2672facc954842: Bug 1578380 - [Wayland] Use WaylandDMABufSurface as ref-counted and store GLContext, r=jhorak
Martin Stransky <stransky@redhat.com> - Tue, 24 Sep 2019 09:39:29 +0000 - rev 494654
Push 114125 by cbrindusan@mozilla.com at Tue, 24 Sep 2019 16:12:51 +0000
Bug 1578380 - [Wayland] Use WaylandDMABufSurface as ref-counted and store GLContext, r=jhorak Depends on D46841 Differential Revision: https://phabricator.services.mozilla.com/D46842
de8dc8975032ffc0fc7a9823c10e2ef124fa1abd: Bug 1578464 - [Wayland] Set opaque region to wl_surface of toplevel window, r=jhorak
Martin Stransky <stransky@redhat.com> - Fri, 20 Sep 2019 12:58:03 +0000 - rev 494297
Push 114114 by dluca@mozilla.com at Fri, 20 Sep 2019 22:00:08 +0000
Bug 1578464 - [Wayland] Set opaque region to wl_surface of toplevel window, r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D46280
5cdf88776cc0b5b8184801bf3ae9d9ff193b6e66: Bug 1582714 - Remove #undef LOG from nsClipboard.h, r=jhorak
Martin Stransky <stransky@redhat.com> - Fri, 20 Sep 2019 12:56:13 +0000 - rev 494296
Push 114114 by dluca@mozilla.com at Fri, 20 Sep 2019 22:00:08 +0000
Bug 1582714 - Remove #undef LOG from nsClipboard.h, r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D46589
15ce070b81cc1c62712b5aa0377644841e23b99a: Bug 1581638 - Provide logging to Linux/Gtk clipboard code, r=jhorak
Martin Stransky <stransky@redhat.com> - Thu, 19 Sep 2019 07:24:41 +0000 - rev 494086
Push 114105 by malexandru@mozilla.com at Fri, 20 Sep 2019 04:04:33 +0000
Bug 1581638 - Provide logging to Linux/Gtk clipboard code, r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D46266
9f8b2c9c8bef413ddeb65c6e9d40f0ccacd6be15: Bug 1581748 - [Wayland] Fixed rendering of overlapping areas, r=jhorak
Martin Stransky <stransky@redhat.com> - Tue, 17 Sep 2019 13:26:36 +0000 - rev 493573
Push 114097 by malexandru@mozilla.com at Wed, 18 Sep 2019 10:10:26 +0000
Bug 1581748 - [Wayland] Fixed rendering of overlapping areas, r=jhorak - Don't store whole buffer update information at mWholeWindowBufferDamage but use damage region instead. - Check and remove overlapped images when they are stored at image cache. - Remove CanDrawToWaylandBufferDirectly() as it's not very useful. This commit depends on Bug 1580152 which needs to land first. Differential Revision: https://phabricator.services.mozilla.com/D46140
404cd5ce80545eb50cc1a65c28852a4069d83ba3: Bug 1580152 - [Wayland] Fix rendering glitches on wayland , r=jhorak
Martin Stransky <stransky@redhat.com> - Tue, 17 Sep 2019 12:34:28 +0000 - rev 493571
Push 114097 by malexandru@mozilla.com at Wed, 18 Sep 2019 10:10:26 +0000
Bug 1580152 - [Wayland] Fix rendering glitches on wayland , r=jhorak - Recently we're missing some drawings as we disabled flushing cached images in frame callback. Let's enable it again and make sure we don't flush the drawings between Lock()/Commit() compositor calls which is controlled by mBufferCommitAllowed. - When we draw directly to wl_buffer, flush all cached drawings we have or clear them if there's fullscreen update. It prevents potential rendering of cached images over unrelevant buffer content. - Flush cached images when wl_buffer is detached by wayland compositor. It allows to paint delayed drawings and ensures they won't stay in the queue infinitely. - Use mBufferPendingCommit to indicate that the WaylandBuffer contains updates from gecko which has not been submitted to wayland compositor yet. Allows delated commit handlers (frame callback, delayed commit and when wl_buffer is detached) to send WaylandBuffer content to wayland compositor. - Record time of last finished commit to mLastCommitTime and throws warning when wayland compositor does not release wl_buffer in 200ms. - Use wl_display_sync() to synchronize wl_display events. Wait for events from wl_display until all pending events are processed before we start drawing at WindowSurfaceWayland::Lock(). There may wl_buffer release event waiting which releases wl_buffer for rendering. - Don't use XMost()/YMost() to get drawing area size. - Remove mDisplayThreadMessageLoop as it's no longer used. Differential Revision: https://phabricator.services.mozilla.com/D45661
c31093a3a7576d89184d1a5549d0764ce62618c1: Bug 1579849 - [Wayland] Optimize cached rendering to wl_buffer for widget.wayland_cache_mode=1, r=jhorak
Martin Stransky <stransky@redhat.com> - Wed, 11 Sep 2019 15:32:48 +0000 - rev 492713
Push 114070 by cbrindusan@mozilla.com at Wed, 11 Sep 2019 21:55:52 +0000
Bug 1579849 - [Wayland] Optimize cached rendering to wl_buffer for widget.wayland_cache_mode=1, r=jhorak - When widget.wayland_cache_mode=1 use direct rendering to wl_buffer only when there isn't any cached rendering pending and we're updating one big piece of screen (video playback/scrolling etc..) - Disable frame callback commits between WindowSurfaceWayland::Lock and WindowSurfaceWayland::Commit as the buffer can be updated by gecko compositor Differential Revision: https://phabricator.services.mozilla.com/D45184
9e7b7e9c3d61eee4ae2e391589e879fa0fdf9bec: Bug 1579823 - [Wayland] remove __PRETTY_FUNCTION__ from wayland logs as it produces too long function names, r=jhorak
Martin Stransky <stransky@redhat.com> - Mon, 09 Sep 2019 12:42:30 +0000 - rev 492508
Push 114064 by opoprus@mozilla.com at Tue, 10 Sep 2019 21:46:41 +0000
Bug 1579823 - [Wayland] remove __PRETTY_FUNCTION__ from wayland logs as it produces too long function names, r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D45173
c5836cbc0b3e4b50de759928f10ead6ae0a0ae3f: Bug 1579794 - [Wayland] Explicitly enable/disable direct rendering to wl_buffer, r=jhorak
Martin Stransky <stransky@redhat.com> - Mon, 09 Sep 2019 13:04:26 +0000 - rev 492502
Push 114064 by opoprus@mozilla.com at Tue, 10 Sep 2019 21:46:41 +0000
Bug 1579794 - [Wayland] Explicitly enable/disable direct rendering to wl_buffer, r=jhorak Recently direct wl_buffer rendering is kept enabled until we have wl_buffer available which produces rendering artifacts when screen damage rects overlaps. Let's enable/disable it explicitly at every rendering cycle start to avoid screen flickering. Depends on D45166 Differential Revision: https://phabricator.services.mozilla.com/D45167
4ac77b1b0aa896cd3a72c8fa5859f5c355960fe8: Bug 1579794 - [Wayland] Use wl_surface_damage_buffer() and require wl_compositor v.4, r=jhorak
Martin Stransky <stransky@redhat.com> - Tue, 10 Sep 2019 07:58:56 +0000 - rev 492501
Push 114064 by opoprus@mozilla.com at Tue, 10 Sep 2019 21:46:41 +0000
Bug 1579794 - [Wayland] Use wl_surface_damage_buffer() and require wl_compositor v.4, r=jhorak Use wl_surface_damage_buffer() to propagate wl_buffer damage to avoid rounding errors and rendering artifacts for HiDPI wl_buffers. Depends on D45165 Differential Revision: https://phabricator.services.mozilla.com/D45166
445defbb3ebbf30b00327ffe753e21d7ecdab747: Bug 1579794 - [Wayland] Copy pixel data for cached images, r=jhorak
Martin Stransky <stransky@redhat.com> - Tue, 10 Sep 2019 08:09:57 +0000 - rev 492500
Push 114064 by opoprus@mozilla.com at Tue, 10 Sep 2019 21:46:41 +0000
Bug 1579794 - [Wayland] Copy pixel data for cached images, r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D45165
09a79eed1fbcd184af65592aeea2fe4604957cbe: Bug 1576904 [Wayland] Add WaylandDMABufSurface GL binding ability, r=jhorak
Martin Stransky <stransky@redhat.com> - Tue, 03 Sep 2019 09:41:32 +0000 - rev 491417
Push 114024 by aiakab@mozilla.com at Tue, 03 Sep 2019 22:03:37 +0000
Bug 1576904 [Wayland] Add WaylandDMABufSurface GL binding ability, r=jhorak - Allow to create WaylandDMABufSurface with wl_buffer or EGLImage on top of it - Disable dmabuf modifiers as they slow down the data upload - Add ability to export/import WaylandDMABufSurface via. file descriptors Differential Revision: https://phabricator.services.mozilla.com/D43609
893a4487b58644284f8eace41f7604d370eacc93: Bug 1577024 - [Wayland] Enable experimental wayland backend modes by widget.wayland_cache_mode pref, r=jhorak
Martin Stransky <stransky@redhat.com> - Sat, 31 Aug 2019 00:19:03 +0300 - rev 490922
Push 114008 by malexandru@mozilla.com at Sat, 31 Aug 2019 00:18:36 +0000
Bug 1577024 - [Wayland] Enable experimental wayland backend modes by widget.wayland_cache_mode pref, r=jhorak Image cache mode can be set by widget.wayland_cache_mode. - widget.wayland_cache_mode = 0 (or missing): Cache and clip all drawings, default. It's slowest but also without any rendered artifacts. - widget.wayland_cache_mode = 1: Cache drawing only when back buffer is missing. May produce some rendering artifacts and flickering when partial screen update is rendered. - widget.wayland_cache_mode = 2: Don't cache anything, draw only when back buffer is available. Suitable for fullscreen content only like fullscreen video playback and may work well with dmabuf backend. Differential Revision: https://phabricator.services.mozilla.com/D43681
c933104a7470cd417801700110c6b7aa22a7080f: Bug 1576898 - [Wayland] Implement gbm_bo_import & gbm_device_is_format_supported at nsGbmLib, r=jhorak
Martin Stransky <stransky@redhat.com> - Wed, 28 Aug 2019 10:38:11 +0000 - rev 490382
Push 113993 by ccoroiu@mozilla.com at Wed, 28 Aug 2019 21:49:44 +0000
Bug 1576898 - [Wayland] Implement gbm_bo_import & gbm_device_is_format_supported at nsGbmLib, r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D43603
e351a8f6c71ed81628843795972db48e16118b17: Bug 1574036 - [Wayland] Fix flickering during window resize, r=jhorak
Martin Stransky <stransky@redhat.com> - Tue, 27 Aug 2019 12:33:25 +0000 - rev 490236
Push 113985 by shindli@mozilla.com at Wed, 28 Aug 2019 01:00:32 +0000
Bug 1574036 - [Wayland] Fix flickering during window resize, r=jhorak Recently window resize on Wayland produces flickering/rendering artifacts because window background is randomly cleared due to actual window size changes. We recently query widget size and do clear/fullscreen update when the size changes. To avoid that, get widget size once at WindowSurfaceWayland::Lock() and use it until next WindowSurfaceWayland::Lock(). Also don't to switch wayland back buffers until there's really fullscreen update from compositor. This patch: - Use mLockedScreenRect to store window size at WindowSurfaceWayland::Lock(). It's used to detect widget resize, when it happens throw away all cached painting and wait for full screen update. - Use mBufferScreenRect to store size of wayland back buffer and pass it instead of actual widget size we used before this patch. This ensures all our drawing matches the buffer size. - Rename aFullScreenUpdate to aCanSwitchBuffer at LockWaylandBuffer() to stress actual meaning - we can/can't switch back buffers for partial drawing and we need to wait until recent back buffer is released by compositor. Differential Revision: https://phabricator.services.mozilla.com/D43263
fe6f7a136d065df59f4037f22f662efe249f87ce: Bug 1576268 - [Wayland] Use MOVE as a default Drag and Drop action to match X11 behavior, r=jhorak
Martin Stransky <stransky@redhat.com> - Tue, 27 Aug 2019 12:12:14 +0000 - rev 490220
Push 113985 by shindli@mozilla.com at Wed, 28 Aug 2019 01:00:32 +0000
Bug 1576268 - [Wayland] Use MOVE as a default Drag and Drop action to match X11 behavior, r=jhorak Differential Revision: https://phabricator.services.mozilla.com/D43578
a7980614bc3c528727f1b55e111654e708f1c3df: Bug 1567434 - [Wayland] Use dynamic popup hierarchy for tooltips/context menu only, r=jhorak
Martin Stransky <stransky@redhat.com> - Mon, 05 Aug 2019 10:37:34 +0000 - rev 486380
Push 113838 by rgurzau@mozilla.com at Mon, 05 Aug 2019 22:08:47 +0000
Bug 1567434 - [Wayland] Use dynamic popup hierarchy for tooltips/context menu only, r=jhorak If the popup is a regular menu but GetParentMenuWidget() returns nullptr, it's connected non-menu parent (bookmark toolbar for instance). In this case use a parent given at nsWindow::Create() and don't attach it to latest active popup as it has a real parent. Depends on D39347 Differential Revision: https://phabricator.services.mozilla.com/D39348
265d8c12af11e4a37633d5b86b30a8b5f3fe6f5d: Bug 1567434 - [Wayland] Don't use gtk_window_get_transient_for() to get parent toplevel window, r=jhorak
Martin Stransky <stransky@redhat.com> - Mon, 05 Aug 2019 10:37:21 +0000 - rev 486379
Push 113838 by rgurzau@mozilla.com at Mon, 05 Aug 2019 22:08:47 +0000
Bug 1567434 - [Wayland] Don't use gtk_window_get_transient_for() to get parent toplevel window, r=jhorak - gtk_window_get_transient_for() fails to return correct toplevel window as the toplevel window changes when popup is moved in popup hierarchy. So store the toplevel given at nsWindow::Create() and use it instead. - Remove some redundat NS_WARNING() from wayland code - Attach "moved-to-rect" signal handler to GdkWindow only once a update NativeMoveResizeWaylandPopupCallback() loging. - Add more logging to Wayland popup related code. Differential Revision: https://phabricator.services.mozilla.com/D39347