Faster HostConnection creation

- Implement queryGlString in a single guest->host call for most
  cases: preallocate large enough buffer instead of querying for
  its size.
- Don't copy std::string-s around when we only needs a cref

Change-Id: Iffc4e9e37a1f9010ab5dfd5a4c5528f783c41137
2 files changed
tree: e53725df6149168119e795fdb3d15c84b87f14cf
  1. host/
  2. shared/
  3. system/
  4. tests/
  5. Android.mk
  6. common.mk
  7. README