D27980: make opengl module support multiple dri devices

Harald Sitter noreply at phabricator.kde.org
Fri Apr 3 12:40:31 BST 2020


sitter updated this revision to Diff 79208.
sitter added a comment.


  - do however init the stat struct, its members are not initialized otherwise
  - streamline get_dri_device return
  - do not init l3 to nullptr inside the info loop. l3 is the entry for the infos, so simply leave it as-is (nullptr initially, preceding entry after that)
  - also sort infos by their device id. it'd be weird to have a list of card2 then 1 then 0

REPOSITORY
  R102 KInfoCenter

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D27980?vs=78003&id=79208

BRANCH
  multidri

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

AFFECTED FILES
  Modules/opengl/opengl.cpp

To: sitter
Cc: pino, zzag, apol, adridg, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200403/e4d30840/attachment.html>


More information about the Plasma-devel mailing list