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

Reply via email to