OSDN Git Service

Add service "gpu" in the SurfaceFlinger process
authorJesse Hall <jessehall@google.com>
Sun, 27 Mar 2016 05:20:22 +0000 (22:20 -0700)
committerJesse Hall <jessehall@google.com>
Fri, 1 Apr 2016 02:30:57 +0000 (19:30 -0700)
commitfc038bd8fc77998a436d43027919f4500c4291e6
tree69801895b3daab56fe0ff05e10eb835112558ae5
parent69a1a389321447301a8eaba235190dc1229aefbd
Add service "gpu" in the SurfaceFlinger process

This service will handle shell commands for querying information about
the graphics hardware and driver. It currently does nothing.

Most shell command services are provided by ActivityManagerService. I
didn't want to put this there, because I'd rather not load graphics
drivers in the system_service process (robustness, security, etc.).
SurfaceFlinger is going to have them anyway, and is the only other
global always-running process that makes sense for this.

Change-Id: I27e451ea62b71aed01c6ececefd76d6707912eed
services/surfaceflinger/Android.mk
services/surfaceflinger/GpuService.cpp [new file with mode: 0644]
services/surfaceflinger/GpuService.h [new file with mode: 0644]
services/surfaceflinger/main_surfaceflinger.cpp