[Differential] [Commented On] D3495: Scale QPainter x11 windowed backend

graesslin (Martin Gräßlin) noreply at phabricator.kde.org
Tue Dec 20 17:40:20 UTC 2016


graesslin added inline comments.

INLINE COMMENTS

> davidedmundson wrote in scene_qpainter_test.cpp:202-203
> It creates a surface on line 200.
> 
> What's the difference between a top level mapped surface and a window?

A surface is something you can attach a buffer to. It's not a window but a wrapper for anything which might need a buffer. E.g. a cursor image. That's what you use in this test.

You can create a window from a surface by creating a wl_shell or xgd_shell surface (note it's also called a surface) from it. This will on KWin side then create a ShellClient which represents a window. And I think that's what you want to test as that's what needs to be scaled.

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D3495

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: davidedmundson, graesslin, #plasma
Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161220/91efb277/attachment.html>


More information about the Plasma-devel mailing list