qtd3dservice: Support Appx device monitoring
authorAndrew Knight <andrew.knight@digia.com>
Thu, 6 Mar 2014 15:06:54 +0000 (17:06 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 7 Mar 2014 07:44:53 +0000 (08:44 +0100)
commitded1b5c10db7e2b7ce6a8a88c6d1ae7641888abc
tree21277f79c3b14dca523497dd217161536dcae8cb
parent68645bc67debd3729f9dbf8b1c7708e333ddceb6
qtd3dservice: Support Appx device monitoring

Like Xap monitoring, local appx packages can be automatically monitored.
This is accomplished without polling by:
 - Waiting for changes in the package registry
 - Checking the list of developer apps from the Appx manager
 - Waiting for changes in the application's shader directory

Without polling, the service has 0% CPU utilization when idle, regardless
of the number of Appx packages monitored. This is compared to Xap devices,
which may incur several fractions of a percent of CPU time during
package polling.

Change-Id: I3b0fc6fc7a8beee854c2511295b6d33b102eee88
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
src/qtd3dservice/appxhandler.cpp
src/qtd3dservice/d3dservice.cpp