Use GPU Host or Snapshot?

0 Will Moffat · January 13, 2015
Hey.

I'm just starting to follow Bucky's Android tutorials, and was wondering which you prefer: "Use GPU Host" or "Snapshot"? GPU host makes it faster when it has booted, but snapshot makes it faster to boot. So, which do you use? Also, does anyone know you can't have both enabled simultaneously?

-Will

Post a Reply

Replies

Oldest  Newest  Rating
0 radhesh r · January 14, 2015
The Snapshot option speeds up the boot of the emulator by saving a snapshot of its RAM once it has booted, and restoring from that snapshot on future uses. That way, it doesn't have to run the boot process (which is slow, because it's emulated) every time you start the emulator.
The Use Host GPU option uses the host computer's OpenGL implementation (which is probably hardware-accelerated, on your real GPU) to evaluate OpenGL commands inside the emulated system. Put another way, when a program inside the emulator uses OpenGL for graphics operations, the work goes out to your real GPU, and the result goes back into the emulator, instead of emulating a GPU (which is very slow). The result is a significant speed-up, especially when you consider that most view and canvas drawing uses OpenGL in Android ? 4, even in non-graphics apps.
You can't have both options turned on at once.
  • 1

Java / Android Development

107,140 followers
About

Very popular language used to create desktop applications, website applets, and Android apps.

Links
Moderators
Bucky Roberts Administrator